summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKeith M. Wesolowski <wesolows@foobazco.org>2004-03-04 05:57:18 -0800
committerKeith M. Wesolowski <wesolows@foobazco.org>2004-03-04 05:57:18 -0800
commitddde7f6803f526e8c2177c9329dcf30374cd4d6c (patch)
tree2e39a587f338c94b012767f3ae2ca7587b170649 /include
parentc61660c3f4410d20dd0bf4cbd0e67cce97805237 (diff)
[SPARC]: Add stack usage instrumentation
Diffstat (limited to 'include')
-rw-r--r--include/asm-sparc/thread_info.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-sparc/thread_info.h b/include/asm-sparc/thread_info.h
index 883cee86ec08..682f9fca9c53 100644
--- a/include/asm-sparc/thread_info.h
+++ b/include/asm-sparc/thread_info.h
@@ -79,9 +79,9 @@ register struct thread_info *current_thread_info_reg asm("g6");
/*
* thread information allocation
*/
-#ifdef CONFIG_SUN4
+#if PAGE_SHIFT == 13
#define THREAD_INFO_ORDER 0
-#else
+#else /* PAGE_SHIFT */
#define THREAD_INFO_ORDER 1
#endif