diff options
| -rw-r--r-- | arch/x86/include/asm/setup.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/include/asm/setup.h b/arch/x86/include/asm/setup.h index ef292c792d74..d6763b139a84 100644 --- a/arch/x86/include/asm/setup.h +++ b/arch/x86/include/asm/setup.h | |||
| @@ -93,6 +93,11 @@ void *extend_brk(size_t size, size_t align); | |||
| 93 | : : "i" (sz)); \ | 93 | : : "i" (sz)); \ |
| 94 | } | 94 | } |
| 95 | 95 | ||
| 96 | /* Helper for reserving space for arrays of things */ | ||
| 97 | #define RESERVE_BRK_ARRAY(type, name, entries) \ | ||
| 98 | type *name; \ | ||
| 99 | RESERVE_BRK(name, sizeof(type) * entries) | ||
| 100 | |||
| 96 | #ifdef __i386__ | 101 | #ifdef __i386__ |
| 97 | 102 | ||
| 98 | void __init i386_start_kernel(void); | 103 | void __init i386_start_kernel(void); |
