ia64/xen-unstable

changeset 9258:a77cf8fdc307

Xen/ia64 build fixes.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue Mar 14 15:45:00 2006 +0100 (2006-03-14)
parents 66f02103f4c5
children de5d2b9a9cfb
files xen/arch/ia64/Rules.mk xen/include/asm-ia64/xensystem.h
line diff
     1.1 --- a/xen/arch/ia64/Rules.mk	Tue Mar 14 15:44:04 2006 +0100
     1.2 +++ b/xen/arch/ia64/Rules.mk	Tue Mar 14 15:45:00 2006 +0100
     1.3 @@ -12,7 +12,7 @@ CPPFLAGS  += -I$(BASEDIR)/include -I$(BA
     1.4  	     -I$(BASEDIR)/include/asm-ia64/linux-null 			\
     1.5               -I$(BASEDIR)/arch/ia64/linux -I$(BASEDIR)/arch/ia64/linux-xen
     1.6  
     1.7 -CFLAGS  := -nostdinc -fno-builtin -fno-common -fno-strict-aliasing
     1.8 +CFLAGS  += -nostdinc -fno-builtin -fno-common -fno-strict-aliasing
     1.9  #CFLAGS  += -O3		# -O3 over-inlines making debugging tough!
    1.10  CFLAGS  += -O2		# but no optimization causes compile errors!
    1.11  #CFLAGS  += -iwithprefix include -Wall -DMONITOR_BASE=$(MONITOR_BASE)
     2.1 --- a/xen/include/asm-ia64/xensystem.h	Tue Mar 14 15:44:04 2006 +0100
     2.2 +++ b/xen/include/asm-ia64/xensystem.h	Tue Mar 14 15:45:00 2006 +0100
     2.3 @@ -75,5 +75,7 @@ extern struct task_struct *vmx_ia64_swit
     2.4  // FIXME SMP... see system.h, does this need to be different?
     2.5  #define switch_to(prev,next,last)	__switch_to(prev, next, last)
     2.6  
     2.7 +#define local_irq_is_enabled() (!irqs_disabled())
     2.8 +
     2.9  #endif // __ASSEMBLY__
    2.10  #endif // _ASM_IA64_XENSYSTEM_H