]> 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 72f7305682c652d7ef2198b35e732d58544e808b..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,7 +79,12 @@ typedef struct page *pgtable_t;
 #endif
 
 #ifndef __ASSEMBLY__
-#define __phys_addr(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)         __phys_addr_nodebug(x)
+#endif
 #define __phys_reloc_hide(x)   RELOC_HIDE((x), 0)
 
 #ifdef CONFIG_FLATMEM