From: Andrew Morton Date: Tue, 2 Aug 2005 04:11:44 +0000 (-0700) Subject: [PATCH] transmeta: CONFIG_PROC_FS=n build fix X-Git-Tag: v2.6.13-rc5~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=39bbb07d7c0cf3e374831d1474e2246d9cabd931;p=linux-2.6-omap-h63xx.git [PATCH] transmeta: CONFIG_PROC_FS=n build fix Fix bug found by Grant Coady 's autobuild setup. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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)