[PATCH] Remove unused apic_write_atomic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This function is never used for x86_64.

Signed-off-by: Brian Gerst <[email protected]>
[PATCH] Remove unused apic_write_atomic

This function is never used for x86_64.

Signed-off-by: Brian Gerst <[email protected]>

---
commit 9a4863865f6c539b799adf0f41de862a7163d819
tree 9bf9251b3a95c76c9086366c459cd067b3669e91
parent 79cac2a221ce18642550a13bed0f0203514923ea
author Brian Gerst <[email protected]> Tue, 27 Dec 2005 18:19:09 -0500
committer Brian Gerst <[email protected]> Tue, 27 Dec 2005 18:19:09 -0500

 include/asm-x86_64/apic.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/include/asm-x86_64/apic.h b/include/asm-x86_64/apic.h
index 5647b7d..50cccf5 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
 	*((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));

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux