tree cc0bea75c8f5b7fa538ca96143ea577b5da67f8b
parent ba17101b41977f124948e0a7797fdcbb59e19f3e
author Andrew Morton <[EMAIL PROTECTED]> Tue, 02 Aug 2005 11:11:44 -0700
committer Linus Torvalds <[EMAIL PROTECTED]> Tue, 02 Aug 2005 11:38:00 -0700

[PATCH] transmeta: CONFIG_PROC_FS=n build fix

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 |    2 ++
 1 files changed, 2 insertions(+)

diff --git a/arch/i386/kernel/cpu/transmeta.c b/arch/i386/kernel/cpu/transmeta.c
--- a/arch/i386/kernel/cpu/transmeta.c
+++ b/arch/i386/kernel/cpu/transmeta.c
@@ -77,9 +77,11 @@ static void __init init_transmeta(struct
         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)
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to