mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] find_isa_irq_pin should not be __init
@ 2004-08-23 22:49 Zwane Mwaikambo
  2004-08-23 23:16 ` Zwane Mwaikambo
  2004-08-24  1:01 ` Eric W. Biederman
  0 siblings, 2 replies; 3+ messages in thread
From: Zwane Mwaikambo @ 2004-08-23 22:49 UTC (permalink / raw)
  To: Linux Kernel; +Cc: Andrew Morton, Eric W. Biederman

find_isa_irq_pin should not be __init now, i'm surprised this one didn't
bite you Eric...

Signed-off-by: Zwane Mwaikambo <zwane@linuxpower.ca>

Restarting system.
Unable to handle kernel paging request at virtual address c07bdfb0
 printing eip:
c07bdfb0
*pde = 00843027
Oops: 0000 [#1]
PREEMPT SMP DEBUG_PAGEALLOC
Modules linked in:
CPU:    0
EIP:    0060:[<c07bdfb0>]    Not tainted VLI
EFLAGS: 00010246   (2.6.8.1-mm4)
EIP is at find_isa_irq_pin+0x0/0x70
eax: 00000001   ebx: 00000000   ecx: 00000000   edx: 00000017
esi: 01234567   edi: e842e000   ebp: e842fe88   esp: e842fe60
ds: 007b   es: 007b   ss: 0068
Process reboot (pid: 6024, threadinfo=e842e000 task=d18eea30)
Stack: c011bc27 00000000 00000003 00000001 00000000 e842fe88 c0118286 00000000
       01234567 e842e000 e842fe94 c01182b9 00000000 e842ffbc c01376c1 00000000
       c0650a79 c080aac4 00000001 00000000 00000000 e842fee4 c0155212 c1506020
Call Trace:
 [<c01089a5>] show_stack+0x75/0x90
 [<c0108b05>] show_registers+0x125/0x190
 [<c0108d09>] die+0x109/0x1f0
 [<c011d8a0>] do_page_fault+0x230/0x5b2
 [<c010856d>] error_code+0x2d/0x40
 [<c01182b9>] machine_restart+0x9/0x70
 [<c01376c1>] sys_reboot+0x151/0x3b0
 [<c01073e9>] sysenter_past_esp+0x52/0x79
Code:  Bad EIP value.

Index: linux-2.6.8.1-mm4/arch/i386/kernel/io_apic.c
===================================================================
RCS file: /home/cvsroot/linux-2.6.8.1-mm4/arch/i386/kernel/io_apic.c,v
retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 io_apic.c
--- linux-2.6.8.1-mm4/arch/i386/kernel/io_apic.c	23 Aug 2004 08:23:22 -0000	1.1.1.1
+++ linux-2.6.8.1-mm4/arch/i386/kernel/io_apic.c	23 Aug 2004 22:46:09 -0000
@@ -747,7 +747,7 @@ static int __init find_irq_entry(int api
 /*
  * Find the pin to which IRQ[irq] (ISA) is connected
  */
-static int __init find_isa_irq_pin(int irq, int type)
+static int find_isa_irq_pin(int irq, int type)
 {
 	int i;


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] find_isa_irq_pin should not be __init
  2004-08-23 22:49 [PATCH] find_isa_irq_pin should not be __init Zwane Mwaikambo
@ 2004-08-23 23:16 ` Zwane Mwaikambo
  2004-08-24  1:01 ` Eric W. Biederman
  1 sibling, 0 replies; 3+ messages in thread
From: Zwane Mwaikambo @ 2004-08-23 23:16 UTC (permalink / raw)
  To: Linux Kernel; +Cc: Andrew Morton, Eric W. Biederman

On Mon, 23 Aug 2004, Zwane Mwaikambo wrote:

> find_isa_irq_pin should not be __init now, i'm surprised this one didn't
> bite you Eric...
>
> Restarting system.
> Unable to handle kernel paging request at virtual address c07bdfb0
>  printing eip:
> c07bdfb0
> *pde = 00843027
> Oops: 0000 [#1]
> PREEMPT SMP DEBUG_PAGEALLOC
> Modules linked in:
> CPU:    0
> EIP:    0060:[<c07bdfb0>]    Not tainted VLI
> EFLAGS: 00010246   (2.6.8.1-mm4)
> EIP is at find_isa_irq_pin+0x0/0x70
> eax: 00000001   ebx: 00000000   ecx: 00000000   edx: 00000017
> esi: 01234567   edi: e842e000   ebp: e842fe88   esp: e842fe60
> ds: 007b   es: 007b   ss: 0068
> Process reboot (pid: 6024, threadinfo=e842e000 task=d18eea30)
> Stack: c011bc27 00000000 00000003 00000001 00000000 e842fe88 c0118286 00000000
>        01234567 e842e000 e842fe94 c01182b9 00000000 e842ffbc c01376c1 00000000
>        c0650a79 c080aac4 00000001 00000000 00000000 e842fee4 c0155212 c1506020
> Call Trace:
>  [<c01089a5>] show_stack+0x75/0x90
>  [<c0108b05>] show_registers+0x125/0x190
>  [<c0108d09>] die+0x109/0x1f0
>  [<c011d8a0>] do_page_fault+0x230/0x5b2
>  [<c010856d>] error_code+0x2d/0x40
>  [<c01182b9>] machine_restart+0x9/0x70
>  [<c01376c1>] sys_reboot+0x151/0x3b0
>  [<c01073e9>] sysenter_past_esp+0x52/0x79
> Code:  Bad EIP value.

Forgot x86/64

 arch/i386/kernel/io_apic.c   |    2 +-
 arch/x86_64/kernel/io_apic.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Signed-off-by: Zwane Mwaikambo <zwane@linuxpower.ca>

Index: linux-2.6.8.1-mm4/arch/i386/kernel/io_apic.c
===================================================================
RCS file: /home/cvsroot/linux-2.6.8.1-mm4/arch/i386/kernel/io_apic.c,v
retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 io_apic.c
--- linux-2.6.8.1-mm4/arch/i386/kernel/io_apic.c	23 Aug 2004 08:23:22 -0000	1.1.1.1
+++ linux-2.6.8.1-mm4/arch/i386/kernel/io_apic.c	23 Aug 2004 22:46:09 -0000
@@ -747,7 +747,7 @@ static int __init find_irq_entry(int api
 /*
  * Find the pin to which IRQ[irq] (ISA) is connected
  */
-static int __init find_isa_irq_pin(int irq, int type)
+static int find_isa_irq_pin(int irq, int type)
 {
 	int i;

Index: linux-2.6.8.1-mm4/arch/x86_64/kernel/io_apic.c
===================================================================
RCS file: /home/cvsroot/linux-2.6.8.1-mm4/arch/x86_64/kernel/io_apic.c,v
retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 io_apic.c
--- linux-2.6.8.1-mm4/arch/x86_64/kernel/io_apic.c	23 Aug 2004 08:23:39 -0000	1.1.1.1
+++ linux-2.6.8.1-mm4/arch/x86_64/kernel/io_apic.c	23 Aug 2004 23:15:16 -0000
@@ -329,7 +329,7 @@ static int __init find_irq_entry(int api
 /*
  * Find the pin to which IRQ[irq] (ISA) is connected
  */
-static int __init find_isa_irq_pin(int irq, int type)
+static int find_isa_irq_pin(int irq, int type)
 {
 	int i;


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] find_isa_irq_pin should not be __init
  2004-08-23 22:49 [PATCH] find_isa_irq_pin should not be __init Zwane Mwaikambo
  2004-08-23 23:16 ` Zwane Mwaikambo
@ 2004-08-24  1:01 ` Eric W. Biederman
  1 sibling, 0 replies; 3+ messages in thread
From: Eric W. Biederman @ 2004-08-24  1:01 UTC (permalink / raw)
  To: Zwane Mwaikambo; +Cc: Linux Kernel, Andrew Morton

Zwane Mwaikambo <zwane@linuxpower.ca> writes:

> find_isa_irq_pin should not be __init now, i'm surprised this one didn't
> bite you Eric...

Actually so am I. 

Does someone have a brown paper bag?

Eric

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-24  1:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-23 22:49 [PATCH] find_isa_irq_pin should not be __init Zwane Mwaikambo
2004-08-23 23:16 ` Zwane Mwaikambo
2004-08-24  1:01 ` Eric W. Biederman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®