diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-18 15:10:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-18 15:10:14 -0400 |
commit | a7f5aaf36ded825477c4d7167cc6eb1bcdc63191 (patch) | |
tree | 27701b57c086ef09e05234a73f487e34577f6f9a /arch/x86/boot/boot.h | |
parent | bba595255fa70af175f6ce4dc0cb3e7cf91f53d7 (diff) | |
parent | 1b72691ce35812ff865d778f303779e774d2b098 (diff) |
Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
x86: fix build warnings in real mode code
x86, calgary: fix section mismatch warning - get_tce_space_from_tar
x86: silence section mismatch warning - get_local_pda
x86, percpu: silence section mismatch warnings related to EARLY_PER_CPU variables
x86: fix i486 suspend to disk CR4 oops
x86: mpparse.c: fix section mismatch warning
x86: mmconf: fix section mismatch warning
x86: fix MP_processor_info section mismatch warning
x86, tsc: fix section mismatch warning
x86: correct register constraints for 64-bit atomic operations
Diffstat (limited to 'arch/x86/boot/boot.h')
-rw-r--r-- | arch/x86/boot/boot.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/boot/boot.h b/arch/x86/boot/boot.h index 616b804a2295..cc0ef13fba7a 100644 --- a/arch/x86/boot/boot.h +++ b/arch/x86/boot/boot.h | |||
@@ -30,6 +30,8 @@ | |||
30 | /* Useful macros */ | 30 | /* Useful macros */ |
31 | #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) | 31 | #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) |
32 | 32 | ||
33 | #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x))) | ||
34 | |||
33 | extern struct setup_header hdr; | 35 | extern struct setup_header hdr; |
34 | extern struct boot_params boot_params; | 36 | extern struct boot_params boot_params; |
35 | 37 | ||