* [2.6 patch] x86_64 traps.c: remove an unused function
@ 2004-12-07 0:49 Adrian Bunk
2005-01-17 9:30 ` Andi Kleen
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2004-12-07 0:49 UTC (permalink / raw)
To: ak, discuss; +Cc: linux-kernel
The patch below removes an unused function.
It's not compilation tested but grep showed it's unused and I'd already
send a similar patch for i386.
diffstat output:
arch/x86_64/kernel/traps.c | 9 ---------
1 files changed, 9 deletions(-)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.10-rc2-mm4-full/arch/x86_64/kernel/traps.c.old 2004-12-07 01:47:04.000000000 +0100
+++ linux-2.6.10-rc2-mm4-full/arch/x86_64/kernel/traps.c 2004-12-07 01:47:25.000000000 +0100
@@ -408,15 +408,6 @@
do_exit(SIGSEGV);
}
-static inline unsigned long get_cr2(void)
-{
- unsigned long address;
-
- /* get the address */
- __asm__("movq %%cr2,%0":"=r" (address));
- return address;
-}
-
static void do_trap(int trapnr, int signr, char *str,
struct pt_regs * regs, long error_code, siginfo_t *info)
{
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [2.6 patch] x86_64 traps.c: remove an unused function
2004-12-07 0:49 [2.6 patch] x86_64 traps.c: remove an unused function Adrian Bunk
@ 2005-01-17 9:30 ` Andi Kleen
0 siblings, 0 replies; 2+ messages in thread
From: Andi Kleen @ 2005-01-17 9:30 UTC (permalink / raw)
To: Adrian Bunk; +Cc: ak, discuss, linux-kernel
On Tue, Dec 07, 2004 at 01:49:37AM +0100, Adrian Bunk wrote:
> The patch below removes an unused function.
>
> It's not compilation tested but grep showed it's unused and I'd already
> send a similar patch for i386.
Queued. Thanks.
-Andi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-17 9:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-07 0:49 [2.6 patch] x86_64 traps.c: remove an unused function Adrian Bunk
2005-01-17 9:30 ` Andi Kleen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).