mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 01:31:44 +00:00
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>
12 lines
363 B
C
12 lines
363 B
C
#include <linux/reboot.h>
|
|
#define ARRAY_AND_SIZE(x) (x), ARRAY_SIZE(x)
|
|
|
|
extern void timer_init(int irq);
|
|
|
|
extern void __init icu_init_irq(void);
|
|
extern void __init mmp_map_io(void);
|
|
extern void mmp_restart(enum reboot_mode, const char *);
|
|
extern void __init pxa168_clk_init(void);
|
|
extern void __init pxa910_clk_init(void);
|
|
extern void __init mmp2_clk_init(void);
|