forked from Minki/linux
7b6d864b48
Preparing to move the parsing of reboot= to generic kernel code forces the change in reboot_mode handling to use the enum. [akpm@linux-foundation.org: fix arch/arm/mach-socfpga/socfpga.c] Signed-off-by: Robin Holt <holt@sgi.com> Cc: Russell King <rmk+kernel@arm.linux.org.uk> Cc: Russ Anderson <rja@sgi.com> Cc: Robin Holt <holt@sgi.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Guan Xuetao <gxt@mprc.pku.edu.cn> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
22 lines
506 B
C
22 lines
506 B
C
#ifndef __HIGHBANK_CORE_H
|
|
#define __HIGHBANK_CORE_H
|
|
|
|
#include <linux/reboot.h>
|
|
|
|
extern void highbank_set_cpu_jump(int cpu, void *jump_addr);
|
|
extern void highbank_restart(enum reboot_mode, const char *);
|
|
extern void __iomem *scu_base_addr;
|
|
|
|
#ifdef CONFIG_PM_SLEEP
|
|
extern void highbank_pm_init(void);
|
|
#else
|
|
static inline void highbank_pm_init(void) {}
|
|
#endif
|
|
|
|
extern void highbank_smc1(int fn, int arg);
|
|
extern void highbank_cpu_die(unsigned int cpu);
|
|
|
|
extern struct smp_operations highbank_smp_ops;
|
|
|
|
#endif
|