[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-ia64-devel] [PATCH] don't compile simserial.c hpsim_console.c



Hi.

linux/arch/ia64/hp/sim/simserial.c and linux/arch/ia64/hp/sim/hpsim_console.c
are always compiled for xenlinux.
this should not be compiled with 
CONFIG_HP_SIMSERIAL/CONFIG_HP_SEIMSERIAL_CONSOLE disabled.


Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>

--


diff -r 0255f48b757f -r 2c97c5c25641 
linux-2.6-xen-sparse/arch/ia64/hp/sim/Makefile
--- a/linux-2.6-xen-sparse/arch/ia64/hp/sim/Makefile    Sun Dec  4 20:12:00 
2005 +0100
+++ b/linux-2.6-xen-sparse/arch/ia64/hp/sim/Makefile    Wed Dec 14 20:51:22 
2005 +0900
@@ -14,5 +14,3 @@
 obj-$(CONFIG_HP_SIMSERIAL) += simserial.o
 obj-$(CONFIG_HP_SIMSERIAL_CONSOLE) += hpsim_console.o
 obj-$(CONFIG_HP_SIMSCSI) += simscsi.o
-obj-$(CONFIG_XEN) += simserial.o
-obj-$(CONFIG_XEN) += hpsim_console.o
diff -r 0255f48b757f -r 2c97c5c25641 
linux-2.6-xen-sparse/arch/ia64/xen/xenconsole.c
--- a/linux-2.6-xen-sparse/arch/ia64/xen/xenconsole.c   Sun Dec  4 20:12:00 
2005 +0100
+++ b/linux-2.6-xen-sparse/arch/ia64/xen/xenconsole.c   Wed Dec 14 20:51:22 
2005 +0900
@@ -5,7 +5,7 @@
 early_xen_console_setup (char *cmdline)
 {
 #ifdef CONFIG_XEN
-#ifndef CONFIG_IA64_HP_SIM
+#ifdef CONFIG_HP_SIMSERIAL_CONSOLE
        extern int running_on_xen;
        if (running_on_xen) {
                extern struct console hpsim_cons;



-- 
yamahata

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.