[PATCH] numaq build error

From: Randy Dunlap
Date: Mon Dec 04 2006 - 12:38:49 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

CC arch/i386/boot/compressed/misc.o
arch/i386/boot/compressed/misc.c:120: error: static declaration of 'xquad_portio' follows non-static declaration
include/asm/io.h:275: error: previous declaration of 'xquad_portio' was here
make[2]: *** [arch/i386/boot/compressed/misc.o] Error 1

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
---
arch/i386/boot/compressed/misc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.19-git4.orig/arch/i386/boot/compressed/misc.c
+++ linux-2.6.19-git4/arch/i386/boot/compressed/misc.c
@@ -117,7 +117,7 @@ static int vidport;
static int lines, cols;

#ifdef CONFIG_X86_NUMAQ
-static void * xquad_portio = NULL;
+void *xquad_portio = NULL;
#endif

#include "../../../../lib/inflate.c"


---
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/