From: Brian Gerst <bgerst@didntduck.org>
To: Andi Kleen <ak@suse.de>, Andrew Morton <akpm@osdl.org>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: [PATCH] Remove unused apic_write_atomic
Date: Tue, 27 Dec 2005 18:29:34 -0500 [thread overview]
Message-ID: <43B1CE5E.7020801@didntduck.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 91 bytes --]
This function is never used for x86_64.
Signed-off-by: Brian Gerst <bgerst@didntduck.org>
[-- Attachment #2: apic_write_atomic --]
[-- Type: text/plain, Size: 1051 bytes --]
[PATCH] Remove unused apic_write_atomic
This function is never used for x86_64.
Signed-off-by: Brian Gerst <bgerst@didntduck.org>
---
commit 9a4863865f6c539b799adf0f41de862a7163d819
tree 9bf9251b3a95c76c9086366c459cd067b3669e91
parent 79cac2a221ce18642550a13bed0f0203514923ea
author Brian Gerst <bgerst@didntduck.org> Tue, 27 Dec 2005 18:19:09 -0500
committer Brian Gerst <bgerst@didntduck.org> 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));
next reply other threads:[~2005-12-27 23:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-27 23:29 Brian Gerst [this message]
2005-12-28 17:58 ` Andreas Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43B1CE5E.7020801@didntduck.org \
--to=bgerst@didntduck.org \
--cc=ak@suse.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome