summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-08-02 04:11:44 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-02 04:38:00 (GMT)
commit39bbb07d7c0cf3e374831d1474e2246d9cabd931 (patch)
treecc0bea75c8f5b7fa538ca96143ea577b5da67f8b /arch
parentba17101b41977f124948e0a7797fdcbb59e19f3e (diff)
downloadlinux-39bbb07d7c0cf3e374831d1474e2246d9cabd931.tar.xz
[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')
-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 d8e59e1..fc42638 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)