[PATCH] kdump proc vmcore size oveflow fix
[linux-2.6] / include / asm-arm / arch-sa1100 / system.h
1 /*
2  * linux/include/asm-arm/arch-sa1100/system.h
3  *
4  * Copyright (c) 1999 Nicolas Pitre <nico@cam.org>
5  */
6 #include <linux/config.h>
7 #include <asm/hardware.h>
8
9 static inline void arch_idle(void)
10 {
11         cpu_do_idle();
12 }
13
14 static inline void arch_reset(char mode)
15 {
16         if (mode == 's') {
17                 /* Jump into ROM at address 0 */
18                 cpu_reset(0);
19         } else {
20                 /* Use on-chip reset capability */
21                 RSRR = RSRR_SWR;
22         }
23 }