sysctl: Use header file for sysctl knob declarations on sparc.
This also takes care of a sparse warning as scons_pwroff's definition point. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
72c57ed506
commit
17f04fbb0f
@ -49,6 +49,7 @@ extern unsigned long empty_zero_page;
|
|||||||
extern void sun_do_break(void);
|
extern void sun_do_break(void);
|
||||||
extern int serial_console;
|
extern int serial_console;
|
||||||
extern int stop_a_enabled;
|
extern int stop_a_enabled;
|
||||||
|
extern int scons_pwroff;
|
||||||
|
|
||||||
static inline int con_is_present(void)
|
static inline int con_is_present(void)
|
||||||
{
|
{
|
||||||
|
@ -117,6 +117,7 @@ do { __asm__ __volatile__("ba,pt %%xcc, 1f\n\t" \
|
|||||||
|
|
||||||
extern void sun_do_break(void);
|
extern void sun_do_break(void);
|
||||||
extern int stop_a_enabled;
|
extern int stop_a_enabled;
|
||||||
|
extern int scons_pwroff;
|
||||||
|
|
||||||
extern void fault_in_user_windows(void);
|
extern void fault_in_user_windows(void);
|
||||||
extern void synchronize_user_stack(void);
|
extern void synchronize_user_stack(void);
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <linux/pm.h>
|
#include <linux/pm.h>
|
||||||
|
|
||||||
|
#include <asm/system.h>
|
||||||
#include <asm/oplib.h>
|
#include <asm/oplib.h>
|
||||||
#include <asm/prom.h>
|
#include <asm/prom.h>
|
||||||
|
|
||||||
|
@ -119,9 +119,7 @@ extern int sg_big_buff;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_SPARC
|
#ifdef CONFIG_SPARC
|
||||||
extern char reboot_command [];
|
#include <asm/system.h>
|
||||||
extern int stop_a_enabled;
|
|
||||||
extern int scons_pwroff;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __hppa__
|
#ifdef __hppa__
|
||||||
|
Loading…
Reference in New Issue
Block a user