Skip to content

Commit

Permalink
[ARM] arch_reset() now takes a second parameter
Browse files Browse the repository at this point in the history
Add it to the new platforms.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Mar 30, 2009
1 parent 0d34fb8 commit 8f6aef9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-gemini/include/mach/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ static inline void arch_idle(void)
cpu_do_idle();
}

static inline void arch_reset(char mode)
static inline void arch_reset(char mode, const char *cmd)
{
__raw_writel(RESET_GLOBAL | RESET_CPU1,
IO_ADDRESS(GEMINI_GLOBAL_BASE) + GLOBAL_RESET);
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-mmp/include/mach/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ static inline void arch_idle(void)
cpu_do_idle();
}

static inline void arch_reset(char mode)
static inline void arch_reset(char mode, const char *cmd)
{
cpu_reset(0);
}
Expand Down

0 comments on commit 8f6aef9

Please sign in to comment.