ia64/xen-unstable

view unmodified_drivers/linux-2.6/overrides.mk @ 19848:5839491bbf20

[IA64] replace MAX_VCPUS with d->max_vcpus where necessary.

don't use MAX_VCPUS, and use vcpu::max_vcpus.
The changeset of 2f9e1348aa98 introduced max_vcpus to allow more vcpus
per guest. This patch is ia64 counter part.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Mon Jun 29 11:26:05 2009 +0900 (2009-06-29)
parents 11d12d61b138
children
line source
1 # Hack: we need to use the config which was used to build the kernel,
2 # except that that won't have the right headers etc., so duplicate
3 # some of the mach-xen infrastructure in here.
4 #
5 # (i.e. we need the native config for things like -mregparm, but
6 # a Xen kernel to find the right headers)
7 _XEN_CPPFLAGS += -D__XEN_INTERFACE_VERSION__=0x00030205
8 _XEN_CPPFLAGS += -DCONFIG_XEN_COMPAT=0xffffff
9 _XEN_CPPFLAGS += -I$(M)/include -I$(M)/compat-include -DHAVE_XEN_PLATFORM_COMPAT_H
10 ifeq ($(ARCH),ia64)
11 _XEN_CPPFLAGS += -DCONFIG_VMX_GUEST
12 endif
14 _XEN_CPPFLAGS += -include $(objtree)/include/linux/autoconf.h
16 EXTRA_CFLAGS += $(_XEN_CPPFLAGS)
17 EXTRA_AFLAGS += $(_XEN_CPPFLAGS)
18 CPPFLAGS := -I$(M)/include $(CPPFLAGS)