Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211065
b: refs/heads/master
c: 32c4dad
h: refs/heads/master
i:
  211063: 55cf950
v: v3
  • Loading branch information
Mark F. Brown authored and Eric Miao committed Sep 25, 2010
1 parent c9d298d commit 9300ab4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cf625368d3ad664c7c9ae89974599bbfe9947511
refs/heads/master: 32c4dad8f872fadb0ae3caa15d26e73934982217
7 changes: 6 additions & 1 deletion trunk/arch/arm/mach-mmp/include/mach/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@
#ifndef __ASM_MACH_SYSTEM_H
#define __ASM_MACH_SYSTEM_H

#include <mach/cputype.h>

static inline void arch_idle(void)
{
cpu_do_idle();
}

static inline void arch_reset(char mode, const char *cmd)
{
cpu_reset(0);
if (cpu_is_pxa168())
cpu_reset(0xffff0000);
else
cpu_reset(0);
}
#endif /* __ASM_MACH_SYSTEM_H */

0 comments on commit 9300ab4

Please sign in to comment.