]> err.no Git - linux-2.6/blobdiff - drivers/char/hvc_console.h
[POWERPC] Make cpus_in_xmon static and remove extern mess from hvc_console.c
[linux-2.6] / drivers / char / hvc_console.h
index 8c59818050e66d0c6c97aa8bb22351bf7bd70e5b..42ffb17e15df7d4f038f483cc16da4b1a42baf3f 100644 (file)
@@ -60,4 +60,14 @@ extern struct hvc_struct * __devinit hvc_alloc(uint32_t vtermno, int irq,
 /* remove a vterm from hvc tty operation (modele_exit or hotplug remove) */
 extern int __devexit hvc_remove(struct hvc_struct *hp);
 
+
+#if defined(CONFIG_XMON) && defined(CONFIG_SMP)
+#include <asm/xmon.h>
+#else
+static inline int cpus_are_in_xmon(void)
+{
+       return 0;
+}
+#endif
+
 #endif // HVC_CONSOLE_H