Re: [PATCH] trim memory not covered by WB MTRRs

From: Jesse Barnes
Date: Fri Jun 08 2007 - 17:29:22 EST

On Friday, June 8, 2007 2:15:00 Andrew Morton wrote:
> > Something similar could be done on i386 if needed, but the boot
> > ordering would be slightly different, since the MTRR code on i386
> > depends on the boot_cpu_data structure being setup.
> i386 allmodconfig:
> arch/i386/kernel/cpu/mtrr/main.c: In function
> 'mtrr_trim_uncached_memory': arch/i386/kernel/cpu/mtrr/main.c:655:
> error: 'end_pfn' undeclared (first use in this function)
> arch/i386/kernel/cpu/mtrr/main.c:655: error: (Each undeclared
> identifier is reported only once
> arch/i386/kernel/cpu/mtrr/main.c:655: error: for each function it
> appears in.)
> I'll poke some ifdefs in there.

Oops, sorry about that, the code is only called on x86_64 but compiled
even for i386...

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at