diff options
Diffstat (limited to 'arch/arm/mach-rpc/include')
| -rw-r--r-- | arch/arm/mach-rpc/include/mach/system.h | 27 | ||||
| -rw-r--r-- | arch/arm/mach-rpc/include/mach/vmalloc.h | 10 |
2 files changed, 37 insertions, 0 deletions
diff --git a/arch/arm/mach-rpc/include/mach/system.h b/arch/arm/mach-rpc/include/mach/system.h new file mode 100644 index 00000000000..45c7b935dc4 --- /dev/null +++ b/arch/arm/mach-rpc/include/mach/system.h | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | /* | ||
| 2 | * arch/arm/mach-rpc/include/mach/system.h | ||
| 3 | * | ||
| 4 | * Copyright (C) 1996-1999 Russell King. | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | ||
| 10 | #include <linux/io.h> | ||
| 11 | #include <mach/hardware.h> | ||
| 12 | #include <asm/hardware/iomd.h> | ||
| 13 | |||
| 14 | static inline void arch_idle(void) | ||
| 15 | { | ||
| 16 | cpu_do_idle(); | ||
| 17 | } | ||
| 18 | |||
| 19 | static inline void arch_reset(char mode, const char *cmd) | ||
| 20 | { | ||
| 21 | iomd_writeb(0, IOMD_ROMCR0); | ||
| 22 | |||
| 23 | /* | ||
| 24 | * Jump into the ROM | ||
| 25 | */ | ||
| 26 | cpu_reset(0); | ||
| 27 | } | ||
diff --git a/arch/arm/mach-rpc/include/mach/vmalloc.h b/arch/arm/mach-rpc/include/mach/vmalloc.h new file mode 100644 index 00000000000..fb700228637 --- /dev/null +++ b/arch/arm/mach-rpc/include/mach/vmalloc.h | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | /* | ||
| 2 | * arch/arm/mach-rpc/include/mach/vmalloc.h | ||
| 3 | * | ||
| 4 | * Copyright (C) 1997 Russell King | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | ||
| 10 | #define VMALLOC_END 0xdc000000UL | ||
