diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2021-12-20 14:53:44 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2021-12-20 14:53:44 +0200 |
| commit | 6f8e5772d17d277842be3f6162ddd665a17e5be9 (patch) | |
| tree | 45f5a2b9df6b6c2f3c369cf5b7e5b46c9acbccdd /include/apos/attrs.h | |
| parent | 6b2465318b2dc922de282deea96c1621f7f41039 (diff) | |
| download | kmi-6f8e5772d17d277842be3f6162ddd665a17e5be9.tar.gz kmi-6f8e5772d17d277842be3f6162ddd665a17e5be9.zip | |
More sensible init
+ Who knew some reservations were a good thing? (at least relativelyy
speaking)
Diffstat (limited to 'include/apos/attrs.h')
| -rw-r--r-- | include/apos/attrs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/apos/attrs.h b/include/apos/attrs.h index 469b7bd..64ec27d 100644 --- a/include/apos/attrs.h +++ b/include/apos/attrs.h @@ -8,5 +8,6 @@ #define __weak __attribute__((weak)) #define __main __section(".kernel.start") __noinline +#define __init __section(".init.start") __noinline #endif /* APOS_COMPILER_ATTRIBUTES_H */ |
