]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-x86/page_32.h
hwmon: (dme1737) Convert to a new-style i2c driver
[linux-2.6-omap-h63xx.git] / include / asm-x86 / page_32.h
index 9c5a737a9af9878ee128d15a90505afd6f733737..e8d80d1de237bd502ce1412862f71d17bb201d90 100644 (file)
 #endif
 #define THREAD_SIZE    (PAGE_SIZE << THREAD_ORDER)
 
+#define STACKFAULT_STACK 0
+#define DOUBLEFAULT_STACK 1
+#define NMI_STACK 0
+#define DEBUG_STACK 0
+#define MCE_STACK 0
+#define N_EXCEPTION_STACKS 1
 
 #ifdef CONFIG_X86_PAE
 /* 44=32+12, the limit we can fit into an unsigned long pfn */
@@ -73,11 +79,11 @@ typedef struct page *pgtable_t;
 #endif
 
 #ifndef __ASSEMBLY__
-#define __phys_addr_const(x)   ((x) - PAGE_OFFSET)
+#define __phys_addr_nodebug(x) ((x) - PAGE_OFFSET)
 #ifdef CONFIG_DEBUG_VIRTUAL
 extern unsigned long __phys_addr(unsigned long);
 #else
-#define __phys_addr(x)         ((x) - PAGE_OFFSET)
+#define __phys_addr(x)         __phys_addr_nodebug(x)
 #endif
 #define __phys_reloc_hide(x)   RELOC_HIDE((x), 0)