summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/setup.h')
-rw-r--r--include/asm-x86/setup.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/setup.h b/include/asm-x86/setup.h
index 1ad7eae0d9be..90ab2225e71b 100644
--- a/include/asm-x86/setup.h
+++ b/include/asm-x86/setup.h
@@ -10,8 +10,10 @@ void vsmp_init(void);
#ifdef CONFIG_X86_VISWS
extern void visws_early_detect(void);
+extern int is_visws_box(void);
#else
static inline void visws_early_detect(void) { }
+static inline int is_visws_box(void) { return 0; }
#endif
/*
OpenPOWER on IntegriCloud