]> err.no Git - linux-2.6/commitdiff
[PATCH] transmeta: CONFIG_PROC_FS=n build fix
authorAndrew Morton <akpm@osdl.org>
Tue, 2 Aug 2005 04:11:44 +0000 (21:11 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 2 Aug 2005 04:38:00 +0000 (21:38 -0700)
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>
arch/i386/kernel/cpu/transmeta.c

index d8e59e1986751c7ff544c91fa2cac03420c94180..fc426380366bcbbd131e7e2d7f508f2f2ca1349c 100644 (file)
@@ -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)