summaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/apic.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-01-11 22:45:00 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-11 19:04:56 -0800
commit2d0db401ee4ee08857b79f1d3be40e8a819f8992 (patch)
tree36e3aa460aa9dac4b6fd7035982dfd792518cfdb /include/asm-x86_64/apic.h
parent4cef0c61380888af99b054937ed391fb28757836 (diff)
downloadop-kernel-dev-2d0db401ee4ee08857b79f1d3be40e8a819f8992.zip
op-kernel-dev-2d0db401ee4ee08857b79f1d3be40e8a819f8992.tar.gz
[PATCH] x86_64: Remove unused apic_write_atomic
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>
Diffstat (limited to 'include/asm-x86_64/apic.h')
-rw-r--r--include/asm-x86_64/apic.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-x86_64/apic.h b/include/asm-x86_64/apic.h
index 1768ce7..f95847a 100644
--- a/include/asm-x86_64/apic.h
+++ b/include/asm-x86_64/apic.h
@@ -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));
OpenPOWER on IntegriCloud