]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] x86_64: Remove unused apic_write_atomic
authorAndi Kleen <ak@suse.de>
Wed, 11 Jan 2006 21:45:00 +0000 (22:45 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 03:04:56 +0000 (19:04 -0800)
This function is never used for x86_64.

Signed-off-by: Brian Gerst <bgerst@didntduck.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-x86_64/apic.h

index 1768ce719156d93a43a9e76d6c890c14adbc7fd7..f95847acd0f07f01207a69b547e80091da339241 100644 (file)
@@ -42,11 +42,6 @@ static __inline void apic_write(unsigned long reg, unsigned int v)
        *((volatile unsigned int *)(APIC_BASE+reg)) = v;
 }
 
-static __inline void apic_write_atomic(unsigned long reg, unsigned int v)
-{
-       xchg((volatile unsigned int *)(APIC_BASE+reg), v);
-}
-
 static __inline unsigned int apic_read(unsigned long reg)
 {
        return *((volatile unsigned int *)(APIC_BASE+reg));