Skip to contentSkip to conversation

transmeta-no-procfs-build-fix.patch added to -mm tree

DISCUSSION Coywolf Qi Hunt 1 participant 1 message Nov 17, 2005 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

2005/8/2, [email protected] <[email protected]>:

Quoted 24 lines

The patch titled

transmeta: CONFIG_PROC_FS=n build fix

has been added to the -mm tree. Its filename is

transmeta-no-procfs-build-fix.patch

From: Andrew Morton <[email protected]>

Fix bug found by Grant Coady <[email protected]>'s autobuild setup.

---

 arch/i386/kernel/cpu/transmeta.c |    2 ++
 1 files changed, 2 insertions(+)

diff -puN arch/i386/kernel/cpu/transmeta.c~transmeta-no-procfs-build-fix arch/i386/kernel/cpu/transmeta.c

arch/i386/kernel/cpu/transmeta.c 2005-08-01 20:16:14.000000000 -0700 static void __init init_transmeta(struct · line 85

Quoted 9 lines
arch/i386/kernel/cpu/transmeta.c 2005-08-01 20:16:14.000000000 -0700 renamed from arch/i386/kernel/cpu/transmeta.c~transmeta-no-procfs-build-fix 2005-08-01 20:15:42.000000000 -0700 +2 -0
@@ -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
 }

You haven't fixed the problem. It would fall back to #define randomize_va_space 1

arch/i386/kernel/cpu/transmeta.c 2005-08-01 20:16:14.000000000 -0700 static void __init init_transmeta(struct · line 86

Quoted 2 lines
arch/i386/kernel/cpu/transmeta.c 2005-08-01 20:16:14.000000000 -0700 renamed from arch/i386/kernel/cpu/transmeta.c~transmeta-no-procfs-build-fix 2005-08-01 20:15:42.000000000 -0700 +0 -0
 static void transmeta_identify(struct cpuinfo_x86 * c)

--
Coywolf Qi Hunt
http://sosdg.org/~coywolf/