Messages in this thread | | | Date | Fri, 18 Jul 2008 23:02:12 +0100 (BST) | From | "Maciej W. Rozycki" <> | Subject | Re: [PATCH] x86: APIC: Remove apic_write_around(); use alternatives |
| |
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
| |