[PATCH] transmeta: CONFIG_PROC_FS=n build fix
authorAndrew Morton <[email protected]>
Tue, 2 Aug 2005 04:11:44 +0000 (21:11 -0700)
committerLinus Torvalds <[email protected]>
Tue, 2 Aug 2005 04:38:00 +0000 (21:38 -0700)
Fix bug found by Grant Coady <[email protected]>'s autobuild setup.

Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
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)