perf, x86: Fix key indexing in Pentium-4 PMU
[linux-2.6-block.git] / arch / arm / mach-s3c6400 / include / mach / system.h
CommitLineData
d521f87e
BD
1/* linux/arch/arm/mach-s3c6400/include/mach/system.h
2 *
3 * Copyright 2008 Openmoko, Inc.
4 * Copyright 2008 Simtec Electronics
5 * Ben Dooks <ben@simtec.co.uk>
6 * http://armlinux.simtec.co.uk/
7 *
8 * S3C6400 - system implementation
9 */
10
11#ifndef __ASM_ARCH_SYSTEM_H
12#define __ASM_ARCH_SYSTEM_H __FILE__
13
543899f6
BD
14#include <plat/watchdog-reset.h>
15
d521f87e
BD
16static void arch_idle(void)
17{
18 /* nothing here yet */
19}
20
be093beb 21static void arch_reset(char mode, const char *cmd)
d521f87e 22{
543899f6
BD
23 if (mode != 's')
24 arch_wdt_reset();
25
26 /* if all else fails, or mode was for soft, jump to 0 */
27 cpu_reset(0);
d521f87e
BD
28}
29
30#endif /* __ASM_ARCH_IRQ_H */