Re: mol-0.9.71_pre8 doesn't built with 2.6.18-rc2

Andreas Schwab <[email protected]> Thu, 20 Jul 2006 15:14:58 +0200
Newsgroups gmane.linux.ports.ppc.mol.general
Message-ID <[email protected]>
Elimar Riesebieter <[email protected]> writes:

> Hi all,
>
> the compile with 2.6.18-rc2 stops with:
> /source/mol/mol/mol-0.9.71_pre8/obj-ppc/build/src/kmod/_mmu.c: In function `arch_mmu_init':
> /source/mol/mol/mol-0.9.71_pre8/obj-ppc/build/src/kmod/_mmu.c:35: error: incompatible types in assignment

--- _mmu.c.~1~	2006-07-19 13:55:08.000000000 +0200
+++ _mmu.c	2006-07-20 15:13:31.000000000 +0200
@@ -32,6 +32,6 @@ void		(*xx_store_pte_lowmem)( ulong *slo
 int
 arch_mmu_init( kernel_vars_t *kv )
 {
-	MMU.emulator_context = current->mm->context;
+	MMU.emulator_context = current->mm->context.id;
 	return 0;
 }

Andreas.

-- 
Andreas Schwab, SuSE Labs, [email protected]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."