OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16cc11d
)
[PATCH] powerpc: fix spider-pic affinity setting
author
Arnd Bergmann
<arnd.bergmann@de.ibm.com>
Fri, 24 Mar 2006 18:46:29 +0000
(19:46 +0100)
committer
Paul Mackerras
<paulus@samba.org>
Mon, 27 Mar 2006 03:48:40 +0000
(14:48 +1100)
As noticed by Milton Miller, setting the initial affinity in
spider-pic can go wrong if the target node field was not orinally
empty.
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spider-pic.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/cell/spider-pic.c
b/arch/powerpc/platforms/cell/spider-pic.c
index
0e9bb0b
..
9647a8d
100644
(file)
--- a/
arch/powerpc/platforms/cell/spider-pic.c
+++ b/
arch/powerpc/platforms/cell/spider-pic.c
@@
-88,7
+88,7
@@
static void spider_enable_irq(unsigned int irq)
void __iomem *cfg = spider_get_irq_config(irq);
irq = spider_get_nr(irq);
- out_be32(cfg,
in_be32(cfg)
| 0x3107000eu | nodeid);
+ out_be32(cfg,
(in_be32(cfg) & ~0xf0)
| 0x3107000eu | nodeid);
out_be32(cfg + 4, in_be32(cfg + 4) | 0x00020000u | irq);
}