]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/boot/boot.h
Merge branch 'x86/apic' into cpus4096
[linux-2.6-omap-h63xx.git] / arch / x86 / boot / boot.h
index 616b804a229520d21f2a9022b5abdf088876bcd1..cc0ef13fba7a60c4c20943589efecc7108661112 100644 (file)
@@ -30,6 +30,8 @@
 /* Useful macros */
 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
 
+#define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x)))
+
 extern struct setup_header hdr;
 extern struct boot_params boot_params;