aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>2003-06-27 14:18:00 +0000
committeriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>2003-06-27 14:18:00 +0000
commit6d56b5e5e2f3caed77003fb913cd9f71e06de7f3 (patch)
tree8bd2ebe9796f3e7951660e3cf06318a3d2d34a1d
parentc0535d5e52c6d6f5cb1d5b8cc3be1eb8f69244be (diff)
downloadxen-6d56b5e5e2f3caed77003fb913cd9f71e06de7f3.tar.gz
xen-6d56b5e5e2f3caed77003fb913cd9f71e06de7f3.tar.bz2
xen-6d56b5e5e2f3caed77003fb913cd9f71e06de7f3.zip
bitkeeper revision 1.258 (3efc5218v9et-leaVGHVRu-faTh56g)
update to official 2.4.21 kernel from 2.4.21-pre4
-rw-r--r--.rootkeys164
-rw-r--r--xenolinux-2.4.21-sparse/Makefile (renamed from xenolinux-2.4.21-pre4-sparse/Makefile)9
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/Makefile (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/Makefile)6
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/boot/Makefile (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/boot/Makefile)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/config.in (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/config.in)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/defconfig (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/defconfig)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/drivers/balloon/Makefile (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/balloon/Makefile)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/drivers/balloon/balloon.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/balloon/balloon.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/drivers/balloon/dom_mem_ops.h (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/balloon/dom_mem_ops.h)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/drivers/block/Makefile (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/Makefile)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_block.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_block.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_block.h (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_block.h)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_ide.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_ide.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_scsi.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_scsi.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_segment.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_segment.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_segment_proc.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_segment_proc.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/drivers/console/Makefile (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/console/Makefile)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/drivers/console/console.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/console/console.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/Makefile (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/Makefile)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/dom0_block.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/dom0_block.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/dom0_core.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/dom0_core.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/dom0_memory.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/dom0_memory.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/dom0_ops.h (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/dom0_ops.h)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/sched_ops.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/sched_ops.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/vfr.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/vfr.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/drivers/network/Makefile (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/network/Makefile)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/drivers/network/network.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/network/network.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/kernel/Makefile (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/Makefile)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/kernel/entry.S (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/entry.S)8
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/kernel/head.S (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/head.S)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/kernel/hypervisor.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/hypervisor.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/kernel/i386_ksyms.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/i386_ksyms.c)1
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/kernel/ioport.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/ioport.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/kernel/irq.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/irq.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/kernel/ldt.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/ldt.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/kernel/process.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/process.c)2
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/kernel/setup.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/setup.c)17
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/kernel/signal.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/signal.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/kernel/time.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/time.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/kernel/traps.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/traps.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/lib/Makefile (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/lib/Makefile)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/lib/delay.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/lib/delay.c)5
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/mm/Makefile (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/Makefile)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/mm/fault.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/fault.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/mm/get_unmapped_area.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/get_unmapped_area.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/mm/hypervisor.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/hypervisor.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/mm/init.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/init.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/mm/mmu_context.c (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/mmu_context.c)0
-rw-r--r--xenolinux-2.4.21-sparse/arch/xeno/vmlinux.lds (renamed from xenolinux-2.4.21-pre4-sparse/arch/xeno/vmlinux.lds)0
-rw-r--r--xenolinux-2.4.21-sparse/drivers/block/genhd.c (renamed from xenolinux-2.4.21-pre4-sparse/drivers/block/genhd.c)0
-rw-r--r--xenolinux-2.4.21-sparse/drivers/block/ll_rw_blk.c (renamed from xenolinux-2.4.21-pre4-sparse/drivers/block/ll_rw_blk.c)17
-rw-r--r--xenolinux-2.4.21-sparse/drivers/char/tty_io.c (renamed from xenolinux-2.4.21-pre4-sparse/drivers/char/tty_io.c)67
-rw-r--r--xenolinux-2.4.21-sparse/fs/exec.c (renamed from xenolinux-2.4.21-pre4-sparse/fs/exec.c)6
-rw-r--r--xenolinux-2.4.21-sparse/include/asm-xeno/bugs.h (renamed from xenolinux-2.4.21-pre4-sparse/include/asm-xeno/bugs.h)0
-rw-r--r--xenolinux-2.4.21-sparse/include/asm-xeno/desc.h (renamed from xenolinux-2.4.21-pre4-sparse/include/asm-xeno/desc.h)0
-rw-r--r--xenolinux-2.4.21-sparse/include/asm-xeno/fixmap.h (renamed from xenolinux-2.4.21-pre4-sparse/include/asm-xeno/fixmap.h)0
-rw-r--r--xenolinux-2.4.21-sparse/include/asm-xeno/highmem.h (renamed from xenolinux-2.4.21-pre4-sparse/include/asm-xeno/highmem.h)0
-rw-r--r--xenolinux-2.4.21-sparse/include/asm-xeno/hw_irq.h (renamed from xenolinux-2.4.21-pre4-sparse/include/asm-xeno/hw_irq.h)0
-rw-r--r--xenolinux-2.4.21-sparse/include/asm-xeno/hypervisor.h (renamed from xenolinux-2.4.21-pre4-sparse/include/asm-xeno/hypervisor.h)0
-rw-r--r--xenolinux-2.4.21-sparse/include/asm-xeno/io.h (renamed from xenolinux-2.4.21-pre4-sparse/include/asm-xeno/io.h)0
-rw-r--r--xenolinux-2.4.21-sparse/include/asm-xeno/irq.h (renamed from xenolinux-2.4.21-pre4-sparse/include/asm-xeno/irq.h)0
-rw-r--r--xenolinux-2.4.21-sparse/include/asm-xeno/keyboard.h (renamed from xenolinux-2.4.21-pre4-sparse/include/asm-xeno/keyboard.h)0
-rw-r--r--xenolinux-2.4.21-sparse/include/asm-xeno/mmu.h (renamed from xenolinux-2.4.21-pre4-sparse/include/asm-xeno/mmu.h)0
-rw-r--r--xenolinux-2.4.21-sparse/include/asm-xeno/mmu_context.h (renamed from xenolinux-2.4.21-pre4-sparse/include/asm-xeno/mmu_context.h)0
-rw-r--r--xenolinux-2.4.21-sparse/include/asm-xeno/multicall.h (renamed from xenolinux-2.4.21-pre4-sparse/include/asm-xeno/multicall.h)0
-rw-r--r--xenolinux-2.4.21-sparse/include/asm-xeno/page.h (renamed from xenolinux-2.4.21-pre4-sparse/include/asm-xeno/page.h)0
-rw-r--r--xenolinux-2.4.21-sparse/include/asm-xeno/pgalloc.h (renamed from xenolinux-2.4.21-pre4-sparse/include/asm-xeno/pgalloc.h)0
-rw-r--r--xenolinux-2.4.21-sparse/include/asm-xeno/pgtable-2level.h (renamed from xenolinux-2.4.21-pre4-sparse/include/asm-xeno/pgtable-2level.h)0
-rw-r--r--xenolinux-2.4.21-sparse/include/asm-xeno/pgtable.h (renamed from xenolinux-2.4.21-pre4-sparse/include/asm-xeno/pgtable.h)0
-rw-r--r--xenolinux-2.4.21-sparse/include/asm-xeno/processor.h (renamed from xenolinux-2.4.21-pre4-sparse/include/asm-xeno/processor.h)6
-rw-r--r--xenolinux-2.4.21-sparse/include/asm-xeno/ptrace.h (renamed from xenolinux-2.4.21-pre4-sparse/include/asm-xeno/ptrace.h)0
-rw-r--r--xenolinux-2.4.21-sparse/include/asm-xeno/segment.h (renamed from xenolinux-2.4.21-pre4-sparse/include/asm-xeno/segment.h)0
-rw-r--r--xenolinux-2.4.21-sparse/include/asm-xeno/smp.h (renamed from xenolinux-2.4.21-pre4-sparse/include/asm-xeno/smp.h)0
-rw-r--r--xenolinux-2.4.21-sparse/include/asm-xeno/system.h (renamed from xenolinux-2.4.21-pre4-sparse/include/asm-xeno/system.h)3
-rw-r--r--xenolinux-2.4.21-sparse/include/linux/major.h (renamed from xenolinux-2.4.21-pre4-sparse/include/linux/major.h)0
-rw-r--r--xenolinux-2.4.21-sparse/include/linux/sunrpc/debug.h (renamed from xenolinux-2.4.21-pre4-sparse/include/linux/sunrpc/debug.h)0
-rw-r--r--xenolinux-2.4.21-sparse/init/do_mounts.c (renamed from xenolinux-2.4.21-pre4-sparse/init/do_mounts.c)43
-rw-r--r--xenolinux-2.4.21-sparse/kernel/panic.c (renamed from xenolinux-2.4.21-pre4-sparse/kernel/panic.c)0
-rwxr-xr-xxenolinux-2.4.21-sparse/lndir-rel (renamed from xenolinux-2.4.21-pre4-sparse/lndir-rel)bin15929 -> 15929 bytes
-rwxr-xr-xxenolinux-2.4.21-sparse/mkbuildtree (renamed from xenolinux-2.4.21-pre4-sparse/mkbuildtree)0
-rw-r--r--xenolinux-2.4.21-sparse/mm/memory.c (renamed from xenolinux-2.4.21-pre4-sparse/mm/memory.c)0
-rw-r--r--xenolinux-2.4.21-sparse/mm/mremap.c (renamed from xenolinux-2.4.21-pre4-sparse/mm/mremap.c)0
-rw-r--r--xenolinux-2.4.21-sparse/mm/swapfile.c (renamed from xenolinux-2.4.21-pre4-sparse/mm/swapfile.c)5
83 files changed, 218 insertions, 141 deletions
diff --git a/.rootkeys b/.rootkeys
index dfa4c10dbd..5e185dc237 100644
--- a/.rootkeys
+++ b/.rootkeys
@@ -469,85 +469,85 @@
3eb3c87fmKYTC5GCh_rydFakZp9ayw xen/tools/figlet/README
3eb3c87fdQKQ5OBGbM-KjZfi9Us4ng xen/tools/figlet/figlet.c
3eb3c87fS7DNbg0i6yhFs28UIqAK5g xen/tools/figlet/xen.flf
-3e5a4e6589G-U42lFKs43plskXoFxQ xenolinux-2.4.21-pre4-sparse/Makefile
-3e5a4e65IEPjnWPZ5w3TxS5scV8Ewg xenolinux-2.4.21-pre4-sparse/arch/xeno/Makefile
-3e5a4e65n-KhsEAs-A4ULiStBp-r6w xenolinux-2.4.21-pre4-sparse/arch/xeno/boot/Makefile
-3e5a4e65OV_j_DBtjzt5vej771AJsA xenolinux-2.4.21-pre4-sparse/arch/xeno/config.in
-3e5a4e65TNEycLeXqPSXQJQm_xGecA xenolinux-2.4.21-pre4-sparse/arch/xeno/defconfig
-3e6377f5xwPfYZkPHPrDbEq1PRN7uQ xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/balloon/Makefile
-3e6377f8Me8IqtvEhb70XFgOvqQH7A xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/balloon/balloon.c
-3e6377fbMjXWAQd0XN0FWv4fDEo6fg xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/balloon/dom_mem_ops.h
-3e5a4e65iHEuC5sjFhj42XALYbLVRw xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/Makefile
-3e5a4e65pP5spJErBW69pJxSSdK9RA xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_block.c
-3e67f822FOPwqHiaRKbrskgWgoNL5g xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_block.h
-3e677190SjkzJIvFifRVeYpIZOCtYA xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_ide.c
-3e677193nOKKTLJzcAu4SYdbZaia8g xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_scsi.c
-3e676eb5RXnHzSHgA1BvM0B1aIm4qg xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_segment.c
-3e5d129aDldt6geU2-2SzBae34sQzg xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_segment_proc.c
-3e5a4e65G3e2s0ghPMgiJ-gBTUJ0uQ xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/console/Makefile
-3e5a4e651TH-SXHoufurnWjgl5bfOA xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/console/console.c
-3e5a4e656nfFISThfbyXQOA6HN6YHw xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/Makefile
-3e5a4e65Cc7io-vynYob10SlqXTjAQ xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/dom0_block.c
-3e5a4e65BXtftInNHUC2PjDfPhdZZA xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/dom0_core.c
-3e5a4e65uXAx05p6B1-HU2tijuw8qA xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/dom0_memory.c
-3e5a4e65EOOLlPwXnhSuX-iVdWLmnA xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/dom0_ops.h
-3e6dba59C8o0kBks7UZ4IW_FY853Aw xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/sched_ops.c
-3e5a4e65gfn_ltB8ujHMVFApnTTNRQ xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/vfr.c
-3e5a4e65gZBRBB6RsSVg1c9iahigAw xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/network/Makefile
-3e5a4e65ZxKrbFetVB84JhrTyZ1YuQ xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/network/network.c
-3e5a4e65lWzkiPXsZdzPt2RNnJGG1g xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/Makefile
-3e5a4e65_hqfuxtGG8IUy6wRM86Ecg xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/entry.S
-3e5a4e65Hy_1iUvMTPsNqGNXd9uFpg xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/head.S
-3e5a4e65ibVQmwlOn0j3sVH_j_6hAg xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/hypervisor.c
-3e5a4e65RMGcuA-HCn3-wNx3fFQwdg xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/i386_ksyms.c
-3e5a4e65MEvZhlr070sK5JsfAQlv7Q xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/ioport.c
-3e5a4e653U6cELGv528IxOLHvCq8iA xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/irq.c
-3e5a4e65muT6SU3ck47IP87Q7Ti5hA xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/ldt.c
-3e5a4e65IGt3WwQDNiL4h-gYWgNTWQ xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/process.c
-3e5a4e66tR-qJMLj3MppcKqmvuI2XQ xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/setup.c
-3e5a4e66fWSTagLGU2P8BGFGRjhDiw xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/signal.c
-3e5a4e66N__lUXNwzQ-eADRzK9LXuQ xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/time.c
-3e5a4e66aHCbQ_F5QZ8VeyikLmuRZQ xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/traps.c
-3e5a4e66-9_NczrVMbuQkoSLyXckIw xenolinux-2.4.21-pre4-sparse/arch/xeno/lib/Makefile
-3e5a4e6637ZDk0BvFEC-aFQs599-ng xenolinux-2.4.21-pre4-sparse/arch/xeno/lib/delay.c
-3e5a4e66croVgpcJyJuF2ycQw0HuJw xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/Makefile
-3e5a4e66l8Q5Tv-6B3lQIRmaVbFPzg xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/fault.c
-3e5a4e66TyNNUEXkr5RxqvQhXK1MQA xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/get_unmapped_area.c
-3e5a4e668SE9rixq4ahho9rNhLUUFQ xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/hypervisor.c
-3e5a4e661gLzzff25pJooKIIWe7IWg xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/init.c
-3e5a4e66U45cAIoHmxg0y1e1XhzVCA xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/mmu_context.c
-3e5a4e66qRlSTcjafidMB6ulECADvg xenolinux-2.4.21-pre4-sparse/arch/xeno/vmlinux.lds
-3ea53c6em6uzVHSiGqrbbAVofyRY_g xenolinux-2.4.21-pre4-sparse/drivers/block/genhd.c
-3e5a4e66mrtlmV75L1tjKDg8RaM5gA xenolinux-2.4.21-pre4-sparse/drivers/block/ll_rw_blk.c
-3e5a4e66rw65CxyolW9PKz4GG42RcA xenolinux-2.4.21-pre4-sparse/drivers/char/tty_io.c
-3e5a4e669uzIE54VwucPYtGwXLAbzA xenolinux-2.4.21-pre4-sparse/fs/exec.c
-3e5a4e66wbeCpsJgVf_U8Jde-CNcsA xenolinux-2.4.21-pre4-sparse/include/asm-xeno/bugs.h
-3e5a4e66HdSkvIV6SJ1evG_xmTmXHA xenolinux-2.4.21-pre4-sparse/include/asm-xeno/desc.h
-3e5a4e66SYp_UpAVcF8Lc1wa3Qtgzw xenolinux-2.4.21-pre4-sparse/include/asm-xeno/fixmap.h
-3e5a4e67w_DWgjIJ17Tlossu1LGujQ xenolinux-2.4.21-pre4-sparse/include/asm-xeno/highmem.h
-3e5a4e67YtcyDLQsShhCfQwPSELfvA xenolinux-2.4.21-pre4-sparse/include/asm-xeno/hw_irq.h
-3e5a4e677VBavzM1UZIEcH1B-RlXMA xenolinux-2.4.21-pre4-sparse/include/asm-xeno/hypervisor.h
-3e5a4e67Ulv-Ll8Zp4j2GwMwQ8aAXQ xenolinux-2.4.21-pre4-sparse/include/asm-xeno/io.h
-3e5a4e673p7PEOyHFm3nHkYX6HQYBg xenolinux-2.4.21-pre4-sparse/include/asm-xeno/irq.h
-3ead095db_LRUXnxaqs0dA1DWhPoQQ xenolinux-2.4.21-pre4-sparse/include/asm-xeno/keyboard.h
-3e5a4e67zoNch27qYhEBpr2k6SABOg xenolinux-2.4.21-pre4-sparse/include/asm-xeno/mmu.h
-3e5a4e678ddsQOpbSiRdy1GRcDc9WA xenolinux-2.4.21-pre4-sparse/include/asm-xeno/mmu_context.h
-3e7270deQqtGPSnFxcW4AvJZuTUWfg xenolinux-2.4.21-pre4-sparse/include/asm-xeno/multicall.h
-3e5a4e67mnQfh-R8KcQCaVo2Oho6yg xenolinux-2.4.21-pre4-sparse/include/asm-xeno/page.h
-3e5a4e67uTYU5oEnIDjxuaez8njjqg xenolinux-2.4.21-pre4-sparse/include/asm-xeno/pgalloc.h
-3e5a4e67X7JyupgdYkgDX19Huj2sAw xenolinux-2.4.21-pre4-sparse/include/asm-xeno/pgtable-2level.h
-3e5a4e67gr4NLGtQ5CvSLimMYZlkOA xenolinux-2.4.21-pre4-sparse/include/asm-xeno/pgtable.h
-3e5a4e676uK4xErTBDH6XJREn9LSyg xenolinux-2.4.21-pre4-sparse/include/asm-xeno/processor.h
-3e5a4e67AJPjW-zL7p-xWuA6IVeH1g xenolinux-2.4.21-pre4-sparse/include/asm-xeno/ptrace.h
-3e5a4e68uJz-xI0IBVMD7xRLQKJDFg xenolinux-2.4.21-pre4-sparse/include/asm-xeno/segment.h
-3e5a4e68Nfdh6QcOKUTGCaYkf2LmYA xenolinux-2.4.21-pre4-sparse/include/asm-xeno/smp.h
-3e5a4e68mTr0zcp9SXDbnd-XLrrfxw xenolinux-2.4.21-pre4-sparse/include/asm-xeno/system.h
-3e5a4e68WLX3B8owTvktP3HHOtznPQ xenolinux-2.4.21-pre4-sparse/include/linux/major.h
-3e5a4e686V0nioX2ZpFf056sgvdiQw xenolinux-2.4.21-pre4-sparse/include/linux/sunrpc/debug.h
-3e5a4e68W_hpMlM3u_-QOKMp3gzcwQ xenolinux-2.4.21-pre4-sparse/init/do_mounts.c
-3e5a4e68TJJavrunYwTAnLRSBxSYqQ xenolinux-2.4.21-pre4-sparse/kernel/panic.c
-3eba8f878XjouY21EkQBXwYBsPsipQ xenolinux-2.4.21-pre4-sparse/lndir-rel
-3e6e7c1efbQe93xCvOpOVCnXTMmQ5w xenolinux-2.4.21-pre4-sparse/mkbuildtree
-3e5a4e68GxCIaFH4sy01v1wjapetaA xenolinux-2.4.21-pre4-sparse/mm/memory.c
-3e5a4e681xMPdF9xCMwpyfuYMySU5g xenolinux-2.4.21-pre4-sparse/mm/mremap.c
-3e5a4e683HKVU-sxtagrDasRB8eBVw xenolinux-2.4.21-pre4-sparse/mm/swapfile.c
+3e5a4e6589G-U42lFKs43plskXoFxQ xenolinux-2.4.21-sparse/Makefile
+3e5a4e65IEPjnWPZ5w3TxS5scV8Ewg xenolinux-2.4.21-sparse/arch/xeno/Makefile
+3e5a4e65n-KhsEAs-A4ULiStBp-r6w xenolinux-2.4.21-sparse/arch/xeno/boot/Makefile
+3e5a4e65OV_j_DBtjzt5vej771AJsA xenolinux-2.4.21-sparse/arch/xeno/config.in
+3e5a4e65TNEycLeXqPSXQJQm_xGecA xenolinux-2.4.21-sparse/arch/xeno/defconfig
+3e6377f5xwPfYZkPHPrDbEq1PRN7uQ xenolinux-2.4.21-sparse/arch/xeno/drivers/balloon/Makefile
+3e6377f8Me8IqtvEhb70XFgOvqQH7A xenolinux-2.4.21-sparse/arch/xeno/drivers/balloon/balloon.c
+3e6377fbMjXWAQd0XN0FWv4fDEo6fg xenolinux-2.4.21-sparse/arch/xeno/drivers/balloon/dom_mem_ops.h
+3e5a4e65iHEuC5sjFhj42XALYbLVRw xenolinux-2.4.21-sparse/arch/xeno/drivers/block/Makefile
+3e5a4e65pP5spJErBW69pJxSSdK9RA xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_block.c
+3e67f822FOPwqHiaRKbrskgWgoNL5g xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_block.h
+3e677190SjkzJIvFifRVeYpIZOCtYA xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_ide.c
+3e677193nOKKTLJzcAu4SYdbZaia8g xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_scsi.c
+3e676eb5RXnHzSHgA1BvM0B1aIm4qg xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_segment.c
+3e5d129aDldt6geU2-2SzBae34sQzg xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_segment_proc.c
+3e5a4e65G3e2s0ghPMgiJ-gBTUJ0uQ xenolinux-2.4.21-sparse/arch/xeno/drivers/console/Makefile
+3e5a4e651TH-SXHoufurnWjgl5bfOA xenolinux-2.4.21-sparse/arch/xeno/drivers/console/console.c
+3e5a4e656nfFISThfbyXQOA6HN6YHw xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/Makefile
+3e5a4e65Cc7io-vynYob10SlqXTjAQ xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/dom0_block.c
+3e5a4e65BXtftInNHUC2PjDfPhdZZA xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/dom0_core.c
+3e5a4e65uXAx05p6B1-HU2tijuw8qA xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/dom0_memory.c
+3e5a4e65EOOLlPwXnhSuX-iVdWLmnA xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/dom0_ops.h
+3e6dba59C8o0kBks7UZ4IW_FY853Aw xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/sched_ops.c
+3e5a4e65gfn_ltB8ujHMVFApnTTNRQ xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/vfr.c
+3e5a4e65gZBRBB6RsSVg1c9iahigAw xenolinux-2.4.21-sparse/arch/xeno/drivers/network/Makefile
+3e5a4e65ZxKrbFetVB84JhrTyZ1YuQ xenolinux-2.4.21-sparse/arch/xeno/drivers/network/network.c
+3e5a4e65lWzkiPXsZdzPt2RNnJGG1g xenolinux-2.4.21-sparse/arch/xeno/kernel/Makefile
+3e5a4e65_hqfuxtGG8IUy6wRM86Ecg xenolinux-2.4.21-sparse/arch/xeno/kernel/entry.S
+3e5a4e65Hy_1iUvMTPsNqGNXd9uFpg xenolinux-2.4.21-sparse/arch/xeno/kernel/head.S
+3e5a4e65ibVQmwlOn0j3sVH_j_6hAg xenolinux-2.4.21-sparse/arch/xeno/kernel/hypervisor.c
+3e5a4e65RMGcuA-HCn3-wNx3fFQwdg xenolinux-2.4.21-sparse/arch/xeno/kernel/i386_ksyms.c
+3e5a4e65MEvZhlr070sK5JsfAQlv7Q xenolinux-2.4.21-sparse/arch/xeno/kernel/ioport.c
+3e5a4e653U6cELGv528IxOLHvCq8iA xenolinux-2.4.21-sparse/arch/xeno/kernel/irq.c
+3e5a4e65muT6SU3ck47IP87Q7Ti5hA xenolinux-2.4.21-sparse/arch/xeno/kernel/ldt.c
+3e5a4e65IGt3WwQDNiL4h-gYWgNTWQ xenolinux-2.4.21-sparse/arch/xeno/kernel/process.c
+3e5a4e66tR-qJMLj3MppcKqmvuI2XQ xenolinux-2.4.21-sparse/arch/xeno/kernel/setup.c
+3e5a4e66fWSTagLGU2P8BGFGRjhDiw xenolinux-2.4.21-sparse/arch/xeno/kernel/signal.c
+3e5a4e66N__lUXNwzQ-eADRzK9LXuQ xenolinux-2.4.21-sparse/arch/xeno/kernel/time.c
+3e5a4e66aHCbQ_F5QZ8VeyikLmuRZQ xenolinux-2.4.21-sparse/arch/xeno/kernel/traps.c
+3e5a4e66-9_NczrVMbuQkoSLyXckIw xenolinux-2.4.21-sparse/arch/xeno/lib/Makefile
+3e5a4e6637ZDk0BvFEC-aFQs599-ng xenolinux-2.4.21-sparse/arch/xeno/lib/delay.c
+3e5a4e66croVgpcJyJuF2ycQw0HuJw xenolinux-2.4.21-sparse/arch/xeno/mm/Makefile
+3e5a4e66l8Q5Tv-6B3lQIRmaVbFPzg xenolinux-2.4.21-sparse/arch/xeno/mm/fault.c
+3e5a4e66TyNNUEXkr5RxqvQhXK1MQA xenolinux-2.4.21-sparse/arch/xeno/mm/get_unmapped_area.c
+3e5a4e668SE9rixq4ahho9rNhLUUFQ xenolinux-2.4.21-sparse/arch/xeno/mm/hypervisor.c
+3e5a4e661gLzzff25pJooKIIWe7IWg xenolinux-2.4.21-sparse/arch/xeno/mm/init.c
+3e5a4e66U45cAIoHmxg0y1e1XhzVCA xenolinux-2.4.21-sparse/arch/xeno/mm/mmu_context.c
+3e5a4e66qRlSTcjafidMB6ulECADvg xenolinux-2.4.21-sparse/arch/xeno/vmlinux.lds
+3ea53c6em6uzVHSiGqrbbAVofyRY_g xenolinux-2.4.21-sparse/drivers/block/genhd.c
+3e5a4e66mrtlmV75L1tjKDg8RaM5gA xenolinux-2.4.21-sparse/drivers/block/ll_rw_blk.c
+3e5a4e66rw65CxyolW9PKz4GG42RcA xenolinux-2.4.21-sparse/drivers/char/tty_io.c
+3e5a4e669uzIE54VwucPYtGwXLAbzA xenolinux-2.4.21-sparse/fs/exec.c
+3e5a4e66wbeCpsJgVf_U8Jde-CNcsA xenolinux-2.4.21-sparse/include/asm-xeno/bugs.h
+3e5a4e66HdSkvIV6SJ1evG_xmTmXHA xenolinux-2.4.21-sparse/include/asm-xeno/desc.h
+3e5a4e66SYp_UpAVcF8Lc1wa3Qtgzw xenolinux-2.4.21-sparse/include/asm-xeno/fixmap.h
+3e5a4e67w_DWgjIJ17Tlossu1LGujQ xenolinux-2.4.21-sparse/include/asm-xeno/highmem.h
+3e5a4e67YtcyDLQsShhCfQwPSELfvA xenolinux-2.4.21-sparse/include/asm-xeno/hw_irq.h
+3e5a4e677VBavzM1UZIEcH1B-RlXMA xenolinux-2.4.21-sparse/include/asm-xeno/hypervisor.h
+3e5a4e67Ulv-Ll8Zp4j2GwMwQ8aAXQ xenolinux-2.4.21-sparse/include/asm-xeno/io.h
+3e5a4e673p7PEOyHFm3nHkYX6HQYBg xenolinux-2.4.21-sparse/include/asm-xeno/irq.h
+3ead095db_LRUXnxaqs0dA1DWhPoQQ xenolinux-2.4.21-sparse/include/asm-xeno/keyboard.h
+3e5a4e67zoNch27qYhEBpr2k6SABOg xenolinux-2.4.21-sparse/include/asm-xeno/mmu.h
+3e5a4e678ddsQOpbSiRdy1GRcDc9WA xenolinux-2.4.21-sparse/include/asm-xeno/mmu_context.h
+3e7270deQqtGPSnFxcW4AvJZuTUWfg xenolinux-2.4.21-sparse/include/asm-xeno/multicall.h
+3e5a4e67mnQfh-R8KcQCaVo2Oho6yg xenolinux-2.4.21-sparse/include/asm-xeno/page.h
+3e5a4e67uTYU5oEnIDjxuaez8njjqg xenolinux-2.4.21-sparse/include/asm-xeno/pgalloc.h
+3e5a4e67X7JyupgdYkgDX19Huj2sAw xenolinux-2.4.21-sparse/include/asm-xeno/pgtable-2level.h
+3e5a4e67gr4NLGtQ5CvSLimMYZlkOA xenolinux-2.4.21-sparse/include/asm-xeno/pgtable.h
+3e5a4e676uK4xErTBDH6XJREn9LSyg xenolinux-2.4.21-sparse/include/asm-xeno/processor.h
+3e5a4e67AJPjW-zL7p-xWuA6IVeH1g xenolinux-2.4.21-sparse/include/asm-xeno/ptrace.h
+3e5a4e68uJz-xI0IBVMD7xRLQKJDFg xenolinux-2.4.21-sparse/include/asm-xeno/segment.h
+3e5a4e68Nfdh6QcOKUTGCaYkf2LmYA xenolinux-2.4.21-sparse/include/asm-xeno/smp.h
+3e5a4e68mTr0zcp9SXDbnd-XLrrfxw xenolinux-2.4.21-sparse/include/asm-xeno/system.h
+3e5a4e68WLX3B8owTvktP3HHOtznPQ xenolinux-2.4.21-sparse/include/linux/major.h
+3e5a4e686V0nioX2ZpFf056sgvdiQw xenolinux-2.4.21-sparse/include/linux/sunrpc/debug.h
+3e5a4e68W_hpMlM3u_-QOKMp3gzcwQ xenolinux-2.4.21-sparse/init/do_mounts.c
+3e5a4e68TJJavrunYwTAnLRSBxSYqQ xenolinux-2.4.21-sparse/kernel/panic.c
+3eba8f878XjouY21EkQBXwYBsPsipQ xenolinux-2.4.21-sparse/lndir-rel
+3e6e7c1efbQe93xCvOpOVCnXTMmQ5w xenolinux-2.4.21-sparse/mkbuildtree
+3e5a4e68GxCIaFH4sy01v1wjapetaA xenolinux-2.4.21-sparse/mm/memory.c
+3e5a4e681xMPdF9xCMwpyfuYMySU5g xenolinux-2.4.21-sparse/mm/mremap.c
+3e5a4e683HKVU-sxtagrDasRB8eBVw xenolinux-2.4.21-sparse/mm/swapfile.c
diff --git a/xenolinux-2.4.21-pre4-sparse/Makefile b/xenolinux-2.4.21-sparse/Makefile
index 29cdd72d2a..a6f720db8d 100644
--- a/xenolinux-2.4.21-pre4-sparse/Makefile
+++ b/xenolinux-2.4.21-sparse/Makefile
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 21
-EXTRAVERSION = -pre4-xeno
+EXTRAVERSION = -xeno
KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
@@ -347,7 +347,7 @@ include/linux/compile.h: $(CONFIGURATION) include/linux/version.h newversion
([ -x /bin/domainname ] && /bin/domainname > .ver1) || \
echo > .ver1
@echo \#define LINUX_COMPILE_DOMAIN \"`cat .ver1 | $(uts_truncate)`\" >> .ver
- @echo \#define LINUX_COMPILER \"`$(CC) $(CFLAGS) -v 2>&1 | tail -1`\" >> .ver
+ @echo \#define LINUX_COMPILER \"`$(CC) $(CFLAGS) -v 2>&1 | tail -n 1`\" >> .ver
@mv -f .ver $@
@rm -f .ver1
@@ -493,12 +493,13 @@ sums:
find . -type f -print | sort | xargs sum > .SUMS
dep-files: scripts/mkdep archdep include/linux/version.h
- scripts/mkdep -- init/*.c > .depend
- scripts/mkdep -- `find $(FINDHPATH) \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print` > .hdepend
+ rm -f .depend .hdepend
$(MAKE) $(patsubst %,_sfdep_%,$(SUBDIRS)) _FASTDEP_ALL_SUB_DIRS="$(SUBDIRS)"
ifdef CONFIG_MODVERSIONS
$(MAKE) update-modverfile
endif
+ scripts/mkdep -- `find $(FINDHPATH) \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print` > .hdepend
+ scripts/mkdep -- init/*.c > .depend
ifdef CONFIG_MODVERSIONS
MODVERFILE := $(TOPDIR)/include/linux/modversions.h
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/Makefile b/xenolinux-2.4.21-sparse/arch/xeno/Makefile
index 534c4a4606..6565e93645 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/Makefile
+++ b/xenolinux-2.4.21-sparse/arch/xeno/Makefile
@@ -23,8 +23,10 @@ LINKFLAGS =-T $(TOPDIR)/arch/xeno/vmlinux.lds $(LDFLAGS)
CFLAGS += -pipe
+check_gcc = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi)
+
# prevent gcc from keeping the stack 16 byte aligned
-CFLAGS += $(shell if $(CC) -mpreferred-stack-boundary=2 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-mpreferred-stack-boundary=2"; fi)
+CFLAGS += $(call check_gcc,-mpreferred-stack-boundary=2,)
ifdef CONFIG_M686
CFLAGS += -march=i686
@@ -39,7 +41,7 @@ CFLAGS += -march=i686
endif
ifdef CONFIG_MK7
-CFLAGS += $(shell if $(CC) -march=athlon -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=athlon"; else echo "-march=i686 -malign-functions=4"; fi)
+CFLAGS += $(call check_gcc,-march=athlon,-march=i686 -malign-functions=4)
endif
HEAD := arch/xeno/kernel/head.o arch/xeno/kernel/init_task.o
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/boot/Makefile b/xenolinux-2.4.21-sparse/arch/xeno/boot/Makefile
index 252daf50bf..252daf50bf 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/boot/Makefile
+++ b/xenolinux-2.4.21-sparse/arch/xeno/boot/Makefile
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/config.in b/xenolinux-2.4.21-sparse/arch/xeno/config.in
index 6ae2bca111..6ae2bca111 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/config.in
+++ b/xenolinux-2.4.21-sparse/arch/xeno/config.in
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/defconfig b/xenolinux-2.4.21-sparse/arch/xeno/defconfig
index c8120dfa4c..c8120dfa4c 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/defconfig
+++ b/xenolinux-2.4.21-sparse/arch/xeno/defconfig
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/balloon/Makefile b/xenolinux-2.4.21-sparse/arch/xeno/drivers/balloon/Makefile
index f780a515e0..f780a515e0 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/balloon/Makefile
+++ b/xenolinux-2.4.21-sparse/arch/xeno/drivers/balloon/Makefile
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/balloon/balloon.c b/xenolinux-2.4.21-sparse/arch/xeno/drivers/balloon/balloon.c
index e1a6d30374..e1a6d30374 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/balloon/balloon.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/drivers/balloon/balloon.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/balloon/dom_mem_ops.h b/xenolinux-2.4.21-sparse/arch/xeno/drivers/balloon/dom_mem_ops.h
index c473f193e7..c473f193e7 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/balloon/dom_mem_ops.h
+++ b/xenolinux-2.4.21-sparse/arch/xeno/drivers/balloon/dom_mem_ops.h
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/Makefile b/xenolinux-2.4.21-sparse/arch/xeno/drivers/block/Makefile
index 6423104172..6423104172 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/Makefile
+++ b/xenolinux-2.4.21-sparse/arch/xeno/drivers/block/Makefile
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_block.c b/xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_block.c
index d3e09eb52c..d3e09eb52c 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_block.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_block.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_block.h b/xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_block.h
index ac7e7ae97a..ac7e7ae97a 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_block.h
+++ b/xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_block.h
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_ide.c b/xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_ide.c
index 4d7c42ecdb..4d7c42ecdb 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_ide.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_ide.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_scsi.c b/xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_scsi.c
index f3d049238f..f3d049238f 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_scsi.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_scsi.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_segment.c b/xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_segment.c
index e746e2db3d..e746e2db3d 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_segment.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_segment.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_segment_proc.c b/xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_segment_proc.c
index 59a3884de9..59a3884de9 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/block/xl_segment_proc.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_segment_proc.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/console/Makefile b/xenolinux-2.4.21-sparse/arch/xeno/drivers/console/Makefile
index 546180a3c2..546180a3c2 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/console/Makefile
+++ b/xenolinux-2.4.21-sparse/arch/xeno/drivers/console/Makefile
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/console/console.c b/xenolinux-2.4.21-sparse/arch/xeno/drivers/console/console.c
index f38b021fb7..f38b021fb7 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/console/console.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/drivers/console/console.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/Makefile b/xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/Makefile
index eeb3413842..eeb3413842 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/Makefile
+++ b/xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/Makefile
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/dom0_block.c b/xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/dom0_block.c
index 97d4a65b78..97d4a65b78 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/dom0_block.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/dom0_block.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/dom0_core.c b/xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/dom0_core.c
index b42abc45e4..b42abc45e4 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/dom0_core.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/dom0_core.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/dom0_memory.c b/xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/dom0_memory.c
index 9d14070a1e..9d14070a1e 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/dom0_memory.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/dom0_memory.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/dom0_ops.h b/xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/dom0_ops.h
index 8562591e1e..8562591e1e 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/dom0_ops.h
+++ b/xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/dom0_ops.h
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/sched_ops.c b/xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/sched_ops.c
index 9c5fce7857..9c5fce7857 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/sched_ops.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/sched_ops.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/vfr.c b/xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/vfr.c
index 852f6943e2..852f6943e2 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/dom0/vfr.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/drivers/dom0/vfr.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/network/Makefile b/xenolinux-2.4.21-sparse/arch/xeno/drivers/network/Makefile
index b44a288a5b..b44a288a5b 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/network/Makefile
+++ b/xenolinux-2.4.21-sparse/arch/xeno/drivers/network/Makefile
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/network/network.c b/xenolinux-2.4.21-sparse/arch/xeno/drivers/network/network.c
index a125695e54..a125695e54 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/drivers/network/network.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/drivers/network/network.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/Makefile b/xenolinux-2.4.21-sparse/arch/xeno/kernel/Makefile
index a43a615e2f..a43a615e2f 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/Makefile
+++ b/xenolinux-2.4.21-sparse/arch/xeno/kernel/Makefile
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/entry.S b/xenolinux-2.4.21-sparse/arch/xeno/kernel/entry.S
index 0250f5e11b..9c909e3f7b 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/entry.S
+++ b/xenolinux-2.4.21-sparse/arch/xeno/kernel/entry.S
@@ -753,7 +753,7 @@ ENTRY(sys_call_table)
.long SYMBOL_NAME(sys_lremovexattr)
.long SYMBOL_NAME(sys_fremovexattr)
.long SYMBOL_NAME(sys_tkill)
- .long SYMBOL_NAME(sys_ni_syscall) /* reserved for sendfile64 */
+ .long SYMBOL_NAME(sys_sendfile64)
.long SYMBOL_NAME(sys_ni_syscall) /* 240 reserved for futex */
.long SYMBOL_NAME(sys_ni_syscall) /* reserved for sched_setaffinity */
.long SYMBOL_NAME(sys_ni_syscall) /* reserved for sched_getaffinity */
@@ -767,6 +767,12 @@ ENTRY(sys_call_table)
.long SYMBOL_NAME(sys_ni_syscall) /* 250 sys_alloc_hugepages */
.long SYMBOL_NAME(sys_ni_syscall) /* sys_free_hugepages */
.long SYMBOL_NAME(sys_ni_syscall) /* sys_exit_group */
+ .long SYMBOL_NAME(sys_ni_syscall) /* sys_lookup_dcookie */
+ .long SYMBOL_NAME(sys_ni_syscall) /* sys_epoll_create */
+ .long SYMBOL_NAME(sys_ni_syscall) /* sys_epoll_ctl 255 */
+ .long SYMBOL_NAME(sys_ni_syscall) /* sys_epoll_wait */
+ .long SYMBOL_NAME(sys_ni_syscall) /* sys_remap_file_pages */
+ .long SYMBOL_NAME(sys_ni_syscall) /* sys_set_tid_address */
.rept NR_syscalls-(.-sys_call_table)/4
.long SYMBOL_NAME(sys_ni_syscall)
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/head.S b/xenolinux-2.4.21-sparse/arch/xeno/kernel/head.S
index a89fd8eda4..a89fd8eda4 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/head.S
+++ b/xenolinux-2.4.21-sparse/arch/xeno/kernel/head.S
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/hypervisor.c b/xenolinux-2.4.21-sparse/arch/xeno/kernel/hypervisor.c
index 3f414e9876..3f414e9876 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/hypervisor.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/kernel/hypervisor.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/i386_ksyms.c b/xenolinux-2.4.21-sparse/arch/xeno/kernel/i386_ksyms.c
index 81afa3beed..67fa16c4e1 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/i386_ksyms.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/kernel/i386_ksyms.c
@@ -79,6 +79,7 @@ EXPORT_SYMBOL_NOVERS(__up_wakeup);
/* Networking helper routines. */
EXPORT_SYMBOL(csum_partial_copy_generic);
/* Delay loops */
+EXPORT_SYMBOL(__ndelay);
EXPORT_SYMBOL(__udelay);
EXPORT_SYMBOL(__delay);
EXPORT_SYMBOL(__const_udelay);
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/ioport.c b/xenolinux-2.4.21-sparse/arch/xeno/kernel/ioport.c
index 7b30b8dcf2..7b30b8dcf2 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/ioport.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/kernel/ioport.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/irq.c b/xenolinux-2.4.21-sparse/arch/xeno/kernel/irq.c
index 4f449691f0..4f449691f0 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/irq.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/kernel/irq.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/ldt.c b/xenolinux-2.4.21-sparse/arch/xeno/kernel/ldt.c
index ca89b694bd..ca89b694bd 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/ldt.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/kernel/ldt.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/process.c b/xenolinux-2.4.21-sparse/arch/xeno/kernel/process.c
index 6605ce2e65..06cb7a3563 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/process.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/kernel/process.c
@@ -149,7 +149,7 @@ void release_segments(struct mm_struct *mm)
/*
* Create a kernel thread
*/
-int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags)
+int arch_kernel_thread(int (*fn)(void *), void * arg, unsigned long flags)
{
long retval, d0;
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/setup.c b/xenolinux-2.4.21-sparse/arch/xeno/kernel/setup.c
index 1d34609225..0c3474e4ca 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/setup.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/kernel/setup.c
@@ -400,10 +400,19 @@ static void __init display_cacheinfo(struct cpuinfo_x86 *c)
(c->x86_model == 11) && (l2size == 0))
l2size = 256;
- /* VIA C3 CPUs (670-68F) need further shifting. */
- if (c->x86_vendor == X86_VENDOR_CENTAUR && (c->x86 == 6) &&
- ((c->x86_model == 7) || (c->x86_model == 8))) {
- l2size = l2size >> 8;
+ if (c->x86_vendor == X86_VENDOR_CENTAUR) {
+ /* VIA C3 CPUs (670-68F) need further shifting. */
+ if ((c->x86 == 6) &&
+ ((c->x86_model == 7) || (c->x86_model == 8))) {
+ l2size >>= 8;
+ }
+
+ /* VIA also screwed up Nehemiah stepping 1, and made
+ it return '65KB' instead of '64KB'
+ - Note, it seems this may only be in engineering samples. */
+ if ((c->x86==6) && (c->x86_model==9) &&
+ (c->x86_mask==1) && (l2size==65))
+ l2size -= 1;
}
/* Allow user to override all this if necessary. */
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/signal.c b/xenolinux-2.4.21-sparse/arch/xeno/kernel/signal.c
index f646c5c0ca..f646c5c0ca 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/signal.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/kernel/signal.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/time.c b/xenolinux-2.4.21-sparse/arch/xeno/kernel/time.c
index 55b100e257..55b100e257 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/time.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/kernel/time.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/traps.c b/xenolinux-2.4.21-sparse/arch/xeno/kernel/traps.c
index c218067d2a..c218067d2a 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/kernel/traps.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/kernel/traps.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/lib/Makefile b/xenolinux-2.4.21-sparse/arch/xeno/lib/Makefile
index 2224f0312c..2224f0312c 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/lib/Makefile
+++ b/xenolinux-2.4.21-sparse/arch/xeno/lib/Makefile
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/lib/delay.c b/xenolinux-2.4.21-sparse/arch/xeno/lib/delay.c
index 47b8ac71a9..0035bed074 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/lib/delay.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/lib/delay.c
@@ -45,3 +45,8 @@ void __udelay(unsigned long usecs)
{
__const_udelay(usecs * 0x000010c6); /* 2**32 / 1000000 */
}
+
+void __ndelay(unsigned long nsecs)
+{
+ __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */
+}
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/Makefile b/xenolinux-2.4.21-sparse/arch/xeno/mm/Makefile
index 9ab0821b2e..9ab0821b2e 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/Makefile
+++ b/xenolinux-2.4.21-sparse/arch/xeno/mm/Makefile
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/fault.c b/xenolinux-2.4.21-sparse/arch/xeno/mm/fault.c
index fb11ea03c4..fb11ea03c4 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/fault.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/mm/fault.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/get_unmapped_area.c b/xenolinux-2.4.21-sparse/arch/xeno/mm/get_unmapped_area.c
index a7b4447589..a7b4447589 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/get_unmapped_area.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/mm/get_unmapped_area.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/hypervisor.c b/xenolinux-2.4.21-sparse/arch/xeno/mm/hypervisor.c
index d67ad51dc5..d67ad51dc5 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/hypervisor.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/mm/hypervisor.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/init.c b/xenolinux-2.4.21-sparse/arch/xeno/mm/init.c
index 0806d775f7..0806d775f7 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/init.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/mm/init.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/mmu_context.c b/xenolinux-2.4.21-sparse/arch/xeno/mm/mmu_context.c
index b8f41fb269..b8f41fb269 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/mm/mmu_context.c
+++ b/xenolinux-2.4.21-sparse/arch/xeno/mm/mmu_context.c
diff --git a/xenolinux-2.4.21-pre4-sparse/arch/xeno/vmlinux.lds b/xenolinux-2.4.21-sparse/arch/xeno/vmlinux.lds
index 7c4c4f8e9c..7c4c4f8e9c 100644
--- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/vmlinux.lds
+++ b/xenolinux-2.4.21-sparse/arch/xeno/vmlinux.lds
diff --git a/xenolinux-2.4.21-pre4-sparse/drivers/block/genhd.c b/xenolinux-2.4.21-sparse/drivers/block/genhd.c
index 403d52e0a1..403d52e0a1 100644
--- a/xenolinux-2.4.21-pre4-sparse/drivers/block/genhd.c
+++ b/xenolinux-2.4.21-sparse/drivers/block/genhd.c
diff --git a/xenolinux-2.4.21-pre4-sparse/drivers/block/ll_rw_blk.c b/xenolinux-2.4.21-sparse/drivers/block/ll_rw_blk.c
index 842dd069f1..411b6def8b 100644
--- a/xenolinux-2.4.21-pre4-sparse/drivers/block/ll_rw_blk.c
+++ b/xenolinux-2.4.21-sparse/drivers/block/ll_rw_blk.c
@@ -590,10 +590,10 @@ static struct request *__get_request_wait(request_queue_t *q, int rw)
register struct request *rq;
DECLARE_WAITQUEUE(wait, current);
- generic_unplug_device(q);
- add_wait_queue_exclusive(&q->wait_for_requests[rw], &wait);
+ add_wait_queue(&q->wait_for_requests[rw], &wait);
do {
set_current_state(TASK_UNINTERRUPTIBLE);
+ generic_unplug_device(q);
if (q->rq[rw].count == 0)
schedule();
spin_lock_irq(&io_request_lock);
@@ -831,8 +831,7 @@ void blkdev_release_request(struct request *req)
*/
if (q) {
list_add(&req->queue, &q->rq[rw].free);
- if (++q->rq[rw].count >= q->batch_requests &&
- waitqueue_active(&q->wait_for_requests[rw]))
+ if (++q->rq[rw].count >= q->batch_requests)
wake_up(&q->wait_for_requests[rw]);
}
}
@@ -1131,7 +1130,7 @@ void generic_make_request (int rw, struct buffer_head * bh)
if (maxsector < count || maxsector - count < sector) {
/* Yecch */
- bh->b_state &= (1 << BH_Lock) | (1 << BH_Mapped);
+ bh->b_state &= ~(1 << BH_Dirty);
/* This may well happen - the kernel calls bread()
without checking the size of the device, e.g.,
@@ -1142,7 +1141,6 @@ void generic_make_request (int rw, struct buffer_head * bh)
kdevname(bh->b_rdev), rw,
(sector + count)>>1, minorsize);
- /* Yecch again */
bh->b_end_io(bh, 0);
return;
}
@@ -1378,11 +1376,12 @@ int end_that_request_first (struct request *req, int uptodate, char *name)
void end_that_request_last(struct request *req)
{
- if (req->waiting != NULL)
- complete(req->waiting);
- req_finished_io(req);
+ struct completion *waiting = req->waiting;
+ req_finished_io(req);
blkdev_release_request(req);
+ if (waiting)
+ complete(waiting);
}
int __init blk_dev_init(void)
diff --git a/xenolinux-2.4.21-pre4-sparse/drivers/char/tty_io.c b/xenolinux-2.4.21-sparse/drivers/char/tty_io.c
index 62c6c09740..ad22d9eaf7 100644
--- a/xenolinux-2.4.21-pre4-sparse/drivers/char/tty_io.c
+++ b/xenolinux-2.4.21-sparse/drivers/char/tty_io.c
@@ -131,12 +131,6 @@ extern struct tty_driver ptm_driver[]; /* Unix98 pty masters; for /dev/ptmx */
extern struct tty_driver pts_driver[]; /* Unix98 pty slaves; for /dev/ptmx */
#endif
-/*
- * redirect is the pseudo-tty that console output
- * is redirected to if asked by TIOCCONS.
- */
-struct tty_struct * redirect;
-
static void initialize_tty_struct(struct tty_struct *tty);
static ssize_t tty_read(struct file *, char *, size_t, loff_t *);
@@ -431,6 +425,8 @@ static struct file_operations hung_up_tty_fops = {
release: tty_release,
};
+static spinlock_t redirect_lock = SPIN_LOCK_UNLOCKED;
+static struct file *redirect;
/*
* This can be called by the "eventd" kernel thread. That is process synchronous,
* but doesn't hold any locks, so we need to make sure we have the appropriate
@@ -440,6 +436,7 @@ void do_tty_hangup(void *data)
{
struct tty_struct *tty = (struct tty_struct *) data;
struct file * cons_filp = NULL;
+ struct file *f = NULL;
struct task_struct *p;
struct list_head *l;
int closecount = 0, n;
@@ -449,6 +446,15 @@ void do_tty_hangup(void *data)
/* inuse_filps is protected by the single kernel lock */
lock_kernel();
+
+ spin_lock(&redirect_lock);
+ if (redirect && redirect->private_data == tty) {
+ f = redirect;
+ redirect = NULL;
+ }
+ spin_unlock(&redirect_lock);
+ if (f)
+ fput(f);
check_tty_count(tty, "do_tty_hangup");
file_list_lock();
@@ -747,7 +753,7 @@ static ssize_t tty_write(struct file * file, const char * buf, size_t count,
{
int is_console;
struct tty_struct * tty;
- struct inode *inode;
+ struct inode *inode = file->f_dentry->d_inode;
/* Can't seek (pwrite) on ttys. */
if (ppos != &file->f_pos)
@@ -761,10 +767,24 @@ static ssize_t tty_write(struct file * file, const char * buf, size_t count,
is_console = (inode->i_rdev == SYSCONS_DEV ||
inode->i_rdev == CONSOLE_DEV);
- if (is_console && redirect)
- tty = redirect;
- else
- tty = (struct tty_struct *)file->private_data;
+ if (is_console) {
+ struct file *p = NULL;
+
+ spin_lock(&redirect_lock);
+ if (redirect) {
+ get_file(redirect);
+ p = redirect;
+ }
+ spin_unlock(&redirect_lock);
+
+ if (p) {
+ ssize_t res = p->f_op->write(p, buf, count, &p->f_pos);
+ fput(p);
+ return res;
+ }
+ }
+
+ tty = (struct tty_struct *)file->private_data;
if (tty_paranoia_check(tty, inode->i_rdev, "tty_write"))
return -EIO;
if (!tty || !tty->driver.write || (test_bit(TTY_IO_ERROR, &tty->flags)))
@@ -1228,7 +1248,7 @@ static void release_dev(struct file * filp)
/*
* If _either_ side is closing, make sure there aren't any
* processes that still think tty or o_tty is their controlling
- * tty. Also, clear redirect if it points to either tty.
+ * tty.
*/
if (tty_closing || o_tty_closing) {
struct task_struct *p;
@@ -1239,9 +1259,6 @@ static void release_dev(struct file * filp)
p->tty = NULL;
}
read_unlock(&tasklist_lock);
-
- if (redirect == tty || (o_tty && redirect == o_tty))
- redirect = NULL;
}
/* check whether both sides are closing ... */
@@ -1520,19 +1537,29 @@ static int tiocswinsz(struct tty_struct *tty, struct tty_struct *real_tty,
return 0;
}
-static int tioccons(struct inode *inode,
- struct tty_struct *tty, struct tty_struct *real_tty)
+static int tioccons(struct inode *inode, struct file *file)
{
if (inode->i_rdev == SYSCONS_DEV ||
inode->i_rdev == CONSOLE_DEV) {
+ struct file *f;
if (!suser())
return -EPERM;
+ spin_lock(&redirect_lock);
+ f = redirect;
redirect = NULL;
+ spin_unlock(&redirect_lock);
+ if (f)
+ fput(f);
return 0;
}
- if (redirect)
+ spin_lock(&redirect_lock);
+ if (redirect) {
+ spin_unlock(&redirect_lock);
return -EBUSY;
- redirect = real_tty;
+ }
+ get_file(file);
+ redirect = file;
+ spin_unlock(&redirect_lock);
return 0;
}
@@ -1752,7 +1779,7 @@ int tty_ioctl(struct inode * inode, struct file * file,
case TIOCSWINSZ:
return tiocswinsz(tty, real_tty, (struct winsize *) arg);
case TIOCCONS:
- return tioccons(inode, tty, real_tty);
+ return real_tty!=tty ? -EINVAL : tioccons(inode, file);
case FIONBIO:
return fionbio(file, (int *) arg);
case TIOCEXCL:
diff --git a/xenolinux-2.4.21-pre4-sparse/fs/exec.c b/xenolinux-2.4.21-sparse/fs/exec.c
index e837dc464a..f87ae7a71e 100644
--- a/xenolinux-2.4.21-pre4-sparse/fs/exec.c
+++ b/xenolinux-2.4.21-sparse/fs/exec.c
@@ -577,8 +577,10 @@ int flush_old_exec(struct linux_binprm * bprm)
current->sas_ss_sp = current->sas_ss_size = 0;
- if (current->euid == current->uid && current->egid == current->gid)
+ if (current->euid == current->uid && current->egid == current->gid) {
current->mm->dumpable = 1;
+ current->task_dumpable = 1;
+ }
name = bprm->filename;
for (i=0; (ch = *(name++)) != '\0';) {
if (ch == '/')
@@ -1086,7 +1088,7 @@ int do_coredump(long signr, struct pt_regs * regs)
binfmt = current->binfmt;
if (!binfmt || !binfmt->core_dump)
goto fail;
- if (!current->mm->dumpable)
+ if (!is_dumpable(current))
goto fail;
current->mm->dumpable = 0;
if (current->rlim[RLIMIT_CORE].rlim_cur < binfmt->min_coredump)
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/bugs.h b/xenolinux-2.4.21-sparse/include/asm-xeno/bugs.h
index c46b6a0b15..c46b6a0b15 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/bugs.h
+++ b/xenolinux-2.4.21-sparse/include/asm-xeno/bugs.h
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/desc.h b/xenolinux-2.4.21-sparse/include/asm-xeno/desc.h
index c417cbe807..c417cbe807 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/desc.h
+++ b/xenolinux-2.4.21-sparse/include/asm-xeno/desc.h
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/fixmap.h b/xenolinux-2.4.21-sparse/include/asm-xeno/fixmap.h
index eee16cb240..eee16cb240 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/fixmap.h
+++ b/xenolinux-2.4.21-sparse/include/asm-xeno/fixmap.h
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/highmem.h b/xenolinux-2.4.21-sparse/include/asm-xeno/highmem.h
index 7e56b1b32d..7e56b1b32d 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/highmem.h
+++ b/xenolinux-2.4.21-sparse/include/asm-xeno/highmem.h
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/hw_irq.h b/xenolinux-2.4.21-sparse/include/asm-xeno/hw_irq.h
index d99d15bd24..d99d15bd24 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/hw_irq.h
+++ b/xenolinux-2.4.21-sparse/include/asm-xeno/hw_irq.h
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/hypervisor.h b/xenolinux-2.4.21-sparse/include/asm-xeno/hypervisor.h
index da0e1a19e0..da0e1a19e0 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/hypervisor.h
+++ b/xenolinux-2.4.21-sparse/include/asm-xeno/hypervisor.h
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/io.h b/xenolinux-2.4.21-sparse/include/asm-xeno/io.h
index 77a99d1ef0..77a99d1ef0 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/io.h
+++ b/xenolinux-2.4.21-sparse/include/asm-xeno/io.h
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/irq.h b/xenolinux-2.4.21-sparse/include/asm-xeno/irq.h
index 4dbc7e6ed0..4dbc7e6ed0 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/irq.h
+++ b/xenolinux-2.4.21-sparse/include/asm-xeno/irq.h
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/keyboard.h b/xenolinux-2.4.21-sparse/include/asm-xeno/keyboard.h
index 263aa595a1..263aa595a1 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/keyboard.h
+++ b/xenolinux-2.4.21-sparse/include/asm-xeno/keyboard.h
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/mmu.h b/xenolinux-2.4.21-sparse/include/asm-xeno/mmu.h
index b7bc05d808..b7bc05d808 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/mmu.h
+++ b/xenolinux-2.4.21-sparse/include/asm-xeno/mmu.h
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/mmu_context.h b/xenolinux-2.4.21-sparse/include/asm-xeno/mmu_context.h
index cdf5319f48..cdf5319f48 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/mmu_context.h
+++ b/xenolinux-2.4.21-sparse/include/asm-xeno/mmu_context.h
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/multicall.h b/xenolinux-2.4.21-sparse/include/asm-xeno/multicall.h
index 27126dcaac..27126dcaac 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/multicall.h
+++ b/xenolinux-2.4.21-sparse/include/asm-xeno/multicall.h
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/page.h b/xenolinux-2.4.21-sparse/include/asm-xeno/page.h
index d15646fcb5..d15646fcb5 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/page.h
+++ b/xenolinux-2.4.21-sparse/include/asm-xeno/page.h
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/pgalloc.h b/xenolinux-2.4.21-sparse/include/asm-xeno/pgalloc.h
index 49d6e30b2a..49d6e30b2a 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/pgalloc.h
+++ b/xenolinux-2.4.21-sparse/include/asm-xeno/pgalloc.h
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/pgtable-2level.h b/xenolinux-2.4.21-sparse/include/asm-xeno/pgtable-2level.h
index 71ef37a830..71ef37a830 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/pgtable-2level.h
+++ b/xenolinux-2.4.21-sparse/include/asm-xeno/pgtable-2level.h
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/pgtable.h b/xenolinux-2.4.21-sparse/include/asm-xeno/pgtable.h
index 0f914c7c42..0f914c7c42 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/pgtable.h
+++ b/xenolinux-2.4.21-sparse/include/asm-xeno/pgtable.h
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/processor.h b/xenolinux-2.4.21-sparse/include/asm-xeno/processor.h
index 4fdb36ca37..3c4fa92b41 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/processor.h
+++ b/xenolinux-2.4.21-sparse/include/asm-xeno/processor.h
@@ -63,6 +63,7 @@ struct cpuinfo_x86 {
#define X86_VENDOR_RISE 6
#define X86_VENDOR_TRANSMETA 7
#define X86_VENDOR_NSC 8
+#define X86_VENDOR_SIS 9
#define X86_VENDOR_UNKNOWN 0xff
/*
@@ -264,6 +265,7 @@ extern unsigned int mca_pentium_flag;
* Size of io_bitmap in longwords: 32 is ports 0-0x3ff.
*/
#define IO_BITMAP_SIZE 32
+#define IO_BITMAP_BYTES (IO_BITMAP_SIZE * 4)
#define IO_BITMAP_OFFSET offsetof(struct tss_struct,io_bitmap)
#define INVALID_IO_BITMAP_OFFSET 0x8000
@@ -408,7 +410,7 @@ extern void release_thread(struct task_struct *);
/*
* create a kernel thread without removing it from tasklists
*/
-extern int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags);
+extern int arch_kernel_thread(int (*fn)(void *), void * arg, unsigned long flags);
/* Copy and release all segment info associated with a VM */
extern void copy_segments(struct task_struct *p, struct mm_struct * mm);
@@ -458,7 +460,7 @@ static inline void rep_nop(void)
#define cpu_relax() rep_nop()
/* Prefetch instructions for Pentium III and AMD Athlon */
-#ifdef CONFIG_MPENTIUMIII
+#if defined(CONFIG_MPENTIUMIII) || defined (CONFIG_MPENTIUM4)
#define ARCH_HAS_PREFETCH
extern inline void prefetch(const void *x)
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/ptrace.h b/xenolinux-2.4.21-sparse/include/asm-xeno/ptrace.h
index 4457ac0b17..4457ac0b17 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/ptrace.h
+++ b/xenolinux-2.4.21-sparse/include/asm-xeno/ptrace.h
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/segment.h b/xenolinux-2.4.21-sparse/include/asm-xeno/segment.h
index 35862eb1f2..35862eb1f2 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/segment.h
+++ b/xenolinux-2.4.21-sparse/include/asm-xeno/segment.h
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/smp.h b/xenolinux-2.4.21-sparse/include/asm-xeno/smp.h
index 804b93c332..804b93c332 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/smp.h
+++ b/xenolinux-2.4.21-sparse/include/asm-xeno/smp.h
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/system.h b/xenolinux-2.4.21-sparse/include/asm-xeno/system.h
index 629c9d756b..a56ab32f54 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/system.h
+++ b/xenolinux-2.4.21-sparse/include/asm-xeno/system.h
@@ -309,13 +309,14 @@ static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old,
#define smp_mb() mb()
#define smp_rmb() rmb()
#define smp_wmb() wmb()
+#define set_mb(var, value) do { xchg(&var, value); } while (0)
#else
#define smp_mb() barrier()
#define smp_rmb() barrier()
#define smp_wmb() barrier()
+#define set_mb(var, value) do { var = value; barrier(); } while (0)
#endif
-#define set_mb(var, value) do { xchg(&var, value); } while (0)
#define set_wmb(var, value) do { var = value; wmb(); } while (0)
diff --git a/xenolinux-2.4.21-pre4-sparse/include/linux/major.h b/xenolinux-2.4.21-sparse/include/linux/major.h
index f311bd4a9d..f311bd4a9d 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/linux/major.h
+++ b/xenolinux-2.4.21-sparse/include/linux/major.h
diff --git a/xenolinux-2.4.21-pre4-sparse/include/linux/sunrpc/debug.h b/xenolinux-2.4.21-sparse/include/linux/sunrpc/debug.h
index 67dbfb887e..67dbfb887e 100644
--- a/xenolinux-2.4.21-pre4-sparse/include/linux/sunrpc/debug.h
+++ b/xenolinux-2.4.21-sparse/include/linux/sunrpc/debug.h
diff --git a/xenolinux-2.4.21-pre4-sparse/init/do_mounts.c b/xenolinux-2.4.21-sparse/init/do_mounts.c
index 377630ec3a..e848a3723e 100644
--- a/xenolinux-2.4.21-pre4-sparse/init/do_mounts.c
+++ b/xenolinux-2.4.21-sparse/init/do_mounts.c
@@ -164,7 +164,6 @@ static struct dev_name_struct {
{ "dasdg", (DASD_MAJOR << MINORBITS) + (6 << 2) },
{ "dasdh", (DASD_MAJOR << MINORBITS) + (7 << 2) },
#endif
-#if defined(CONFIG_BLK_CPQ_DA) || defined(CONFIG_BLK_CPQ_DA_MODULE)
{ "ida/c0d0p",0x4800 },
{ "ida/c0d1p",0x4810 },
{ "ida/c0d2p",0x4820 },
@@ -188,8 +187,6 @@ static struct dev_name_struct {
{ "ida/c5d0p",0x4D00 },
{ "ida/c6d0p",0x4E00 },
{ "ida/c7d0p",0x4F00 },
-#endif
-#if defined(CONFIG_BLK_CPQ_CISS_DA) || defined(CONFIG_BLK_CPQ_CISS_DA_MODULE)
{ "cciss/c0d0p",0x6800 },
{ "cciss/c0d1p",0x6810 },
{ "cciss/c0d2p",0x6820 },
@@ -213,7 +210,6 @@ static struct dev_name_struct {
{ "cciss/c5d0p",0x6D00 },
{ "cciss/c6d0p",0x6E00 },
{ "cciss/c7d0p",0x6F00 },
-#endif
{ "ataraid/d0p",0x7200 },
{ "ataraid/d1p",0x7210 },
{ "ataraid/d2p",0x7220 },
@@ -230,6 +226,34 @@ static struct dev_name_struct {
{ "ataraid/d13p",0x72D0 },
{ "ataraid/d14p",0x72E0 },
{ "ataraid/d15p",0x72F0 },
+ { "rd/c0d0p",0x3000 },
+ { "rd/c0d0p1",0x3001 },
+ { "rd/c0d0p2",0x3002 },
+ { "rd/c0d0p3",0x3003 },
+ { "rd/c0d0p4",0x3004 },
+ { "rd/c0d0p5",0x3005 },
+ { "rd/c0d0p6",0x3006 },
+ { "rd/c0d0p7",0x3007 },
+ { "rd/c0d0p8",0x3008 },
+ { "rd/c0d1p",0x3008 },
+ { "rd/c0d1p1",0x3009 },
+ { "rd/c0d1p2",0x300a },
+ { "rd/c0d1p3",0x300b },
+ { "rd/c0d1p4",0x300c },
+ { "rd/c0d1p5",0x300d },
+ { "rd/c0d1p6",0x300e },
+ { "rd/c0d1p7",0x300f },
+ { "rd/c0d1p8",0x3010 },
+ { "nftla", 0x5d00 },
+ { "nftlb", 0x5d10 },
+ { "nftlc", 0x5d20 },
+ { "nftld", 0x5d30 },
+ { "ftla", 0x2c00 },
+ { "ftlb", 0x2c08 },
+ { "ftlc", 0x2c10 },
+ { "ftld", 0x2c18 },
+ { "mtdblock", 0x1f00 },
+ { "nb", 0x2b00 },
#if defined(CONFIG_XENOLINUX_BLOCK)
{ "xvda", 0x7D00 }, { "xvdb", 0x7D10 },
{ "xvdc", 0x7D20 }, { "xvdd", 0x7D30 },
@@ -240,15 +264,6 @@ static struct dev_name_struct {
{ "xvdm", 0x7DC0 }, { "xvdn", 0x7DD0 },
{ "xvdo", 0x7DE0 }, { "xvdp", 0x7DF0 },
#endif
- { "nftla", 0x5d00 },
- { "nftlb", 0x5d10 },
- { "nftlc", 0x5d20 },
- { "nftld", 0x5d30 },
- { "ftla", 0x2c00 },
- { "ftlb", 0x2c08 },
- { "ftlc", 0x2c10 },
- { "ftld", 0x2c18 },
- { "mtdblock", 0x1f00 },
{ NULL, 0 }
};
@@ -824,6 +839,8 @@ static void __init handle_initrd(void)
sys_fchdir(root_fd);
sys_chroot(".");
sys_umount("/old/dev", 0);
+ close(old_fd);
+ close(root_fd);
if (real_root_dev == ram0) {
sys_chdir("/old");
diff --git a/xenolinux-2.4.21-pre4-sparse/kernel/panic.c b/xenolinux-2.4.21-sparse/kernel/panic.c
index 90a782e6b5..90a782e6b5 100644
--- a/xenolinux-2.4.21-pre4-sparse/kernel/panic.c
+++ b/xenolinux-2.4.21-sparse/kernel/panic.c
diff --git a/xenolinux-2.4.21-pre4-sparse/lndir-rel b/xenolinux-2.4.21-sparse/lndir-rel
index d0bd863202..d0bd863202 100755
--- a/xenolinux-2.4.21-pre4-sparse/lndir-rel
+++ b/xenolinux-2.4.21-sparse/lndir-rel
Binary files differ
diff --git a/xenolinux-2.4.21-pre4-sparse/mkbuildtree b/xenolinux-2.4.21-sparse/mkbuildtree
index 9e1bb81932..9e1bb81932 100755
--- a/xenolinux-2.4.21-pre4-sparse/mkbuildtree
+++ b/xenolinux-2.4.21-sparse/mkbuildtree
diff --git a/xenolinux-2.4.21-pre4-sparse/mm/memory.c b/xenolinux-2.4.21-sparse/mm/memory.c
index 0c6d000e1f..0c6d000e1f 100644
--- a/xenolinux-2.4.21-pre4-sparse/mm/memory.c
+++ b/xenolinux-2.4.21-sparse/mm/memory.c
diff --git a/xenolinux-2.4.21-pre4-sparse/mm/mremap.c b/xenolinux-2.4.21-sparse/mm/mremap.c
index a2e0d860dd..a2e0d860dd 100644
--- a/xenolinux-2.4.21-pre4-sparse/mm/mremap.c
+++ b/xenolinux-2.4.21-sparse/mm/mremap.c
diff --git a/xenolinux-2.4.21-pre4-sparse/mm/swapfile.c b/xenolinux-2.4.21-sparse/mm/swapfile.c
index 82c69af8fa..08e10b26b6 100644
--- a/xenolinux-2.4.21-pre4-sparse/mm/swapfile.c
+++ b/xenolinux-2.4.21-sparse/mm/swapfile.c
@@ -916,6 +916,11 @@ asmlinkage long sys_swapon(const char * specialfile, int swap_flags)
struct block_device_operations *bdops;
devfs_handle_t de;
+ if (is_mounted(dev)) {
+ error = -EBUSY;
+ goto bad_swap_2;
+ }
+
p->swap_device = dev;
set_blocksize(dev, PAGE_SIZE);