patch-2.4.20 linux-2.4.20/arch/m68k/sun3/mmu_emu.c

Next file: linux-2.4.20/arch/m68k/sun3/sbus.c
Previous file: linux-2.4.20/arch/m68k/sun3/config.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/arch/m68k/sun3/mmu_emu.c linux-2.4.20/arch/m68k/sun3/mmu_emu.c
@@ -52,7 +52,9 @@
 
 /* pointers to the mm structs for each task in each
    context. 0xffffffff is a marker for kernel context */
-struct mm_struct *ctx_alloc[CONTEXTS_NUM] = {0xffffffff, 0, 0, 0, 0, 0, 0, 0};
+struct mm_struct *ctx_alloc[CONTEXTS_NUM] = {
+	(struct mm_struct *)0xffffffff, 0, 0, 0, 0, 0, 0, 0
+};
 /* has this context been mmdrop'd? */
 static unsigned char ctx_avail = CONTEXTS_NUM-1;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)