Skip to contentSkip to conversation

console.c include

PATCH New Hollis Blanchard 1 participant 1 message Mar 21, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 console.c include

console.c uses outw/inb/outb, so it should include <asm/io.h>. It seems even ia64 has an io.h, so hopefully this won't break them.

Signature · 2 lines
Hollis Blanchard
IBM Linux Technology Center

Index: drivers/char/console.c
===================================================================
RCS file: /cvsroot/vhype/xeno-powerpc/xen/drivers/char/console.c,v retrieving revision 1.1.1.1

char/console.c +1 -0
diff -u -p -r1.1.1.1 console.c
@@ -20,6 +20,7 @@
 #include <asm/uaccess.h>
 #include <asm/mm.h>
 #include <asm/debugger.h>
+#include <asm/io.h>
 
 /* opt_console: comma-separated list of console outputs. */
 static char opt_console[30] = OPT_CONSOLE_STR;