aboutsummaryrefslogtreecommitdiff
path: root/arch/i386/kernel/cpu
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-08-01 21:11:44 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-01 21:38:00 -0700
commit39bbb07d7c0cf3e374831d1474e2246d9cabd931 (patch)
treecc0bea75c8f5b7fa538ca96143ea577b5da67f8b /arch/i386/kernel/cpu
parentba17101b41977f124948e0a7797fdcbb59e19f3e (diff)
[PATCH] transmeta: CONFIG_PROC_FS=n build fix
Fix bug found by Grant Coady <lkml@dodo.com.au>'s autobuild setup. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386/kernel/cpu')
-rw-r--r--arch/i386/kernel/cpu/transmeta.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/kernel/cpu/transmeta.c b/arch/i386/kernel/cpu/transmeta.c
index d8e59e19867..fc426380366 100644
--- a/arch/i386/kernel/cpu/transmeta.c
+++ b/arch/i386/kernel/cpu/transmeta.c
@@ -77,9 +77,11 @@ static void __init init_transmeta(struct cpuinfo_x86 *c)
if ( c->x86 == 5 && (c->x86_capability[0] & USER686) == USER686 )
c->x86 = 6;
+#ifdef CONFIG_SYSCTL
/* randomize_va_space slows us down enormously;
it probably triggers retranslation of x86->native bytecode */
randomize_va_space = 0;
+#endif
}
static void transmeta_identify(struct cpuinfo_x86 * c)