Skip to contentSkip to conversation

Compile Fix for smplock.h

2.4.20-rc1-ac3 Henning Schmiedehausen 1 participant 1 message Nov 15, 2002

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

I needed the attached patch to compile 2.4.20-rc1-ac3 on Uniprocessor. Alan, you seem to have too many multiprocessor boxes these days... :-)

It might be possible that the same patch is needed in

./arch/ppc64/kernel/ppc_ksyms.c
./arch/mips/sibyte/sb1250/bcm1250_tbprof.c
./arch/ppc/kernel/ppc_ksyms.c
./arch/ia64/kernel/ia64_ksyms.c
./arch/parisc/kernel/parisc_ksyms.c

But as I own none of these architectures, I can't be too sure.

Regards
Henning

Signature · 5 lines
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     [email protected]

Am Schwabachgrund 22  Fon.: 09131 / 50654-0   [email protected]
D-91054 Buckenhof     Fax.: 09131 / 50654-20   
mm/rmap.c renamed from mm/rmap.c~ +1 -1
@@ -25,10 +25,10 @@
 #include <linux/swap.h>
 #include <linux/slab.h>
 #include <linux/init.h>
+#include <linux/smp_lock.h>
 
 #include <asm/pgalloc.h>
 #include <asm/rmap.h>
-#include <asm/smplock.h>
 
 /* #define DEBUG_RMAP */