Commit 4c040ed2 authored by Benjamin Herrenschmidt's avatar Benjamin Herrenschmidt Committed by Linus Torvalds

[PATCH] Remove bogus definition of local chrp_int_ack_special in pSeries_setup.c.

Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 15c87439
...@@ -135,7 +135,6 @@ static int pSeries_irq_cascade(struct pt_regs *regs, void *data) ...@@ -135,7 +135,6 @@ static int pSeries_irq_cascade(struct pt_regs *regs, void *data)
static void __init pSeries_init_mpic(void) static void __init pSeries_init_mpic(void)
{ {
unsigned int *addrp; unsigned int *addrp;
unsigned char* chrp_int_ack_special = NULL;
struct device_node *np; struct device_node *np;
int i; int i;
...@@ -148,8 +147,7 @@ static void __init pSeries_init_mpic(void) ...@@ -148,8 +147,7 @@ static void __init pSeries_init_mpic(void)
get_property(np, "8259-interrupt-acknowledge", NULL))) get_property(np, "8259-interrupt-acknowledge", NULL)))
printk(KERN_ERR "Cannot find pci to get ack address\n"); printk(KERN_ERR "Cannot find pci to get ack address\n");
else else
chrp_int_ack_special = (unsigned char *) chrp_int_ack_special = ioremap(addrp[prom_n_addr_cells(np)-1], 1);
ioremap(addrp[prom_n_addr_cells(np)-1], 1);
of_node_put(np); of_node_put(np);
/* Setup the legacy interrupts & controller */ /* Setup the legacy interrupts & controller */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment