Skip to content

Commit

Permalink
[PATCH] x86_64: Remove unused apic_write_atomic
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Jan 12, 2006
1 parent 4cef0c6 commit 2d0db40
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions include/asm-x86_64/apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 2d0db40

Please sign in to comment.