git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
arch
/
mips
/
momentum
/
jaguar_atx
/
reset.c
diff --git
a/arch/mips/momentum/jaguar_atx/reset.c
b/arch/mips/momentum/jaguar_atx/reset.c
index
4803948
..
ce9fb2e
100644
(file)
--- a/
arch/mips/momentum/jaguar_atx/reset.c
+++ b/
arch/mips/momentum/jaguar_atx/reset.c
@@
-27,12
+27,12
@@
void momenco_jaguar_restart(char *command)
{
/* base address of timekeeper portion of part */
void momenco_jaguar_restart(char *command)
{
/* base address of timekeeper portion of part */
-#ifdef CONFIG_
MIPS64
+#ifdef CONFIG_
64BIT
void *nvram = (void*) 0xfffffffffc807000;
#else
void *nvram = (void*) 0xfc807000;
#endif
void *nvram = (void*) 0xfffffffffc807000;
#else
void *nvram = (void*) 0xfc807000;
#endif
- /* Ask the NVRAM/RTC/watchdog chip to assert reset in 1/16 second */
+ /* Ask the NVRAM/RTC/watchdog chip to assert reset in 1/16 second */
writeb(0x84, nvram + 0xff7);
/* wait for the watchdog to go off */
writeb(0x84, nvram + 0xff7);
/* wait for the watchdog to go off */