]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/include/asm/thread_info.h
powerpc/44x: Support for 256KB PAGE_SIZE
[linux-2.6-omap-h63xx.git] / arch / powerpc / include / asm / thread_info.h
index 9665a26a253aaef0c118b644ec6635f96b84a83f..e04286f92f614e50adb1560f45d4a1dfdb2dc614 100644 (file)
 
 /* We have 8k stacks on ppc32 and 16k on ppc64 */
 
-#ifdef CONFIG_PPC64
+#if defined(CONFIG_PPC64)
 #define THREAD_SHIFT           14
+#elif defined(CONFIG_PPC_256K_PAGES)
+#define THREAD_SHIFT           15
 #else
 #define THREAD_SHIFT           13
 #endif