Merge remote-tracking branch 'moduleh/module.h-split'
[linux-2.6/next.git] / arch / arm / mach-sa1100 / include / mach / system.h
blobba9da9f7f1837cc0a94667ad3e0377dbba762237
1 /*
2 * arch/arm/mach-sa1100/include/mach/system.h
4 * Copyright (c) 1999 Nicolas Pitre <nico@fluxnic.net>
5 */
6 #include <mach/hardware.h>
8 static inline void arch_idle(void)
10 cpu_do_idle();
13 static inline void arch_reset(char mode, const char *cmd)
15 if (mode == 's') {
16 /* Jump into ROM at address 0 */
17 cpu_reset(0);
18 } else {
19 /* Use on-chip reset capability */
20 RSRR = RSRR_SWR;