Author: alucard                      Date: Sat Feb 10 18:23:04 2007 GMT
Module: SOURCES                       Tag: LINUX_2_6_19
---- Log message:
- xen update to 3.0.4
- xen configs merged since they are setting the same options

---- Files affected:
SOURCES:
   kernel-xen.config (NONE -> 1.1)  (NEW), xen-3.0.4-2.6.19.patch (NONE -> 1.1) 
 (NEW), kernel-xen0.config (1.1.2.6 -> NONE)  (REMOVED), kernel-xenU.config 
(1.1.2.4 -> NONE)  (REMOVED)

---- Diffs:

================================================================
Index: SOURCES/kernel-xen.config
diff -u /dev/null SOURCES/kernel-xen.config:1.1
--- /dev/null   Sat Feb 10 19:23:04 2007
+++ SOURCES/kernel-xen.config   Sat Feb 10 19:22:59 2007
@@ -0,0 +1,31 @@
+# CONFIG_DEBUG_PAGEALLOC is not set
+# CONFIG_TCG_XEN is not set
+# CONFIG_USB_STORAGE_ONETOUCH is not set
+CONFIG_X86_XEN=y
+# CONFIG_PCI_GOXEN_FE is not set
+CONFIG_XEN_PCIDEV_FRONTEND=y
+# CONFIG_XEN_PCIDEV_FE_DEBUG is not set
+CONFIG_XEN=y
+CONFIG_XEN_INTERFACE_VERSION=0x00030101
+# XEN
+# CONFIG_XEN_PRIVILEGED_GUEST is not set
+# CONFIG_XEN_UNPRIVILEGED_GUEST is not set
+CONFIG_XEN_BACKEND=y
+CONFIG_XEN_PCIDEV_BACKEND=y
+CONFIG_XEN_PCIDEV_BACKEND_VPCI=y
+# CONFIG_XEN_PCIDEV_BACKEND_PASS is not set
+# CONFIG_XEN_PCIDEV_BACKEND_SLOT is not set
+# CONFIG_XEN_PCIDEV_BE_DEBUG is not set
+CONFIG_XEN_BLKDEV_BACKEND=y
+CONFIG_XEN_NETDEV_BACKEND=y
+# CONFIG_XEN_NETDEV_PIPELINED_TRANSMITTER is not set
+CONFIG_XEN_NETDEV_LOOPBACK=y
+# CONFIG_XEN_TPMDEV_BACKEND is not set
+CONFIG_XEN_BLKDEV_FRONTEND=y
+CONFIG_XEN_NETDEV_FRONTEND=y
+CONFIG_XEN_BLKDEV_TAP=y
+CONFIG_XEN_SCRUB_PAGES=y
+CONFIG_XEN_DISABLE_SERIAL=y
+CONFIG_XEN_SYSFS=y
+CONFIG_XEN_COMPAT_030002_AND_LATER=y
+# CONFIG_XEN_COMPAT_LATEST_ONLY is not set

================================================================
Index: SOURCES/xen-3.0.4-2.6.19.patch
diff -u /dev/null SOURCES/xen-3.0.4-2.6.19.patch:1.1
--- /dev/null   Sat Feb 10 19:23:04 2007
+++ SOURCES/xen-3.0.4-2.6.19.patch      Sat Feb 10 19:22:59 2007
@@ -0,0 +1,101151 @@
+diff -ruNp linux-2.6.19/arch/i386/Kconfig 
linux-2.6.19-xen-3.0.4/arch/i386/Kconfig
+--- linux-2.6.19/arch/i386/Kconfig     2006-11-29 21:57:37.000000000 +0000
++++ linux-2.6.19-xen-3.0.4/arch/i386/Kconfig   2007-02-02 19:10:20.000000000 
+0000
+@@ -16,6 +16,7 @@ config X86_32
+ 
+ config GENERIC_TIME
+       bool
++      depends on !X86_XEN
+       default y
+ 
+ config LOCKDEP_SUPPORT
+@@ -103,6 +104,15 @@ config X86_PC
+       help
+         Choose this option if your computer is a standard PC or compatible.
+ 
++config X86_XEN
++      bool "Xen-compatible"
++      select X86_UP_APIC if !SMP && XEN_PRIVILEGED_GUEST
++      select X86_UP_IOAPIC if !SMP && XEN_PRIVILEGED_GUEST
++      select SWIOTLB
++      help
++        Choose this option if you plan to run this kernel on top of the
++        Xen Hypervisor.
++
+ config X86_ELAN
+       bool "AMD Elan"
+       help
+@@ -212,6 +222,7 @@ source "arch/i386/Kconfig.cpu"
+ 
+ config HPET_TIMER
+       bool "HPET Timer Support"
++      depends on !X86_XEN
+       help
+         This enables the use of the HPET for the kernel's internal timer.
+         HPET is the next generation timer replacing legacy 8254s.
+@@ -262,7 +273,7 @@ source "kernel/Kconfig.preempt"
+ 
+ config X86_UP_APIC
+       bool "Local APIC support on uniprocessors"
+-      depends on !SMP && !(X86_VISWS || X86_VOYAGER || X86_GENERICARCH)
++      depends on !SMP && !(X86_VISWS || X86_VOYAGER || X86_GENERICARCH || 
XEN_UNPRIVILEGED_GUEST)
+       help
+         A local APIC (Advanced Programmable Interrupt Controller) is an
+         integrated interrupt controller in the CPU. If you have a single-CPU
+@@ -287,12 +298,12 @@ config X86_UP_IOAPIC
+ 
+ config X86_LOCAL_APIC
+       bool
+-      depends on X86_UP_APIC || ((X86_VISWS || SMP) && !X86_VOYAGER) || 
X86_GENERICARCH
++      depends on X86_UP_APIC || ((X86_VISWS || SMP) && !(X86_VOYAGER || 
XEN_UNPRIVILEGED_GUEST)) || X86_GENERICARCH
+       default y
+ 
+ config X86_IO_APIC
+       bool
+-      depends on X86_UP_IOAPIC || (SMP && !(X86_VISWS || X86_VOYAGER)) || 
X86_GENERICARCH
++      depends on X86_UP_IOAPIC || (SMP && !(X86_VISWS || X86_VOYAGER || 
XEN_UNPRIVILEGED_GUEST)) || X86_GENERICARCH
+       default y
+ 
+ config X86_VISWS_APIC
+@@ -302,7 +313,7 @@ config X86_VISWS_APIC
+ 
+ config X86_MCE
+       bool "Machine Check Exception"
+-      depends on !X86_VOYAGER
++      depends on !(X86_VOYAGER || X86_XEN)
+       ---help---
+         Machine Check Exception support allows the processor to notify the
+         kernel if it detects a problem (e.g. overheating, component failure).
+@@ -401,6 +412,7 @@ config X86_REBOOTFIXUPS
+ 
+ config MICROCODE
+       tristate "/dev/cpu/microcode - Intel IA32 CPU microcode support"
++      depends on !XEN_UNPRIVILEGED_GUEST
+       select FW_LOADER
+       ---help---
+         If you say Y here and also to "/dev file system support" in the
+@@ -424,6 +436,7 @@ config MICROCODE_OLD_INTERFACE
+ 
+ config X86_MSR
+       tristate "/dev/cpu/*/msr - Model-specific register support"
++      depends on !X86_XEN
+       help
+         This device gives privileged processes access to the x86
+         Model-Specific Registers (MSRs).  It is a character device with
+@@ -439,6 +452,10 @@ config X86_CPUID
+         with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to
+         /dev/cpu/31/cpuid.
+ 
++config SWIOTLB
++      bool
++      default n
++
+ source "drivers/firmware/Kconfig"
+ 
+ choice
+@@ -611,7 +628,7 @@ source "mm/Kconfig"
+ 
+ config HIGHPTE
+       bool "Allocate 3rd-level pagetables from highmem"
+-      depends on HIGHMEM4G || HIGHMEM64G
++      depends on (HIGHMEM4G || HIGHMEM64G) && !X86_XEN
+       help
+         The VM uses one page table entry for each page of physical memory.
+         For systems with a lot of RAM, this can be wasteful of precious
+@@ -620,6 +637,7 @@ config HIGHPTE
+ 
+ config MATH_EMULATION
+       bool "Math emulation"
++      depends on !X86_XEN
+       ---help---
+         Linux can emulate a math coprocessor (used for floating point
+         operations) if you don't have one. 486DX and Pentium processors have
+@@ -645,6 +663,8 @@ config MATH_EMULATION
+ 
+ config MTRR
+       bool "MTRR (Memory Type Range Register) support"
++      depends on !XEN_UNPRIVILEGED_GUEST
++      default y if X86_XEN
+       ---help---
+         On Intel P6 family processors (Pentium Pro, Pentium II and later)
+         the Memory Type Range Registers (MTRRs) may be used to control
+@@ -679,7 +699,7 @@ config MTRR
+ 
+ config EFI
+       bool "Boot from EFI support"
+-      depends on ACPI
++      depends on ACPI && !X86_XEN
+       default n
+       ---help---
+       This enables the kernel to boot on EFI platforms using
+@@ -697,7 +717,7 @@ config EFI
+ 
+ config IRQBALANCE
+       bool "Enable kernel irq balancing"
+-      depends on SMP && X86_IO_APIC
++      depends on SMP && X86_IO_APIC && !X86_XEN
+       default y
+       help
+         The default yes will allow the kernel to do irq load balancing.
+@@ -745,6 +765,7 @@ source kernel/Kconfig.hz
+ 
+ config KEXEC
+       bool "kexec system call"
++      depends on !XEN_UNPRIVILEGED_GUEST
+       help
+         kexec is a system call that implements the ability to shutdown your
+         current kernel, and to start another kernel.  It is like a reboot
+@@ -804,7 +825,7 @@ config HOTPLUG_CPU
+ config COMPAT_VDSO
+       bool "Compat VDSO support"
+       default y
+-      depends on !PARAVIRT
++      depends on !X86_XEN
+       help
+         Map the VDSO to the predictable old-style address too.
+       ---help---
+@@ -821,18 +842,20 @@ config ARCH_ENABLE_MEMORY_HOTPLUG
+       depends on HIGHMEM
+ 
+ menu "Power management options (ACPI, APM)"
+-      depends on !X86_VOYAGER
++      depends on !(X86_VOYAGER || XEN_UNPRIVILEGED_GUEST)
+ 
++if !X86_XEN
+ source kernel/power/Kconfig
++endif
+ 
+ source "drivers/acpi/Kconfig"
+ 
+ menu "APM (Advanced Power Management) BIOS Support"
+-depends on PM && !X86_VISWS
++depends on PM && !(X86_VISWS || X86_XEN)
+ 
+ config APM
+       tristate "APM (Advanced Power Management) BIOS support"
+-      depends on PM
++      depends on PM && PM_LEGACY
+       ---help---
+         APM is a BIOS specification for saving power using several different
+         techniques. This is mostly useful for battery powered laptops with
+@@ -1017,6 +1040,7 @@ choice
+ 
+ config PCI_GOBIOS
+       bool "BIOS"
++      depends on !X86_XEN
+ 
+ config PCI_GOMMCONFIG
+       bool "MMConfig"
+@@ -1024,6 +1048,13 @@ config PCI_GOMMCONFIG
+ config PCI_GODIRECT
+       bool "Direct"
+ 
++config PCI_GOXEN_FE
++      bool "Xen PCI Frontend"
++      depends on X86_XEN
++      help
++        The PCI device frontend driver allows the kernel to import arbitrary
++        PCI devices from a PCI backend to support PCI driver domains.
++
+ config PCI_GOANY
+       bool "Any"
+ 
+@@ -1031,7 +1062,7 @@ endchoice
+ 
+ config PCI_BIOS
+       bool
+-      depends on !X86_VISWS && PCI && (PCI_GOBIOS || PCI_GOANY)
++      depends on !(X86_VISWS || X86_XEN) && PCI && (PCI_GOBIOS || PCI_GOANY)
+       default y
+ 
+ config PCI_DIRECT
+@@ -1044,6 +1075,18 @@ config PCI_MMCONFIG
+       depends on PCI && ACPI && (PCI_GOMMCONFIG || PCI_GOANY)
+       default y
+ 
++config XEN_PCIDEV_FRONTEND
++      bool
++      depends on PCI && X86_XEN && (PCI_GOXEN_FE || PCI_GOANY)
++      default y
++
++config XEN_PCIDEV_FE_DEBUG
++      bool "Xen PCI Frontend Debugging"
++      depends on XEN_PCIDEV_FRONTEND
++      default n
++      help
++        Enables some debug statements within the PCI Frontend.
++
+ source "drivers/pci/pcie/Kconfig"
+ 
+ source "drivers/pci/Kconfig"
+@@ -1054,7 +1097,7 @@ config ISA_DMA_API
+ 
+ config ISA
+       bool "ISA support"
+-      depends on !(X86_VOYAGER || X86_VISWS)
++      depends on !(X86_VOYAGER || X86_VISWS || X86_XEN)
+       help
+         Find out whether you have ISA slots on your motherboard.  ISA is the
+         name of a bus system, i.e. the way the CPU talks to the other stuff
+@@ -1081,7 +1124,7 @@ config EISA
+ source "drivers/eisa/Kconfig"
+ 
+ config MCA
+-      bool "MCA support" if !(X86_VISWS || X86_VOYAGER)
++      bool "MCA support" if !(X86_VISWS || X86_VOYAGER || X86_XEN)
+       default y if X86_VOYAGER
+       help
+         MicroChannel Architecture is found in some IBM PS/2 machines and
+@@ -1157,6 +1200,8 @@ source "security/Kconfig"
+ 
+ source "crypto/Kconfig"
+ 
++source "drivers/xen/Kconfig"
++
+ source "lib/Kconfig"
+ 
+ #
+@@ -1182,7 +1227,7 @@ config X86_SMP
+ 
+ config X86_HT
+       bool
+-      depends on SMP && !(X86_VISWS || X86_VOYAGER)
++      depends on SMP && !(X86_VISWS || X86_VOYAGER || X86_XEN)
+       default y
+ 
+ config X86_BIOS_REBOOT
+@@ -1195,6 +1240,16 @@ config X86_TRAMPOLINE
+       depends on X86_SMP || (X86_VOYAGER && SMP)
+       default y
+ 
++config X86_NO_TSS
++      bool
++      depends on X86_XEN
++      default y
++
++config X86_NO_IDT
++      bool
++      depends on X86_XEN
++      default y
++
+ config KTIME_SCALAR
+       bool
+       default y
+diff -ruNp linux-2.6.19/arch/i386/Kconfig.cpu 
linux-2.6.19-xen-3.0.4/arch/i386/Kconfig.cpu
+--- linux-2.6.19/arch/i386/Kconfig.cpu 2006-11-29 21:57:37.000000000 +0000
++++ linux-2.6.19-xen-3.0.4/arch/i386/Kconfig.cpu       2007-02-02 
19:10:20.000000000 +0000
+@@ -252,7 +252,7 @@ config X86_PPRO_FENCE
+ 
+ config X86_F00F_BUG
+       bool
+-      depends on M586MMX || M586TSC || M586 || M486 || M386
++      depends on (M586MMX || M586TSC || M586 || M486 || M386) && !X86_NO_IDT
+       default y
+ 
+ config X86_WP_WORKS_OK
+@@ -312,5 +312,5 @@ config X86_OOSTORE
+ 
+ config X86_TSC
+       bool
+-      depends on (MWINCHIP3D || MWINCHIP2 || MCRUSOE || MEFFICEON || 
MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII 
|| M686 || M586MMX || M586TSC || MK8 || MVIAC3_2 || MGEODEGX1 || MGEODE_LX) && 
!X86_NUMAQ
++      depends on (MWINCHIP3D || MWINCHIP2 || MCRUSOE || MEFFICEON || 
MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII 
|| M686 || M586MMX || M586TSC || MK8 || MVIAC3_2 || MGEODEGX1 || MGEODE_LX) && 
!X86_NUMAQ && !X86_XEN
+       default y
+diff -ruNp linux-2.6.19/arch/i386/Kconfig.debug 
linux-2.6.19-xen-3.0.4/arch/i386/Kconfig.debug
+--- linux-2.6.19/arch/i386/Kconfig.debug       2006-11-29 21:57:37.000000000 
+0000
++++ linux-2.6.19-xen-3.0.4/arch/i386/Kconfig.debug     2007-02-02 
19:10:20.000000000 +0000
+@@ -79,6 +79,7 @@ config X86_MPPARSE
+ config DOUBLEFAULT
+       default y
+       bool "Enable doublefault exception handler" if EMBEDDED
++      depends on !X86_NO_TSS
+       help
+           This option allows trapping of rare doublefault exceptions that
+           would otherwise cause a system to silently reboot. Disabling this
+diff -ruNp linux-2.6.19/arch/i386/Makefile 
linux-2.6.19-xen-3.0.4/arch/i386/Makefile
+--- linux-2.6.19/arch/i386/Makefile    2006-11-29 21:57:37.000000000 +0000
++++ linux-2.6.19-xen-3.0.4/arch/i386/Makefile  2007-02-02 19:10:20.000000000 
+0000
+@@ -60,6 +60,11 @@ AFLAGS += $(call as-instr,.cfi_startproc
+ 
+ CFLAGS += $(cflags-y)
+ 
++cppflags-$(CONFIG_XEN) += \
++      -D__XEN_INTERFACE_VERSION__=$(CONFIG_XEN_INTERFACE_VERSION)
++
++CPPFLAGS += $(cppflags-y)
++
+ # Default subarch .c files
+ mcore-y  := mach-default
+ 
+@@ -83,6 +88,10 @@ mcore-$(CONFIG_X86_BIGSMP)  := mach-defau
+ mflags-$(CONFIG_X86_SUMMIT) := -Iinclude/asm-i386/mach-summit
+ mcore-$(CONFIG_X86_SUMMIT)  := mach-default
+ 
++# Xen subarch support
++mflags-$(CONFIG_X86_XEN)      := -Iinclude/asm-i386/mach-xen
++mcore-$(CONFIG_X86_XEN)               := mach-xen
++
+ # generic subarchitecture
+ mflags-$(CONFIG_X86_GENERICARCH) := -Iinclude/asm-i386/mach-generic
+ mcore-$(CONFIG_X86_GENERICARCH) := mach-default
+@@ -117,6 +126,19 @@ boot := arch/i386/boot
+ PHONY += zImage bzImage compressed zlilo bzlilo \
+          zdisk bzdisk fdimage fdimage144 fdimage288 isoimage install
+ 
++ifdef CONFIG_XEN
++CPPFLAGS := -Iinclude$(if $(KBUILD_SRC),2)/asm/mach-xen $(CPPFLAGS)
++head-y := arch/i386/kernel/head-xen.o arch/i386/kernel/init_task-xen.o
++boot := arch/i386/boot-xen
++.PHONY: vmlinuz
++all: vmlinuz
++
++vmlinuz: vmlinux
++      $(Q)$(MAKE) $(build)=$(boot) $@
++
++install:
++      $(Q)$(MAKE) $(build)=$(boot) XENGUEST=$(XENGUEST) $@
++else
+ all: bzImage
+ 
+ # KBUILD_IMAGE specify target image being built
+@@ -139,6 +161,7 @@ fdimage fdimage144 fdimage288 isoimage: 
+ 
+ install:
+       $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install
++endif
+ 
+ archclean:
+       $(Q)$(MAKE) $(clean)=arch/i386/boot
+@@ -157,3 +180,4 @@ endef
+ CLEAN_FILES += arch/$(ARCH)/boot/fdimage \
+              arch/$(ARCH)/boot/image.iso \
+              arch/$(ARCH)/boot/mtools.conf
++CLEAN_FILES += vmlinuz vmlinux-stripped
+diff -ruNp linux-2.6.19/arch/i386/boot-xen/Makefile 
linux-2.6.19-xen-3.0.4/arch/i386/boot-xen/Makefile
+--- linux-2.6.19/arch/i386/boot-xen/Makefile   1970-01-01 00:00:00.000000000 
+0000
++++ linux-2.6.19-xen-3.0.4/arch/i386/boot-xen/Makefile 2007-02-02 
19:10:20.000000000 +0000
+@@ -0,0 +1,21 @@
++
++OBJCOPYFLAGS := -g --strip-unneeded
++
++vmlinuz: vmlinux-stripped FORCE
++      $(call if_changed,gzip)
++
++vmlinux-stripped: vmlinux FORCE
++      $(call if_changed,objcopy)
++
++INSTALL_ROOT := $(patsubst %/boot,%,$(INSTALL_PATH))
++
++XINSTALL_NAME ?= $(KERNELRELEASE)
++install:
++      mkdir -p $(INSTALL_ROOT)/boot
++      ln -f -s vmlinuz-$(XINSTALL_NAME)$(INSTALL_SUFFIX) 
$(INSTALL_ROOT)/boot/vmlinuz-$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(XENGUEST)$(INSTALL_SUFFIX)
++      rm -f $(INSTALL_ROOT)/boot/vmlinuz-$(XINSTALL_NAME)$(INSTALL_SUFFIX)
++      install -m0644 vmlinuz 
$(INSTALL_ROOT)/boot/vmlinuz-$(XINSTALL_NAME)$(INSTALL_SUFFIX)
++      install -m0644 vmlinux 
$(INSTALL_ROOT)/boot/vmlinux-syms-$(XINSTALL_NAME)$(INSTALL_SUFFIX)
++      install -m0664 .config 
$(INSTALL_ROOT)/boot/config-$(XINSTALL_NAME)$(INSTALL_SUFFIX)
++      install -m0664 System.map 
$(INSTALL_ROOT)/boot/System.map-$(XINSTALL_NAME)$(INSTALL_SUFFIX)
++      ln -f -s vmlinuz-$(XINSTALL_NAME)$(INSTALL_SUFFIX) 
$(INSTALL_ROOT)/boot/vmlinuz-$(VERSION).$(PATCHLEVEL)$(XENGUEST)$(INSTALL_SUFFIX)
+diff -ruNp linux-2.6.19/arch/i386/kernel/Makefile 
linux-2.6.19-xen-3.0.4/arch/i386/kernel/Makefile
+--- linux-2.6.19/arch/i386/kernel/Makefile     2006-11-29 21:57:37.000000000 
+0000
++++ linux-2.6.19-xen-3.0.4/arch/i386/kernel/Makefile   2007-02-02 
19:10:20.000000000 +0000
+@@ -44,6 +44,12 @@ EXTRA_AFLAGS   := -traditional
+ 
+ obj-$(CONFIG_SCx200)          += scx200.o
+ 
++ifdef CONFIG_XEN
++vsyscall_note := vsyscall-note-xen.o
++else
++vsyscall_note := vsyscall-note.o
++endif
++
+ # vsyscall.o contains the vsyscall DSO images as __initdata.
+ # We must build both images before we can assemble it.
+ # Note: kbuild does not track this dependency due to usage of .incbin
+@@ -65,7 +71,7 @@ SYSCFLAGS_vsyscall-int80.so  = $(vsyscall
+ 
+ $(obj)/vsyscall-int80.so $(obj)/vsyscall-sysenter.so: \
+ $(obj)/vsyscall-%.so: $(src)/vsyscall.lds \
+-                    $(obj)/vsyscall-%.o $(obj)/vsyscall-note.o FORCE
++                    $(obj)/vsyscall-%.o $(obj)/$(vsyscall_note) FORCE
+       $(call if_changed,syscall)
+ 
+ # We also create a special relocatable object that should mirror the symbol
+@@ -77,9 +83,20 @@ $(obj)/built-in.o: ld_flags += -R $(obj)
+ 
+ SYSCFLAGS_vsyscall-syms.o = -r
+ $(obj)/vsyscall-syms.o: $(src)/vsyscall.lds \
+-                      $(obj)/vsyscall-sysenter.o $(obj)/vsyscall-note.o FORCE
++                      $(obj)/vsyscall-sysenter.o $(obj)/$(vsyscall_note) FORCE
+       $(call if_changed,syscall)
+ 
+ k8-y                      += ../../x86_64/kernel/k8.o
+ stacktrace-y            += ../../x86_64/kernel/stacktrace.o
+ 
++ifdef CONFIG_XEN
++include $(srctree)/scripts/Makefile.xen
++
++obj-y += fixup.o
++microcode-$(subst m,y,$(CONFIG_MICROCODE)) := microcode-xen.o
++n-obj-xen := i8259.o timers/ reboot.o smpboot.o trampoline.o
++
++obj-y := $(call filterxen, $(obj-y), $(n-obj-xen))
++obj-y := $(call cherrypickxen, $(obj-y))
++extra-y := $(call cherrypickxen, $(extra-y))
++endif
+diff -ruNp linux-2.6.19/arch/i386/kernel/acpi/Makefile 
linux-2.6.19-xen-3.0.4/arch/i386/kernel/acpi/Makefile
+--- linux-2.6.19/arch/i386/kernel/acpi/Makefile        2006-11-29 
21:57:37.000000000 +0000
++++ linux-2.6.19-xen-3.0.4/arch/i386/kernel/acpi/Makefile      2007-02-02 
19:10:20.000000000 +0000
+@@ -8,3 +8,7 @@ ifneq ($(CONFIG_ACPI_PROCESSOR),)
+ obj-y                         += cstate.o processor.o
+ endif
+ 
++ifdef CONFIG_XEN
++include $(srctree)/scripts/Makefile.xen
++obj-y := $(call cherrypickxen, $(obj-y), $(src))
++endif
+diff -ruNp linux-2.6.19/arch/i386/kernel/acpi/boot-xen.c 
linux-2.6.19-xen-3.0.4/arch/i386/kernel/acpi/boot-xen.c
+--- linux-2.6.19/arch/i386/kernel/acpi/boot-xen.c      1970-01-01 
00:00:00.000000000 +0000
++++ linux-2.6.19-xen-3.0.4/arch/i386/kernel/acpi/boot-xen.c    2007-02-02 
19:10:20.000000000 +0000
+@@ -0,0 +1,1332 @@
++/*
++ *  boot.c - Architecture-Specific Low-Level ACPI Boot Support
++ *
++ *  Copyright (C) 2001, 2002 Paul Diefenbaugh <[EMAIL PROTECTED]>
++ *  Copyright (C) 2001 Jun Nakajima <[EMAIL PROTECTED]>
++ *
++ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
++ *
++ *  This program is free software; you can redistribute it and/or modify
++ *  it under the terms of the GNU General Public License as published by
++ *  the Free Software Foundation; either version 2 of the License, or
++ *  (at your option) any later version.
++ *
++ *  This program is distributed in the hope that it will be useful,
++ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
++ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++ *  GNU General Public License for more details.
++ *
++ *  You should have received a copy of the GNU General Public License
++ *  along with this program; if not, write to the Free Software
++ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
++ *
++ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
++ */
++
++#include <linux/init.h>
++#include <linux/acpi.h>
++#include <linux/efi.h>
++#include <linux/cpumask.h>
++#include <linux/module.h>
++#include <linux/dmi.h>
++#include <linux/irq.h>
++#include <linux/bootmem.h>
++#include <linux/ioport.h>
++
++#include <asm/pgtable.h>
++#include <asm/io_apic.h>
++#include <asm/apic.h>
++#include <asm/io.h>
++#include <asm/mpspec.h>
++
++static int __initdata acpi_force = 0;
++
++#ifdef        CONFIG_ACPI
++int acpi_disabled = 0;
++#else
++int acpi_disabled = 1;
++#endif
++EXPORT_SYMBOL(acpi_disabled);
++
++#ifdef        CONFIG_X86_64
++
++#include <asm/proto.h>
++
++static inline int acpi_madt_oem_check(char *oem_id, char *oem_table_id) { 
return 0; }
++
++
++#else                         /* X86 */
++
++#ifdef        CONFIG_X86_LOCAL_APIC
++#include <mach_apic.h>
++#include <mach_mpparse.h>
++#endif                                /* CONFIG_X86_LOCAL_APIC */
++
++#endif                                /* X86 */
++
++#define BAD_MADT_ENTRY(entry, end) (                                      \
++              (!entry) || (unsigned long)entry + sizeof(*entry) > end ||  \
++              ((acpi_table_entry_header *)entry)->length < sizeof(*entry))
++
++#define PREFIX                        "ACPI: "
++
++int acpi_noirq;                               /* skip ACPI IRQ initialization 
*/
++int acpi_pci_disabled __initdata;     /* skip ACPI PCI scan and IRQ 
initialization */
++int acpi_ht __initdata = 1;   /* enable HT */
++
++int acpi_lapic;
++int acpi_ioapic;
++int acpi_strict;
++EXPORT_SYMBOL(acpi_strict);
++
++acpi_interrupt_flags acpi_sci_flags __initdata;
++int acpi_sci_override_gsi __initdata;
++int acpi_skip_timer_override __initdata;
++int acpi_use_timer_override __initdata;
++
++#ifdef CONFIG_X86_LOCAL_APIC
++static u64 acpi_lapic_addr __initdata = APIC_DEFAULT_PHYS_BASE;
++#endif
++
++#ifndef __HAVE_ARCH_CMPXCHG
++#warning ACPI uses CMPXCHG, i486 and later hardware
++#endif
++
++#define MAX_MADT_ENTRIES      256
<<Diff was trimmed, longer than 597 lines>>
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to