forked from luck/tmp_suning_uos_patched
[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>
This commit is contained in:
parent
4cef0c6138
commit
2d0db401ee
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user