aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2008-05-19 09:13:35 -0400
committerTony Luck <tony.luck@intel.com>2008-05-27 17:46:28 -0400
commit1e39d80a5957eab9dfdd7490d5c5cee272c34aa7 (patch)
tree7e07e35c7424418ca0406ba948eb137db9a917e5 /arch/ia64
parent1ff730b52f0c3e4e3846c3ff345c5526b2633ba9 (diff)
[IA64] pvops: preparation for paravirtulization of hand written assembly code.
Preparation for paravirtualization of hand written assembly code. They are paravirtualized by single source code and compiled multi times. To tell those files for target (including native), add one defines. Cc: "Dong, Eddie" <eddie.dong@intel.com> Cc: Keith Owens <kaos@ocs.com.au> Cc: tgingold@free.fr Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/kernel/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/ia64/kernel/Makefile b/arch/ia64/kernel/Makefile
index 10a4ddb5b274..8b2524293eb4 100644
--- a/arch/ia64/kernel/Makefile
+++ b/arch/ia64/kernel/Makefile
@@ -72,3 +72,12 @@ $(obj)/gate-syms.o: $(obj)/gate.lds $(obj)/gate.o FORCE
72# We must build gate.so before we can assemble it. 72# We must build gate.so before we can assemble it.
73# Note: kbuild does not track this dependency due to usage of .incbin 73# Note: kbuild does not track this dependency due to usage of .incbin
74$(obj)/gate-data.o: $(obj)/gate.so 74$(obj)/gate-data.o: $(obj)/gate.so
75
76#
77# native ivt.S and entry.S
78#
79ASM_PARAVIRT_OBJS = ivt.o entry.o
80define paravirtualized_native
81AFLAGS_$(1) += -D__IA64_ASM_PARAVIRTUALIZED_NATIVE
82endef
83$(foreach obj,$(ASM_PARAVIRT_OBJS),$(eval $(call paravirtualized_native,$(obj))))