]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/x86/include/asm/processor.h
x86: Put global data on the stack
[karo-tx-uboot.git] / arch / x86 / include / asm / processor.h
index 6eb518063bd8ec031706f778c83710004952cfb8..17f27cbb68468c31079433dc7cadc1df8b894458 100644 (file)
@@ -41,6 +41,7 @@ enum {
 #else
 /* NOTE: If the above enum is modified, this define must be checked */
 #define X86_GDT_ENTRY_32BIT_DS 3
+#define X86_GDT_NUM_ENTRIES    7
 #endif
 
 #define X86_GDT_SIZE           (X86_GDT_NUM_ENTRIES * X86_GDT_ENTRY_SIZE)