mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
Use the generic idle loop and replace enable/disable_hlt with the respective core functions. Signed-off-by: Thomas Gleixner <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Rusty Russell <[email protected]> Cc: Paul McKenney <[email protected]> Cc: Peter Zijlstra <[email protected]> Reviewed-by: Cc: Srivatsa S. Bhat <[email protected]> Cc: Magnus Damm <[email protected]> Cc: Russell King <[email protected]> Tested-by: Kevin Hilman <[email protected]> # OMAP Link: http://lkml.kernel.org/r/[email protected]
27 lines
572 B
C
27 lines
572 B
C
#ifndef __ASM_ARM_SYSTEM_MISC_H
|
|
#define __ASM_ARM_SYSTEM_MISC_H
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
#include <linux/compiler.h>
|
|
#include <linux/linkage.h>
|
|
#include <linux/irqflags.h>
|
|
|
|
extern void cpu_init(void);
|
|
|
|
void soft_restart(unsigned long);
|
|
extern void (*arm_pm_restart)(char str, const char *cmd);
|
|
extern void (*arm_pm_idle)(void);
|
|
|
|
#define UDBG_UNDEFINED (1 << 0)
|
|
#define UDBG_SYSCALL (1 << 1)
|
|
#define UDBG_BADABORT (1 << 2)
|
|
#define UDBG_SEGV (1 << 3)
|
|
#define UDBG_BUS (1 << 4)
|
|
|
|
extern unsigned int user_debug;
|
|
|
|
#endif /* !__ASSEMBLY__ */
|
|
|
|
#endif /* __ASM_ARM_SYSTEM_MISC_H */
|