Re: [PATCH] x86: APIC: Remove apic_write_around(); use alternatives

From: Maciej W. Rozycki
Date: Fri Jul 18 2008 - 18:03:20 EST


On Fri, 18 Jul 2008, Yinghai Lu wrote:

> CC arch/x86/kernel/apic_64.o
> arch/x86/kernel/apic_64.c:170: error: unknown field 'write_atomic'
> specified in initializer
> arch/x86/kernel/apic_64.c:170: error: 'native_apic_mem_write_atomic'
> undeclared here (not in a function)
> arch/x86/kernel/apic_64.c:209: error: unknown field 'write_atomic'
> specified in initializer
> arch/x86/kernel/apic_64.c:209: warning: initialization from
> incompatible pointer type
> make[1]: *** [arch/x86/kernel/apic_64.o] Error 1
> make: *** [arch/x86/kernel] Error 2

Just remove the offending initialisers. They are not needed anymore as
the .write method is now used universally including places where
.write_atomic was. I just could not stand watching the thing
proliferate...

Maciej
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/