diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-07 19:04:21 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-07 19:04:21 -0800 |
commit | 06aa5b4aae223ea4d623dc68e85466174bb92c84 (patch) | |
tree | 22b40cd55396e5329fe8cf69907a1af13145f8bd /arch | |
parent | c91a32503d9ff8079cc45fa743d428fd705042dd (diff) | |
parent | b2e569d876e153365b01525a102b7d90bb309446 (diff) |
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
[MIPS] ARC: Fix several compiler warnings.
[MIPS] ISA: Fix typo
[CHAR] ds1286: Fix handling of seconds in RTC_ALM_SET ioctl.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/arc/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/arc/init.c b/arch/mips/arc/init.c index 0ac8f42d375..e2f75b13312 100644 --- a/arch/mips/arc/init.c +++ b/arch/mips/arc/init.c @@ -23,16 +23,16 @@ LONG *_prom_argv, *_prom_envp; void __init prom_init(void) { PSYSTEM_PARAMETER_BLOCK pb = PROMBLOCK; + romvec = ROMVECTOR; - ULONG cnt; - CHAR c; prom_argc = fw_arg0; _prom_argv = (LONG *) fw_arg1; _prom_envp = (LONG *) fw_arg2; if (pb->magic != 0x53435241) { - printk(KERN_CRIT "Aieee, bad prom vector magic %08lx\n", pb->magic); + printk(KERN_CRIT "Aieee, bad prom vector magic %08lx\n", + (unsigned long) pb->magic); while(1) ; } |