projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64eaea4
)
MIPS: BCM63XX: don't write to the chipid register on reboot
author
Maxime Bizon
<mbizon@freebox.fr>
Fri, 13 Jul 2012 07:46:04 +0000
(07:46 +0000)
committer
John Crispin
<blogic@openwrt.org>
Fri, 24 Aug 2012 18:09:00 +0000
(20:09 +0200)
While harmless, it is bad style to do so.
Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Patchwork: http://patchwork.linux-mips.org/patch/4092/
Signed-off-by: John Crispin <blogic@openwrt.org>
arch/mips/bcm63xx/setup.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/bcm63xx/setup.c
b/arch/mips/bcm63xx/setup.c
index bd83836fa15eb86e58548c5d2a7e5a2d22302973..314231be788cd7365c55e3501187600296932c38 100644
(file)
--- a/
arch/mips/bcm63xx/setup.c
+++ b/
arch/mips/bcm63xx/setup.c
@@
-86,6
+86,9
@@
void bcm63xx_machine_reboot(void)
}
for (i = 0; i < 2; i++) {
+ if (!perf_regs[i])
+ break;
+
reg = bcm_perf_readl(perf_regs[i]);
if (BCMCPU_IS_6348()) {
reg &= ~EXTIRQ_CFG_MASK_ALL_6348;
This page took
0.02488 seconds
and
5
git commands to generate.