MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgzmaster
authorJonas Jensen <jonas.jensen@gmail.com>
Wed, 12 Dec 2012 10:03:14 +0000 (12 11:03 +0100)
committerJonas Jensen <jonas.jensen@gmail.com>
Wed, 12 Dec 2012 10:03:14 +0000 (12 11:03 +0100)
1025 files changed:
CREDITS
MAINTAINERS
Makefile
Makefile-bak-02162007 [new file with mode: 0644]
arch/arm/Kconfig
arch/arm/Kconfig-nommu
arch/arm/Kconfig.debug
arch/arm/Makefile
arch/arm/boot/Makefile
arch/arm/boot/bootp/bootp.lds
arch/arm/boot/compressed/Makefile
arch/arm/boot/compressed/head-espd_4510b.S [new file with mode: 0644]
arch/arm/boot/compressed/head-ks8695.S [new file with mode: 0644]
arch/arm/boot/compressed/head-p2001.S [new file with mode: 0644]
arch/arm/boot/compressed/head-s3c44b0.S [new file with mode: 0644]
arch/arm/boot/compressed/head-xscale.S
arch/arm/boot/compressed/head.S
arch/arm/boot/compressed/head.S-bak-06072007 [new file with mode: 0644]
arch/arm/boot/compressed/misc.c
arch/arm/common/sa1111.c
arch/arm/configs/EM1220_defconfig [new file with mode: 0644]
arch/arm/configs/EM1240_defconfig [new file with mode: 0644]
arch/arm/configs/GDB_ARMulator_defconfig [new file with mode: 0644]
arch/arm/configs/UC7110_defconfig [new file with mode: 0644]
arch/arm/configs/UC7112_defconfig [new file with mode: 0644]
arch/arm/configs/atmel_defconfig [new file with mode: 0644]
arch/arm/configs/espd_4510b_defconfig [new file with mode: 0644]
arch/arm/configs/ks8695_config [new file with mode: 0644]
arch/arm/configs/lpc22xx_defconfig [new file with mode: 0644]
arch/arm/configs/p2001_defconfig [new file with mode: 0644]
arch/arm/configs/s3c24a0_mmu_defconfig [new file with mode: 0644]
arch/arm/configs/s3c24a0_nommu_defconfig [new file with mode: 0644]
arch/arm/configs/s3c3410_defconfig [new file with mode: 0644]
arch/arm/configs/s3c44b0x_defconfig [new file with mode: 0644]
arch/arm/configs/s5c7375_defconfig [new file with mode: 0644]
arch/arm/kernel/Makefile
arch/arm/kernel/armksyms.c
arch/arm/kernel/entry-common.S
arch/arm/kernel/head-nommu.S
arch/arm/kernel/head.S
arch/arm/kernel/initrd-mtd.c [new file with mode: 0644]
arch/arm/kernel/process.c
arch/arm/kernel/setup.c
arch/arm/kernel/sys_arm.c
arch/arm/kernel/traps.c
arch/arm/mach-adifcc/Kconfig [new file with mode: 0644]
arch/arm/mach-atmel/Kconfig [new file with mode: 0644]
arch/arm/mach-atmel/Makefile [new file with mode: 0644]
arch/arm/mach-atmel/Makefile.boot [new file with mode: 0644]
arch/arm/mach-atmel/arch.c [new file with mode: 0644]
arch/arm/mach-atmel/head.S [new file with mode: 0644]
arch/arm/mach-atmel/irq.c [new file with mode: 0644]
arch/arm/mach-atmel/time.c [new file with mode: 0644]
arch/arm/mach-espd_4510b/Kconfig [new file with mode: 0644]
arch/arm/mach-espd_4510b/Makefile [new file with mode: 0644]
arch/arm/mach-espd_4510b/Makefile.boot [new file with mode: 0644]
arch/arm/mach-espd_4510b/arch.c [new file with mode: 0644]
arch/arm/mach-espd_4510b/dma.c [new file with mode: 0644]
arch/arm/mach-espd_4510b/head.S [new file with mode: 0644]
arch/arm/mach-espd_4510b/irq.c [new file with mode: 0644]
arch/arm/mach-espd_4510b/mm.c [new file with mode: 0644]
arch/arm/mach-espd_4510b/time.c [new file with mode: 0644]
arch/arm/mach-integrator/integrator_cp.c
arch/arm/mach-ixp4xx/Kconfig
arch/arm/mach-ixp4xx/Makefile
arch/arm/mach-ixp4xx/common-pci.c
arch/arm/mach-ixp4xx/common.c
arch/arm/mach-ixp4xx/coyote-setup.c
arch/arm/mach-ixp4xx/ess710-pci.c [new file with mode: 0644]
arch/arm/mach-ixp4xx/sg-setup.c [new file with mode: 0644]
arch/arm/mach-ixp4xx/sg5xx-pci.c [new file with mode: 0644]
arch/arm/mach-ixp4xx/sg720-pci.c [new file with mode: 0644]
arch/arm/mach-ks8695/Kconfig [new file with mode: 0644]
arch/arm/mach-ks8695/Makefile [new file with mode: 0644]
arch/arm/mach-ks8695/Makefile.boot [new file with mode: 0644]
arch/arm/mach-ks8695/arch.c [new file with mode: 0644]
arch/arm/mach-ks8695/irq.c [new file with mode: 0644]
arch/arm/mach-ks8695/mm.c [new file with mode: 0644]
arch/arm/mach-ks8695/pci.c [new file with mode: 0644]
arch/arm/mach-ks8695/time.c [new file with mode: 0644]
arch/arm/mach-lpc22xx/Kconfig [new file with mode: 0644]
arch/arm/mach-lpc22xx/Makefile [new file with mode: 0644]
arch/arm/mach-lpc22xx/arch.c [new file with mode: 0644]
arch/arm/mach-lpc22xx/head.S [new file with mode: 0644]
arch/arm/mach-lpc22xx/irq.c [new file with mode: 0644]
arch/arm/mach-lpc22xx/time.c [new file with mode: 0644]
arch/arm/mach-moxart/Kconfig [new file with mode: 0644]
arch/arm/mach-moxart/Makefile [new file with mode: 0644]
arch/arm/mach-moxart/ahb_dma.c [new file with mode: 0644]
arch/arm/mach-moxart/apb_dma.c [new file with mode: 0644]
arch/arm/mach-moxart/arch.c [new file with mode: 0644]
arch/arm/mach-moxart/cpe_dma.c [new file with mode: 0644]
arch/arm/mach-moxart/debug.c [new file with mode: 0644]
arch/arm/mach-moxart/debug_cpe.c [new file with mode: 0644]
arch/arm/mach-moxart/dma.h [new file with mode: 0644]
arch/arm/mach-moxart/entry-macro.S [new file with mode: 0644]
arch/arm/mach-moxart/ftpci.c [new file with mode: 0644]
arch/arm/mach-moxart/gpio.c [new file with mode: 0644]
arch/arm/mach-moxart/head.S [new file with mode: 0644]
arch/arm/mach-moxart/irq.c [new file with mode: 0644]
arch/arm/mach-moxart/irq.c-bak-07312007 [new file with mode: 0644]
arch/arm/mach-moxart/pci.c [new file with mode: 0644]
arch/arm/mach-moxart/timer.c [new file with mode: 0644]
arch/arm/mach-p2001/Kconfig [new file with mode: 0644]
arch/arm/mach-p2001/Makefile [new file with mode: 0644]
arch/arm/mach-p2001/Makefile.boot [new file with mode: 0644]
arch/arm/mach-p2001/arch.c [new file with mode: 0644]
arch/arm/mach-p2001/entry-macro.S [new file with mode: 0644]
arch/arm/mach-p2001/head.S [new file with mode: 0644]
arch/arm/mach-p2001/irq.c [new file with mode: 0644]
arch/arm/mach-p2001/p2001_cpufreq.c [new file with mode: 0644]
arch/arm/mach-p2001/time.c [new file with mode: 0644]
arch/arm/mach-s3c2410/Makefile
arch/arm/mach-s3c24a0/Kconfig [new file with mode: 0644]
arch/arm/mach-s3c24a0/Makefile [new file with mode: 0644]
arch/arm/mach-s3c24a0/Makefile.boot [new file with mode: 0644]
arch/arm/mach-s3c24a0/clocks.c [new file with mode: 0644]
arch/arm/mach-s3c24a0/generic.c [new file with mode: 0644]
arch/arm/mach-s3c24a0/generic.h [new file with mode: 0644]
arch/arm/mach-s3c24a0/head.S [new file with mode: 0644]
arch/arm/mach-s3c24a0/irq.c [new file with mode: 0644]
arch/arm/mach-s3c24a0/leds-smdk.c [new file with mode: 0644]
arch/arm/mach-s3c24a0/leds.c [new file with mode: 0644]
arch/arm/mach-s3c24a0/leds.h [new file with mode: 0644]
arch/arm/mach-s3c24a0/registers.c [new file with mode: 0644]
arch/arm/mach-s3c24a0/smdk.c [new file with mode: 0644]
arch/arm/mach-s3c24a0/time.c [new file with mode: 0644]
arch/arm/mach-s3c3410/Kconfig [new file with mode: 0644]
arch/arm/mach-s3c3410/Makefile [new file with mode: 0644]
arch/arm/mach-s3c3410/arch.c [new file with mode: 0644]
arch/arm/mach-s3c3410/dma.c [new file with mode: 0644]
arch/arm/mach-s3c3410/head.S [new file with mode: 0644]
arch/arm/mach-s3c3410/irq.c [new file with mode: 0644]
arch/arm/mach-s3c3410/mm.c [new file with mode: 0644]
arch/arm/mach-s3c3410/time.c [new file with mode: 0644]
arch/arm/mach-s3c44b0x/Kconfig [new file with mode: 0644]
arch/arm/mach-s3c44b0x/Makefile [new file with mode: 0644]
arch/arm/mach-s3c44b0x/Makefile.boot [new file with mode: 0644]
arch/arm/mach-s3c44b0x/arch.c [new file with mode: 0644]
arch/arm/mach-s3c44b0x/cache.S [new file with mode: 0644]
arch/arm/mach-s3c44b0x/dma.c [new file with mode: 0644]
arch/arm/mach-s3c44b0x/driver/Kconfig [new file with mode: 0644]
arch/arm/mach-s3c44b0x/driver/Makefile [new file with mode: 0644]
arch/arm/mach-s3c44b0x/driver/console.c [new file with mode: 0644]
arch/arm/mach-s3c44b0x/driver/led.c [new file with mode: 0644]
arch/arm/mach-s3c44b0x/driver/rtl8019.c [new file with mode: 0644]
arch/arm/mach-s3c44b0x/driver/rtl8019.h [new file with mode: 0644]
arch/arm/mach-s3c44b0x/head.S [new file with mode: 0644]
arch/arm/mach-s3c44b0x/irq.c [new file with mode: 0644]
arch/arm/mach-s3c44b0x/mm.c [new file with mode: 0644]
arch/arm/mach-s3c44b0x/time.c [new file with mode: 0644]
arch/arm/mach-s5c7375/Kconfig [new file with mode: 0644]
arch/arm/mach-s5c7375/Makefile [new file with mode: 0644]
arch/arm/mach-s5c7375/Makefile.boot [new file with mode: 0644]
arch/arm/mach-s5c7375/arch.c [new file with mode: 0644]
arch/arm/mach-s5c7375/dma.c [new file with mode: 0644]
arch/arm/mach-s5c7375/head.S [new file with mode: 0644]
arch/arm/mach-s5c7375/irq.c [new file with mode: 0644]
arch/arm/mach-s5c7375/time.c [new file with mode: 0644]
arch/arm/mm/Kconfig
arch/arm/mm/Kconfig-bak-03032007 [new file with mode: 0644]
arch/arm/mm/Makefile
arch/arm/mm/abort-ev0.S [new file with mode: 0644]
arch/arm/mm/abort-ev0t.S [new file with mode: 0644]
arch/arm/mm/cache-v0.S [new file with mode: 0644]
arch/arm/mm/cache-v3.S
arch/arm/mm/cache-v4.S
arch/arm/mm/consistent-nommu.c [new file with mode: 0644]
arch/arm/mm/copypage-v4wb.S
arch/arm/mm/fault.c
arch/arm/mm/flush.c
arch/arm/mm/nommu.c
arch/arm/mm/proc-arm720.S
arch/arm/mm/proc-arm740.S
arch/arm/mm/proc-arm7tdmi.S
arch/arm/mm/proc-arm922.S
arch/arm/mm/proc-arm925.S
arch/arm/mm/proc-arm940.S
arch/arm/mm/proc-arm946.S
arch/arm/mm/proc-arm9tdmi.S
arch/arm/mm/proc-lpc22xx.S [new file with mode: 0644]
arch/arm/mm/proc-s3c4510b.S [new file with mode: 0644]
arch/arm/mm/proc-syms.c
arch/arm/mm/proc-xsc3.S
arch/arm/mm/proc-xscale.S
arch/arm/tools/mach-types
arch/i386/boot/bootsect.S
arch/i386/boot/compressed/head.S
arch/i386/boot/compressed/misc.c
arch/i386/boot/setup.S
arch/m68knommu/Kconfig
arch/m68knommu/kernel/process.c
arch/m68knommu/kernel/setup.c
arch/m68knommu/kernel/sys_m68k.c
arch/m68knommu/kernel/traps.c
arch/m68knommu/platform/5307/head.S
arch/m68knommu/platform/5307/ints.c
arch/m68knommu/platform/5307/timers.c
arch/m68knommu/platform/532x/spi-mcf532x.c [new file with mode: 0644]
arch/m68knommu/platform/532x/usb-mcf532x.c [new file with mode: 0644]
arch/m68knommu/platform/68360/config.c
arch/m68knommu/platform/68360/head-ram.S
arch/m68knommu/platform/68VZ328/screen.xbm [new file with mode: 0644]
arch/m68knommu/platform/68VZ328/xbm2lcd.pl [new file with mode: 0644]
arch/nios2nommu/ChangeLog [new file with mode: 0644]
arch/nios2nommu/Kconfig [new file with mode: 0644]
arch/nios2nommu/Kconfig.debug [new file with mode: 0644]
arch/nios2nommu/Makefile [new file with mode: 0644]
arch/nios2nommu/boot/Makefile [new file with mode: 0644]
arch/nios2nommu/boot/compressed/Makefile [new file with mode: 0644]
arch/nios2nommu/boot/compressed/head.S [new file with mode: 0644]
arch/nios2nommu/boot/compressed/install.sh [new file with mode: 0644]
arch/nios2nommu/boot/compressed/misc.c [new file with mode: 0644]
arch/nios2nommu/boot/compressed/nios2_sio.c [new file with mode: 0644]
arch/nios2nommu/defconfig [new file with mode: 0644]
arch/nios2nommu/drivers/Kconfig [new file with mode: 0644]
arch/nios2nommu/drivers/Makefile [new file with mode: 0644]
arch/nios2nommu/drivers/altfb.c [new file with mode: 0644]
arch/nios2nommu/drivers/altps2.c [new file with mode: 0644]
arch/nios2nommu/drivers/i2c-gpio.c [new file with mode: 0644]
arch/nios2nommu/drivers/pci/Kconfig [new file with mode: 0644]
arch/nios2nommu/drivers/pci/Makefile [new file with mode: 0644]
arch/nios2nommu/drivers/pci/altpci.c [new file with mode: 0644]
arch/nios2nommu/drivers/pci/pci-auto.c [new file with mode: 0644]
arch/nios2nommu/drivers/pci/pci.c [new file with mode: 0644]
arch/nios2nommu/drivers/pci/setup-irq.c [new file with mode: 0644]
arch/nios2nommu/kernel/ChangeLog [new file with mode: 0644]
arch/nios2nommu/kernel/Makefile [new file with mode: 0644]
arch/nios2nommu/kernel/asm-offsets.c [new file with mode: 0644]
arch/nios2nommu/kernel/dma.c [new file with mode: 0644]
arch/nios2nommu/kernel/entry.S [new file with mode: 0644]
arch/nios2nommu/kernel/head.S [new file with mode: 0644]
arch/nios2nommu/kernel/init_task.c [new file with mode: 0644]
arch/nios2nommu/kernel/io.c [new file with mode: 0644]
arch/nios2nommu/kernel/irq.c [new file with mode: 0644]
arch/nios2nommu/kernel/module.c [new file with mode: 0644]
arch/nios2nommu/kernel/nios2_ksyms.c [new file with mode: 0644]
arch/nios2nommu/kernel/nios_gdb_stub.c [new file with mode: 0644]
arch/nios2nommu/kernel/nios_gdb_stub.h [new file with mode: 0644]
arch/nios2nommu/kernel/nios_gdb_stub_io.c [new file with mode: 0644]
arch/nios2nommu/kernel/nios_gdb_stub_isr.S [new file with mode: 0644]
arch/nios2nommu/kernel/pio.c [new file with mode: 0644]
arch/nios2nommu/kernel/process.c [new file with mode: 0644]
arch/nios2nommu/kernel/ptrace.c [new file with mode: 0644]
arch/nios2nommu/kernel/semaphore.c [new file with mode: 0644]
arch/nios2nommu/kernel/setup.c [new file with mode: 0644]
arch/nios2nommu/kernel/signal.c [new file with mode: 0644]
arch/nios2nommu/kernel/start.c [new file with mode: 0644]
arch/nios2nommu/kernel/sys_nios2.c [new file with mode: 0644]
arch/nios2nommu/kernel/syscalltable.S [new file with mode: 0644]
arch/nios2nommu/kernel/time.c [new file with mode: 0644]
arch/nios2nommu/kernel/traps.c [new file with mode: 0644]
arch/nios2nommu/kernel/usb.c [new file with mode: 0644]
arch/nios2nommu/lib/Makefile [new file with mode: 0644]
arch/nios2nommu/lib/checksum.c [new file with mode: 0644]
arch/nios2nommu/lib/memcpy.c [new file with mode: 0644]
arch/nios2nommu/lib/string.c [new file with mode: 0644]
arch/nios2nommu/mm/Makefile [new file with mode: 0644]
arch/nios2nommu/mm/dma-noncoherent.c [new file with mode: 0644]
arch/nios2nommu/mm/extable.c [new file with mode: 0644]
arch/nios2nommu/mm/init.c [new file with mode: 0644]
arch/nios2nommu/mm/ioremap.c [new file with mode: 0644]
arch/nios2nommu/mm/memory.c [new file with mode: 0644]
arch/nios2nommu/scripts/PTF/PTFParser.pm [new file with mode: 0644]
arch/nios2nommu/scripts/PTF/PTFParser.yp [new file with mode: 0644]
arch/nios2nommu/scripts/PTF/PTFSection.pm [new file with mode: 0644]
arch/nios2nommu/scripts/PTF/SystemPTF.pm [new file with mode: 0644]
arch/nios2nommu/scripts/PTF/SystemPTF/Board.pm [new file with mode: 0644]
arch/nios2nommu/scripts/PTF/SystemPTF/CPU.pm [new file with mode: 0644]
arch/nios2nommu/scripts/PTF/SystemPTF/Module.pm [new file with mode: 0644]
arch/nios2nommu/scripts/gen_nios2_system.h.pl [new file with mode: 0644]
arch/nios2nommu/scripts/hwselect.pl [new file with mode: 0644]
arch/nios2nommu/scripts/nios2_system.h/BasicModule.pm [new file with mode: 0644]
arch/nios2nommu/scripts/nios2_system.h/altera_avalon_cf.pm [new file with mode: 0644]
arch/nios2nommu/scripts/nios2_system.h/altera_avalon_jtag_uart.pm [new file with mode: 0644]
arch/nios2nommu/scripts/nios2_system.h/altera_avalon_lan91c111.pm [new file with mode: 0644]
arch/nios2nommu/scripts/nios2_system.h/altera_avalon_pio.pm [new file with mode: 0644]
arch/nios2nommu/scripts/nios2_system.h/altera_avalon_spi.pm [new file with mode: 0644]
arch/nios2nommu/scripts/nios2_system.h/altera_avalon_sysid.pm [new file with mode: 0644]
arch/nios2nommu/scripts/nios2_system.h/altera_avalon_timer.pm [new file with mode: 0644]
arch/nios2nommu/scripts/nios2_system.h/altera_avalon_uart.pm [new file with mode: 0644]
arch/nios2nommu/scripts/nios2_system.h/mtip_avalon_10_100_mac.pm [new file with mode: 0644]
arch/nios2nommu/scripts/nios2_system.h/mtx_avalon_dm9000.pm [new file with mode: 0644]
arch/nios2nommu/scripts/nios2_system.h/mtx_avalon_isp1161a1.pm [new file with mode: 0644]
arch/nios2nommu/scripts/nios2_system.h/opencores_ethernet_mac.pm [new file with mode: 0644]
arch/nios2nommu/scripts/nios2_system.h/opencores_i2c.pm [new file with mode: 0644]
arch/sh/Kconfig
arch/sh/Makefile
arch/sh/boards/se/770x/setup.c
arch/sh/boards/snapgear/Makefile
arch/sh/boards/snapgear/rtc.c
arch/sh/boards/snapgear/setup.c
arch/sh/drivers/pci/ops-snapgear.c
arch/sh/drivers/pci/pci-auto.c
arch/sh/kernel/head.S
arch/sh/kernel/process.c
arch/sh/kernel/setup.c
arch/sh/lib/checksum.S
arch/sh/lib/memchr.S
arch/sh/lib/memcpy.S
arch/sh/lib/memmove.S
arch/sh/lib/memset.S
arch/sh/lib/strlen.S
arch/um/Kconfig.arch [new symlink]
arch/um/kernel/skas/clone.c
arch/um/os-Linux/Makefile
arch/v850/lib/checksum.c
block/as-iosched.c
block/deadline-iosched.c
block/elevator.c
block/ioctl.c
block/ll_rw_blk.c
drivers/Makefile
drivers/block/rd.c
drivers/char/Kconfig
drivers/char/Makefile
drivers/char/altera_pio_button.c [new file with mode: 0644]
drivers/char/fast_timer.c [new file with mode: 0644]
drivers/char/gpio.c [new file with mode: 0644]
drivers/char/gpio.c-bak-07312007 [new file with mode: 0644]
drivers/char/keypad.c [new file with mode: 0644]
drivers/char/lcd_16207.c [new file with mode: 0644]
drivers/char/lcm0.c [new file with mode: 0644]
drivers/char/lcm1.c [new file with mode: 0644]
drivers/char/lcm2.c [new file with mode: 0644]
drivers/char/lcm3.c [new file with mode: 0644]
drivers/char/ledman.c [new file with mode: 0644]
drivers/char/m41t11m6.c [new file with mode: 0644]
drivers/char/mcf_qspi.c [new file with mode: 0644]
drivers/char/mcf_qspi.h [new file with mode: 0644]
drivers/char/mcfwatchdog.c [new file with mode: 0644]
drivers/char/moxalcm.h [new file with mode: 0644]
drivers/char/mxser.c
drivers/char/resetswitch.c [new file with mode: 0644]
drivers/char/resetswitch.c-bak-07312007 [new file with mode: 0644]
drivers/char/resetswitch.c-old [new file with mode: 0644]
drivers/char/rtc.c
drivers/char/rtc.c-bak-09052007 [new file with mode: 0644]
drivers/char/rtc.c-old [new file with mode: 0644]
drivers/char/snapdog.c [new file with mode: 0644]
drivers/char/watchdog/Kconfig
drivers/char/watchdog/Makefile
drivers/char/watchdog/avalonwdt.c [new file with mode: 0644]
drivers/char/watchdog/ixp4xx_wdt.c
drivers/char/watchdog/m5272_wdt.c [new file with mode: 0644]
drivers/char/watchdog/uc7110wdt.c [new file with mode: 0644]
drivers/hwmon/hwmon-vid.c
drivers/hwmon/lm87.c
drivers/i2c/busses/Kconfig
drivers/i2c/busses/Makefile
drivers/i2c/busses/i2c-iop3xx.c
drivers/i2c/busses/i2c-ixp4xx.c
drivers/i2c/busses/i2c-mcf.c [new file with mode: 0644]
drivers/i2c/busses/i2c-mcf.h [new file with mode: 0644]
drivers/i2c/chips/Kconfig
drivers/i2c/chips/Makefile
drivers/i2c/chips/m41t11.c [new file with mode: 0644]
drivers/ide/Kconfig
drivers/ide/arm/adi-coyote.c [new file with mode: 0644]
drivers/ide/ide-io.c
drivers/ide/ide-probe.c
drivers/ide/pci/Makefile
drivers/ide/pci/p20575.c [new file with mode: 0644]
drivers/ieee1394/dma.c
drivers/mmc/Kconfig
drivers/mmc/Makefile
drivers/mmc/mmc.c
drivers/mmc/mmc_block.c
drivers/mmc/mmc_sysfs.c
drivers/mmc/moxasd.c [new file with mode: 0644]
drivers/mmc/moxasd.c-bak-07122007 [new file with mode: 0644]
drivers/mmc/moxasd.h [new file with mode: 0644]
drivers/mtd/chips/Kconfig
drivers/mtd/chips/Makefile
drivers/mtd/chips/cfi_cmdset_0001.c
drivers/mtd/chips/cfi_probe.c
drivers/mtd/chips/chipreg.c
drivers/mtd/chips/epcs.c [new file with mode: 0644]
drivers/mtd/chips/epcs.h [new file with mode: 0644]
drivers/mtd/chips/epcs_low.c [new file with mode: 0644]
drivers/mtd/chips/jedec_probe.c
drivers/mtd/devices/docprobe.c
drivers/mtd/maps/Kconfig
drivers/mtd/maps/Makefile
drivers/mtd/maps/altera.c [new file with mode: 0644]
drivers/mtd/maps/avnet5282.c [new file with mode: 0644]
drivers/mtd/maps/cobra5272.c [new file with mode: 0644]
drivers/mtd/maps/cobra5282.c [new file with mode: 0644]
drivers/mtd/maps/cobra5329.c [new file with mode: 0644]
drivers/mtd/maps/dm270-flash.c [new file with mode: 0644]
drivers/mtd/maps/em1110.c [new file with mode: 0644]
drivers/mtd/maps/em1220.c [new file with mode: 0644]
drivers/mtd/maps/em1220_dlin.c [new file with mode: 0644]
drivers/mtd/maps/em1240.c [new file with mode: 0644]
drivers/mtd/maps/em1240_ivtc.c [new file with mode: 0644]
drivers/mtd/maps/em1240_mt.c [new file with mode: 0644]
drivers/mtd/maps/epcs_map.c [new file with mode: 0644]
drivers/mtd/maps/ixp4xx.c
drivers/mtd/maps/m520x.c [new file with mode: 0644]
drivers/mtd/maps/microtronix.c [new file with mode: 0644]
drivers/mtd/maps/nettel.c
drivers/mtd/maps/plat-ram.c
drivers/mtd/maps/snaparm.c [new file with mode: 0644]
drivers/mtd/maps/snapgear-uc.c [new file with mode: 0644]
drivers/mtd/maps/snapgeode.c [new file with mode: 0644]
drivers/mtd/maps/uc7101.c [new file with mode: 0644]
drivers/mtd/maps/uc7110.c [new file with mode: 0644]
drivers/mtd/maps/uc7112.c [new file with mode: 0644]
drivers/mtd/maps/uclinux.c
drivers/mtd/maps/w311_test.c [new file with mode: 0644]
drivers/mtd/maps/w315_ec.c [new file with mode: 0644]
drivers/mtd/maps/w321_gl2.c [new file with mode: 0644]
drivers/mtd/mtd_blkdevs.c
drivers/mtd/mtdchar.c
drivers/mtd/nand/Kconfig
drivers/mtd/nand/Makefile
drivers/mtd/nand/diskonchip.c
drivers/mtd/nand/m5329.c [new file with mode: 0644]
drivers/net/8139cp.c
drivers/net/8139too.c
drivers/net/8390.c
drivers/net/8390.h
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/arm/Kconfig
drivers/net/arm/Makefile
drivers/net/arm/eth_moxa.c [new file with mode: 0644]
drivers/net/arm/eth_moxa.h [new file with mode: 0644]
drivers/net/arm/eth_s3c4510b.c [new file with mode: 0644]
drivers/net/arm/eth_s3c4510b.h [new file with mode: 0644]
drivers/net/arm/p2001_eth.c [new file with mode: 0644]
drivers/net/cs89x0.c
drivers/net/cs89x0_defs.h [new file with mode: 0644]
drivers/net/cs89x0_fct.h [new file with mode: 0644]
drivers/net/fec.c
drivers/net/ks8695/Makefile [new file with mode: 0644]
drivers/net/ks8695/ks8695_cache.c [new file with mode: 0644]
drivers/net/ks8695/ks8695_cache.h [new file with mode: 0644]
drivers/net/ks8695/ks8695_chipdef.h [new file with mode: 0644]
drivers/net/ks8695/ks8695_drv.h [new file with mode: 0644]
drivers/net/ks8695/ks8695_fxhw.c [new file with mode: 0644]
drivers/net/ks8695/ks8695_fxhw.h [new file with mode: 0644]
drivers/net/ks8695/ks8695_ioctrl.h [new file with mode: 0644]
drivers/net/ks8695/ks8695_kcompat.h [new file with mode: 0644]
drivers/net/ks8695/ks8695_main.c [new file with mode: 0644]
drivers/net/mtip1000.c [new file with mode: 0644]
drivers/net/mtip1000.h [new file with mode: 0644]
drivers/net/ne.c
drivers/net/ns83865phy.h [new file with mode: 0644]
drivers/net/open_eth.c [new file with mode: 0644]
drivers/net/open_eth.h [new file with mode: 0644]
drivers/net/r8169.c
drivers/net/slip.c
drivers/net/smc9194.c
drivers/net/smc9194.h
drivers/net/stdphy.h [new file with mode: 0644]
drivers/net/tdk78phy.h [new file with mode: 0644]
drivers/pci/pci.c
drivers/rtc/Kconfig
drivers/rtc/Makefile
drivers/rtc/rtc-ds1302.c [new file with mode: 0644]
drivers/rtc/rtc-sh.c
drivers/scsi/scsi.c
drivers/scsi/scsi_lib.c
drivers/scsi/sd.c
drivers/serial/8250.c
drivers/serial/Kconfig
drivers/serial/Makefile
drivers/serial/NIOSserial.c [new file with mode: 0644]
drivers/serial/NIOSserial.h [new file with mode: 0644]
drivers/serial/altera_juart.c [new file with mode: 0644]
drivers/serial/dcc.c [new file with mode: 0644]
drivers/serial/mcf.c [new file with mode: 0644]
drivers/serial/mcfserial.c
drivers/serial/p2001_uart.c [new file with mode: 0644]
drivers/serial/serial_atmel.c [new file with mode: 0644]
drivers/serial/serial_atmel.h [new file with mode: 0644]
drivers/serial/serial_core.c
drivers/serial/serial_dm270.c [new file with mode: 0644]
drivers/serial/serial_ks8695.c [new file with mode: 0644]
drivers/serial/serial_s3c24a0.c [new file with mode: 0644]
drivers/serial/serial_s3c4510b.c [new file with mode: 0644]
drivers/serial/sh-sci.c
drivers/spi/DS1305RTC.c [new file with mode: 0644]
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/mcf_qspi.c [new file with mode: 0644]
drivers/usb/Kconfig
drivers/usb/core/urb.c
drivers/usb/host/ehci-hcd.c
drivers/usb/host/ehci-moxaart.c [new file with mode: 0644]
drivers/usb/host/ehci.h
drivers/usb/net/Kconfig
drivers/video/Kconfig
drivers/video/Makefile
drivers/video/dm270fb.c [new file with mode: 0644]
drivers/video/dm270fb.h [new file with mode: 0644]
drivers/video/m532xfb.c [new file with mode: 0644]
fs/Kconfig
fs/Makefile
fs/binfmt_flat.c
fs/block_dev.c
fs/buffer.c
fs/char_dev.c
fs/cramfs/inode.c
fs/exec.c
fs/ext2/dir.c
fs/ext2/inode.c
fs/ext3/inode.c
fs/fat/inode.c
fs/fifo.c
fs/file_table.c
fs/hfs/inode.c
fs/hfsplus/inode.c
fs/inode.c
fs/jbd/commit.c
fs/jbd/journal.c
fs/jffs2/background.c
fs/jffs2/file.c
fs/jffs2/nodemgmt.c
fs/jffs2/super.c
fs/jffs2/xattr.h
fs/jfs/inode.c
fs/libfs.c
fs/lockd/mon.c
fs/mpage.c
fs/namei.c
fs/nfs/file.c
fs/nfs/pagelist.c
fs/nfs/read.c
fs/nfs/write.c
fs/ocfs2/aops.c
fs/partitions/ldm.c
fs/pipe.c
fs/proc/base.c
fs/reiserfs/inode.c
fs/splice.c
fs/squashfs/LzmaDecode.c [new file with mode: 0644]
fs/squashfs/LzmaDecode.h [new file with mode: 0644]
fs/squashfs/LzmaWrapper.c [new file with mode: 0644]
fs/squashfs/LzmaWrapper.h [new file with mode: 0644]
fs/squashfs/Makefile [new file with mode: 0644]
fs/squashfs/inode.c [new file with mode: 0644]
fs/xfs/linux-2.6/xfs_aops.c
include/asm-arm/arch-atmel/at91x40.h [new file with mode: 0644]
include/asm-arm/arch-atmel/at91x63.h [new file with mode: 0644]
include/asm-arm/arch-atmel/dma.h [new file with mode: 0644]
include/asm-arm/arch-atmel/entry-macro.S [new file with mode: 0644]
include/asm-arm/arch-atmel/hardware.h [new file with mode: 0644]
include/asm-arm/arch-atmel/io.h [new file with mode: 0644]
include/asm-arm/arch-atmel/irq.h [new file with mode: 0644]
include/asm-arm/arch-atmel/irqs.h [new file with mode: 0644]
include/asm-arm/arch-atmel/memory.h [new file with mode: 0644]
include/asm-arm/arch-atmel/param.h [new file with mode: 0644]
include/asm-arm/arch-atmel/system.h [new file with mode: 0644]
include/asm-arm/arch-atmel/time.h [new file with mode: 0644]
include/asm-arm/arch-atmel/timex.h [new file with mode: 0644]
include/asm-arm/arch-atmel/uncompress.h [new file with mode: 0644]
include/asm-arm/arch-atmel/vmalloc.h [new file with mode: 0644]
include/asm-arm/arch-espd_4510b/dma.h [new file with mode: 0644]
include/asm-arm/arch-espd_4510b/entry-macro.S [new file with mode: 0644]
include/asm-arm/arch-espd_4510b/hardware.h [new file with mode: 0644]
include/asm-arm/arch-espd_4510b/io.h [new file with mode: 0644]
include/asm-arm/arch-espd_4510b/irq.h [new file with mode: 0644]
include/asm-arm/arch-espd_4510b/irqs.h [new file with mode: 0644]
include/asm-arm/arch-espd_4510b/keyboard.h [new file with mode: 0644]
include/asm-arm/arch-espd_4510b/memory.h [new file with mode: 0644]
include/asm-arm/arch-espd_4510b/param.h [new file with mode: 0644]
include/asm-arm/arch-espd_4510b/s3c4510b.h [new file with mode: 0644]
include/asm-arm/arch-espd_4510b/system.h [new file with mode: 0644]
include/asm-arm/arch-espd_4510b/time.h [new file with mode: 0644]
include/asm-arm/arch-espd_4510b/timex.h [new file with mode: 0644]
include/asm-arm/arch-espd_4510b/uart.h [new file with mode: 0644]
include/asm-arm/arch-espd_4510b/uncompress.c [new file with mode: 0644]
include/asm-arm/arch-espd_4510b/uncompress.h [new file with mode: 0644]
include/asm-arm/arch-espd_4510b/vmalloc.h [new file with mode: 0644]
include/asm-arm/arch-integrator/hardware.h
include/asm-arm/arch-integrator/memory.h
include/asm-arm/arch-ixp4xx/fast_timer.h [new file with mode: 0644]
include/asm-arm/arch-ixp4xx/hardware.h
include/asm-arm/arch-ixp4xx/ide.h [new file with mode: 0644]
include/asm-arm/arch-ixp4xx/irqs.h
include/asm-arm/arch-ixp4xx/memory.h
include/asm-arm/arch-ixp4xx/platform.h
include/asm-arm/arch-ixp4xx/sg.h [new file with mode: 0644]
include/asm-arm/arch-ixp4xx/timex.h
include/asm-arm/arch-ixp4xx/uncompress.h
include/asm-arm/arch-ks8695/debug-macro.S [new file with mode: 0644]
include/asm-arm/arch-ks8695/dma.h [new file with mode: 0644]
include/asm-arm/arch-ks8695/entry-macro.S [new file with mode: 0644]
include/asm-arm/arch-ks8695/fast_timer.h [new file with mode: 0644]
include/asm-arm/arch-ks8695/hardware.h [new file with mode: 0644]
include/asm-arm/arch-ks8695/io.h [new file with mode: 0644]
include/asm-arm/arch-ks8695/irqs.h [new file with mode: 0644]
include/asm-arm/arch-ks8695/ks8695-pci.h [new file with mode: 0644]
include/asm-arm/arch-ks8695/ks8695-regs.h [new file with mode: 0644]
include/asm-arm/arch-ks8695/memory.h [new file with mode: 0644]
include/asm-arm/arch-ks8695/param.h [new file with mode: 0644]
include/asm-arm/arch-ks8695/system.h [new file with mode: 0644]
include/asm-arm/arch-ks8695/timex.h [new file with mode: 0644]
include/asm-arm/arch-ks8695/uncompress.h [new file with mode: 0644]
include/asm-arm/arch-ks8695/vmalloc.h [new file with mode: 0644]
include/asm-arm/arch-lpc22xx/dma.h [new file with mode: 0644]
include/asm-arm/arch-lpc22xx/entry-macro.S [new file with mode: 0644]
include/asm-arm/arch-lpc22xx/hardware.h [new file with mode: 0644]
include/asm-arm/arch-lpc22xx/io.h [new file with mode: 0644]
include/asm-arm/arch-lpc22xx/irq.h [new file with mode: 0644]
include/asm-arm/arch-lpc22xx/irqs.h [new file with mode: 0644]
include/asm-arm/arch-lpc22xx/keyboard.h [new file with mode: 0644]
include/asm-arm/arch-lpc22xx/log [new file with mode: 0644]
include/asm-arm/arch-lpc22xx/lpc22xx.h [new file with mode: 0644]
include/asm-arm/arch-lpc22xx/memory.h [new file with mode: 0644]
include/asm-arm/arch-lpc22xx/param.h [new file with mode: 0644]
include/asm-arm/arch-lpc22xx/serial.h [new file with mode: 0644]
include/asm-arm/arch-lpc22xx/system.h [new file with mode: 0644]
include/asm-arm/arch-lpc22xx/time.h [new file with mode: 0644]
include/asm-arm/arch-lpc22xx/timex.h [new file with mode: 0644]
include/asm-arm/arch-lpc22xx/vmalloc.h [new file with mode: 0644]
include/asm-arm/arch-moxart/cpe_int.h [new file with mode: 0644]
include/asm-arm/arch-moxart/cpe_time.h [new file with mode: 0644]
include/asm-arm/arch-moxart/dma.h [new file with mode: 0644]
include/asm-arm/arch-moxart/entry-macro.S [new file with mode: 0644]
include/asm-arm/arch-moxart/ftpci.h [new file with mode: 0644]
include/asm-arm/arch-moxart/gpio.h [new file with mode: 0644]
include/asm-arm/arch-moxart/hardware.h [new file with mode: 0644]
include/asm-arm/arch-moxart/io.h [new file with mode: 0644]
include/asm-arm/arch-moxart/irq.h [new file with mode: 0644]
include/asm-arm/arch-moxart/irq.h-bak-11212005 [new file with mode: 0644]
include/asm-arm/arch-moxart/irqs.h [new file with mode: 0644]
include/asm-arm/arch-moxart/memory.h [new file with mode: 0644]
include/asm-arm/arch-moxart/moxa-uart.h [new file with mode: 0644]
include/asm-arm/arch-moxart/moxa.h [new file with mode: 0644]
include/asm-arm/arch-moxart/param.h [new file with mode: 0644]
include/asm-arm/arch-moxart/processor.h [new file with mode: 0644]
include/asm-arm/arch-moxart/serial.h [new file with mode: 0644]
include/asm-arm/arch-moxart/system.h [new file with mode: 0644]
include/asm-arm/arch-moxart/time.h [new file with mode: 0644]
include/asm-arm/arch-moxart/timex.h [new file with mode: 0644]
include/asm-arm/arch-moxart/uncompress.h [new file with mode: 0644]
include/asm-arm/arch-p2001/debug-macro.S [new file with mode: 0644]
include/asm-arm/arch-p2001/dma.h [new file with mode: 0644]
include/asm-arm/arch-p2001/entry-macro.S [new file with mode: 0644]
include/asm-arm/arch-p2001/hardware.h [new file with mode: 0644]
include/asm-arm/arch-p2001/io.h [new file with mode: 0644]
include/asm-arm/arch-p2001/irq.h [new file with mode: 0644]
include/asm-arm/arch-p2001/irqs.h [new file with mode: 0644]
include/asm-arm/arch-p2001/memory.h [new file with mode: 0644]
include/asm-arm/arch-p2001/param.h [new file with mode: 0644]
include/asm-arm/arch-p2001/system.h [new file with mode: 0644]
include/asm-arm/arch-p2001/timex.h [new file with mode: 0644]
include/asm-arm/arch-p2001/uncompress.h [new file with mode: 0644]
include/asm-arm/arch-p2001/vmalloc.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/S3C24A0.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/bitfield.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/clocks.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/debug-macro.S [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/dma.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/entry-macro.S [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/hardware.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/ide.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/io.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/irq.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/irqs.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/keyboard.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/memory.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/param.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/s3c24a0-common.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/s3c24a0-ioctl.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/s3c24a0-key.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/s3c24a0-machine.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/s3c24a0_nand.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/smdk.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/system.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/time.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/timex.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/uncompress-jtag.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/uncompress.h [new file with mode: 0644]
include/asm-arm/arch-s3c24a0/vmalloc.h [new file with mode: 0644]
include/asm-arm/arch-s3c3410/dma.h [new file with mode: 0644]
include/asm-arm/arch-s3c3410/entry-macro.S [new file with mode: 0644]
include/asm-arm/arch-s3c3410/hardware.h [new file with mode: 0644]
include/asm-arm/arch-s3c3410/io.h [new file with mode: 0644]
include/asm-arm/arch-s3c3410/irq.h [new file with mode: 0644]
include/asm-arm/arch-s3c3410/irqs.h [new file with mode: 0644]
include/asm-arm/arch-s3c3410/keyboard.h [new file with mode: 0644]
include/asm-arm/arch-s3c3410/memory.h [new file with mode: 0644]
include/asm-arm/arch-s3c3410/param.h [new file with mode: 0644]
include/asm-arm/arch-s3c3410/s3c3410.h [new file with mode: 0644]
include/asm-arm/arch-s3c3410/system.h [new file with mode: 0644]
include/asm-arm/arch-s3c3410/time.h [new file with mode: 0644]
include/asm-arm/arch-s3c3410/timex.h [new file with mode: 0644]
include/asm-arm/arch-s3c3410/vmalloc.h [new file with mode: 0644]
include/asm-arm/arch-s3c44b0x/dma.h [new file with mode: 0644]
include/asm-arm/arch-s3c44b0x/entry-macro.S [new file with mode: 0644]
include/asm-arm/arch-s3c44b0x/hardware.h [new file with mode: 0644]
include/asm-arm/arch-s3c44b0x/io.h [new file with mode: 0644]
include/asm-arm/arch-s3c44b0x/irq.h [new file with mode: 0644]
include/asm-arm/arch-s3c44b0x/irqs.h [new file with mode: 0644]
include/asm-arm/arch-s3c44b0x/keyboard.h [new file with mode: 0644]
include/asm-arm/arch-s3c44b0x/memory.h [new file with mode: 0644]
include/asm-arm/arch-s3c44b0x/param.h [new file with mode: 0644]
include/asm-arm/arch-s3c44b0x/s3c44b0x.h [new file with mode: 0644]
include/asm-arm/arch-s3c44b0x/system.h [new file with mode: 0644]
include/asm-arm/arch-s3c44b0x/time.h [new file with mode: 0644]
include/asm-arm/arch-s3c44b0x/timex.h [new file with mode: 0644]
include/asm-arm/arch-s3c44b0x/uncompress.c [new file with mode: 0644]
include/asm-arm/arch-s3c44b0x/uncompress.h [new file with mode: 0644]
include/asm-arm/arch-s3c44b0x/vmalloc.h [new file with mode: 0644]
include/asm-arm/arch-s5c7375/blkmem.h [new file with mode: 0644]
include/asm-arm/arch-s5c7375/dma.h [new file with mode: 0644]
include/asm-arm/arch-s5c7375/entry-macro.S [new file with mode: 0644]
include/asm-arm/arch-s5c7375/hardware.h [new file with mode: 0644]
include/asm-arm/arch-s5c7375/io.h [new file with mode: 0644]
include/asm-arm/arch-s5c7375/irq.h [new file with mode: 0644]
include/asm-arm/arch-s5c7375/irqs.h [new file with mode: 0644]
include/asm-arm/arch-s5c7375/memory.h [new file with mode: 0644]
include/asm-arm/arch-s5c7375/param.h [new file with mode: 0644]
include/asm-arm/arch-s5c7375/s5c7375.h [new file with mode: 0644]
include/asm-arm/arch-s5c7375/system.h [new file with mode: 0644]
include/asm-arm/arch-s5c7375/time.h [new file with mode: 0644]
include/asm-arm/arch-s5c7375/timex.h [new file with mode: 0644]
include/asm-arm/arch-s5c7375/uncompress.h [new file with mode: 0644]
include/asm-arm/arch-s5c7375/vmalloc.h [new file with mode: 0644]
include/asm-arm/byteorder.h
include/asm-arm/cacheflush.h
include/asm-arm/cpu-multi32.h
include/asm-arm/cpu-single.h
include/asm-arm/fast_timer.h [new file with mode: 0644]
include/asm-arm/flat.h
include/asm-arm/glue.h
include/asm-arm/hardware.h
include/asm-arm/hardware/dcc.h [new file with mode: 0644]
include/asm-arm/mach/arch.h
include/asm-arm/mach/i2c-gpio.h [new file with mode: 0644]
include/asm-arm/mmu_context.h
include/asm-arm/nommu.h [new file with mode: 0644]
include/asm-arm/nommu_context.h [new file with mode: 0644]
include/asm-arm/proc-fns.h
include/asm-arm/procinfo.h
include/asm-arm/ptrace.h
include/asm-arm/string.h
include/asm-arm/uaccess-nommu.h [new file with mode: 0644]
include/asm-arm/unaligned.h
include/asm-arm/unistd.h
include/asm-i386/edd.h [new file with mode: 0644]
include/asm-m68knommu/DS1305RTC.h [new file with mode: 0644]
include/asm-m68knommu/cs89x0_fct.h [new file with mode: 0644]
include/asm-m68knommu/dma-mapping.h
include/asm-m68knommu/dma.h
include/asm-m68knommu/irq.h
include/asm-m68knommu/m520xsim.h
include/asm-m68knommu/m528xsim.h
include/asm-m68knommu/machdep.h
include/asm-m68knommu/mcfqspi.h [new file with mode: 0644]
include/asm-m68knommu/rtc.h [new file with mode: 0644]
include/asm-m68knommu/scatterlist.h
include/asm-m68knommu/ucontext.h
include/asm-nios2nommu/ChangeLog [new file with mode: 0644]
include/asm-nios2nommu/a.out.h [new file with mode: 0644]
include/asm-nios2nommu/altera_juart.h [new file with mode: 0644]
include/asm-nios2nommu/asm-macros.h [new file with mode: 0644]
include/asm-nios2nommu/atomic.h [new file with mode: 0644]
include/asm-nios2nommu/auxvec.h [new file with mode: 0644]
include/asm-nios2nommu/bitops.h [new file with mode: 0644]
include/asm-nios2nommu/bootinfo.h [new file with mode: 0644]
include/asm-nios2nommu/bug.h [new file with mode: 0644]
include/asm-nios2nommu/bugs.h [new file with mode: 0644]
include/asm-nios2nommu/byteorder.h [new file with mode: 0644]
include/asm-nios2nommu/cache.h [new file with mode: 0644]
include/asm-nios2nommu/cachectl.h [new file with mode: 0644]
include/asm-nios2nommu/cacheflush.h [new file with mode: 0644]
include/asm-nios2nommu/checksum.h [new file with mode: 0644]
include/asm-nios2nommu/cprefix.h [new file with mode: 0644]
include/asm-nios2nommu/cpumask.h [new file with mode: 0644]
include/asm-nios2nommu/cputime.h [new file with mode: 0644]
include/asm-nios2nommu/current.h [new file with mode: 0644]
include/asm-nios2nommu/delay.h [new file with mode: 0644]
include/asm-nios2nommu/div64.h [new file with mode: 0644]
include/asm-nios2nommu/dma-mapping.h [new file with mode: 0644]
include/asm-nios2nommu/dma.h [new file with mode: 0644]
include/asm-nios2nommu/elf.h [new file with mode: 0644]
include/asm-nios2nommu/emergency-restart.h [new file with mode: 0644]
include/asm-nios2nommu/entry.h [new file with mode: 0644]
include/asm-nios2nommu/errno.h [new file with mode: 0644]
include/asm-nios2nommu/fcntl.h [new file with mode: 0644]
include/asm-nios2nommu/flat.h [new file with mode: 0644]
include/asm-nios2nommu/futex.h [new file with mode: 0644]
include/asm-nios2nommu/gpio.h [new file with mode: 0644]
include/asm-nios2nommu/hardirq.h [new file with mode: 0644]
include/asm-nios2nommu/hdreg.h [new file with mode: 0644]
include/asm-nios2nommu/hw_irq.h [new file with mode: 0644]
include/asm-nios2nommu/ide.h [new file with mode: 0644]
include/asm-nios2nommu/init.h [new file with mode: 0644]
include/asm-nios2nommu/io.h [new file with mode: 0644]
include/asm-nios2nommu/ioctl.h [new file with mode: 0644]
include/asm-nios2nommu/ioctls.h [new file with mode: 0644]
include/asm-nios2nommu/ipc.h [new file with mode: 0644]
include/asm-nios2nommu/ipcbuf.h [new file with mode: 0644]
include/asm-nios2nommu/irq.h [new file with mode: 0644]
include/asm-nios2nommu/irq_node.h [new file with mode: 0644]
include/asm-nios2nommu/irq_regs.h [new file with mode: 0644]
include/asm-nios2nommu/kmap_types.h [new file with mode: 0644]
include/asm-nios2nommu/linkage.h [new file with mode: 0644]
include/asm-nios2nommu/linux_logo.h [new file with mode: 0644]
include/asm-nios2nommu/local.h [new file with mode: 0644]
include/asm-nios2nommu/mc146818rtc.h [new file with mode: 0644]
include/asm-nios2nommu/mman.h [new file with mode: 0644]
include/asm-nios2nommu/mmu.h [new file with mode: 0644]
include/asm-nios2nommu/mmu_context.h [new file with mode: 0644]
include/asm-nios2nommu/module.h [new file with mode: 0644]
include/asm-nios2nommu/msgbuf.h [new file with mode: 0644]
include/asm-nios2nommu/mutex.h [new file with mode: 0644]
include/asm-nios2nommu/namei.h [new file with mode: 0644]
include/asm-nios2nommu/ndma.h [new file with mode: 0644]
include/asm-nios2nommu/nios.h [new file with mode: 0644]
include/asm-nios2nommu/page.h [new file with mode: 0644]
include/asm-nios2nommu/param.h [new file with mode: 0644]
include/asm-nios2nommu/pci.h [new file with mode: 0644]
include/asm-nios2nommu/percpu.h [new file with mode: 0644]
include/asm-nios2nommu/pgalloc.h [new file with mode: 0644]
include/asm-nios2nommu/pgtable.h [new file with mode: 0644]
include/asm-nios2nommu/pio_struct.h [new file with mode: 0644]
include/asm-nios2nommu/poll.h [new file with mode: 0644]
include/asm-nios2nommu/posix_types.h [new file with mode: 0644]
include/asm-nios2nommu/preem_latency.h [new file with mode: 0644]
include/asm-nios2nommu/processor.h [new file with mode: 0644]
include/asm-nios2nommu/ptrace.h [new file with mode: 0644]
include/asm-nios2nommu/resource.h [new file with mode: 0644]
include/asm-nios2nommu/rmap.h [new file with mode: 0644]
include/asm-nios2nommu/scatterlist.h [new file with mode: 0644]
include/asm-nios2nommu/sections.h [new file with mode: 0644]
include/asm-nios2nommu/segment.h [new file with mode: 0644]
include/asm-nios2nommu/semaphore-helper.h [new file with mode: 0644]
include/asm-nios2nommu/semaphore.h [new file with mode: 0644]
include/asm-nios2nommu/sembuf.h [new file with mode: 0644]
include/asm-nios2nommu/setup.h [new file with mode: 0644]
include/asm-nios2nommu/shmbuf.h [new file with mode: 0644]
include/asm-nios2nommu/shmparam.h [new file with mode: 0644]
include/asm-nios2nommu/sigcontext.h [new file with mode: 0644]
include/asm-nios2nommu/siginfo.h [new file with mode: 0644]
include/asm-nios2nommu/signal.h [new file with mode: 0644]
include/asm-nios2nommu/smp.h [new file with mode: 0644]
include/asm-nios2nommu/socket.h [new file with mode: 0644]
include/asm-nios2nommu/sockios.h [new file with mode: 0644]
include/asm-nios2nommu/spi.h [new file with mode: 0644]
include/asm-nios2nommu/spi_struct.h [new file with mode: 0644]
include/asm-nios2nommu/spinlock.h [new file with mode: 0644]
include/asm-nios2nommu/stat.h [new file with mode: 0644]
include/asm-nios2nommu/statfs.h [new file with mode: 0644]
include/asm-nios2nommu/string.h [new file with mode: 0644]
include/asm-nios2nommu/system.h [new file with mode: 0644]
include/asm-nios2nommu/termbits.h [new file with mode: 0644]
include/asm-nios2nommu/termios.h [new file with mode: 0644]
include/asm-nios2nommu/thread_info.h [new file with mode: 0644]
include/asm-nios2nommu/timer_struct.h [new file with mode: 0644]
include/asm-nios2nommu/timex.h [new file with mode: 0644]
include/asm-nios2nommu/tlb.h [new file with mode: 0644]
include/asm-nios2nommu/tlbflush.h [new file with mode: 0644]
include/asm-nios2nommu/topology.h [new file with mode: 0644]
include/asm-nios2nommu/traps.h [new file with mode: 0644]
include/asm-nios2nommu/types.h [new file with mode: 0644]
include/asm-nios2nommu/uaccess.h [new file with mode: 0644]
include/asm-nios2nommu/uart_struct.h [new file with mode: 0644]
include/asm-nios2nommu/ucontext.h [new file with mode: 0644]
include/asm-nios2nommu/unaligned.h [new file with mode: 0644]
include/asm-nios2nommu/unistd.h [new file with mode: 0644]
include/asm-nios2nommu/user.h [new file with mode: 0644]
include/asm-nios2nommu/virtconvert.h [new file with mode: 0644]
include/asm-sh/fast_timer.h [new file with mode: 0644]
include/asm-sh/namei.h
include/asm-sh/ptrace.h
include/asm-sh/sections.h
include/asm-sh/snapgear.h
include/asm-um/param.h
include/linux/blkdev.h
include/linux/compiler-gcc+.h [new file with mode: 0644]
include/linux/compiler-gcc.h
include/linux/compiler-gcc2.h [new file with mode: 0644]
include/linux/compiler-gcc3.h
include/linux/compiler.h
include/linux/config.h [new symlink]
include/linux/dm270-id.h [new file with mode: 0644]
include/linux/elevator.h
include/linux/fast_timer.h [new file with mode: 0644]
include/linux/fs.h
include/linux/i2c-id.h
include/linux/if_bridge.h
include/linux/if_ether.h
include/linux/kernel.h
include/linux/ledman.h [new file with mode: 0644]
include/linux/miscdevice.h
include/linux/mm.h
include/linux/mm_types.h
include/linux/mmc/mmc.h
include/linux/mtd/doc2000.h
include/linux/mtd/plat-ram.h
include/linux/netfilter_ipv4/ip_conntrack.h
include/linux/netfilter_ipv4/ip_conntrack_h323.h
include/linux/netfilter_ipv4/ip_conntrack_helper_h323_types.h
include/linux/netfilter_ipv4/ipt_layer7.h [new file with mode: 0644]
include/linux/netfilter_ipv4/ipt_time.h [new file with mode: 0644]
include/linux/oom.h
include/linux/pci_ids.h
include/linux/ppp-comp.h
include/linux/serial.h
include/linux/serial_core.h
include/linux/serial_reg.h
include/linux/squashfs_fs.h [new file with mode: 0644]
include/linux/squashfs_fs_i.h [new file with mode: 0644]
include/linux/squashfs_fs_sb.h [new file with mode: 0644]
include/linux/string.h
include/linux/types.h
include/linux/usb_isp1362.h [new file with mode: 0644]
include/net/xfrmudp.h [new file with mode: 0644]
init/Kconfig
init/do_mounts_rd.c
init/main.c
ipc/msg.c
kernel/compat.c
kernel/fork.c
kernel/printk.c
kernel/softirq.c
kernel/time.c
kernel/timer.c
linux.bin [new file with mode: 0755]
mm/filemap.c
mm/nommu.c
mm/oom_kill.c
mm/page-writeback.c
mm/page_alloc.c
mm/slab.c
mm/swapfile.c
mm/truncate.c
mm/vmscan.c
net/Kconfig
net/Makefile
net/bridge/br_netfilter.c
net/bridge/br_stp_bpdu.c
net/core/skbuff.c
net/ipsec/Makefile [new file with mode: 0644]
net/ipsec/addrtoa.c [new symlink]
net/ipsec/addrtot.c [new symlink]
net/ipsec/addrtypeof.c [new symlink]
net/ipsec/adler32.c [new symlink]
net/ipsec/aes/Makefile [new file with mode: 0644]
net/ipsec/anyaddr.c [new symlink]
net/ipsec/datatot.c [new symlink]
net/ipsec/deflate.c [new symlink]
net/ipsec/des/Makefile [new file with mode: 0644]
net/ipsec/goodmask.c [new symlink]
net/ipsec/infblock.c [new symlink]
net/ipsec/infcodes.c [new symlink]
net/ipsec/inffast.c [new symlink]
net/ipsec/inflate.c [new symlink]
net/ipsec/inftrees.c [new symlink]
net/ipsec/infutil.c [new symlink]
net/ipsec/initaddr.c [new symlink]
net/ipsec/ipcomp.c [new symlink]
net/ipsec/ipsec_ah.c [new symlink]
net/ipsec/ipsec_alg.c [new symlink]
net/ipsec/ipsec_alg_cryptoapi.c [new symlink]
net/ipsec/ipsec_esp.c [new symlink]
net/ipsec/ipsec_init.c [new symlink]
net/ipsec/ipsec_ipcomp.c [new symlink]
net/ipsec/ipsec_ipip.c [new symlink]
net/ipsec/ipsec_kern24.c [new symlink]
net/ipsec/ipsec_life.c [new symlink]
net/ipsec/ipsec_mast.c [new symlink]
net/ipsec/ipsec_md5c.c [new symlink]
net/ipsec/ipsec_ocf.c [new symlink]
net/ipsec/ipsec_proc.c [new symlink]
net/ipsec/ipsec_radij.c [new symlink]
net/ipsec/ipsec_rcv.c [new symlink]
net/ipsec/ipsec_sa.c [new symlink]
net/ipsec/ipsec_sha1.c [new symlink]
net/ipsec/ipsec_snprintf.c [new symlink]
net/ipsec/ipsec_tunnel.c [new symlink]
net/ipsec/ipsec_xform.c [new symlink]
net/ipsec/ipsec_xmit.c [new symlink]
net/ipsec/match586.S [new symlink]
net/ipsec/match686.S [new symlink]
net/ipsec/pfkey_v2.c [new symlink]
net/ipsec/pfkey_v2_build.c [new symlink]
net/ipsec/pfkey_v2_debug.c [new symlink]
net/ipsec/pfkey_v2_ext_bits.c [new symlink]
net/ipsec/pfkey_v2_ext_process.c [new symlink]
net/ipsec/pfkey_v2_parse.c [new symlink]
net/ipsec/pfkey_v2_parser.c [new symlink]
net/ipsec/prng.c [new symlink]
net/ipsec/radij.c [new symlink]
net/ipsec/rangetoa.c [new symlink]
net/ipsec/satot.c [new symlink]
net/ipsec/subnetof.c [new symlink]
net/ipsec/subnettoa.c [new symlink]
net/ipsec/sysctl_net_ipsec.c [new symlink]
net/ipsec/trees.c [new symlink]
net/ipsec/ultoa.c [new symlink]
net/ipsec/ultot.c [new symlink]
net/ipsec/version.in.c [new symlink]
net/ipsec/zutil.c [new symlink]
net/ipv4/Kconfig
net/ipv4/af_inet.c
net/ipv4/ip_gre.c
net/ipv4/netfilter/Kconfig
net/ipv4/netfilter/Makefile
net/ipv4/netfilter/ip_conntrack_core.c
net/ipv4/netfilter/ip_conntrack_ftp.c
net/ipv4/netfilter/ip_conntrack_standalone.c
net/ipv4/netfilter/ip_nat_standalone.c
net/ipv4/netfilter/ipt_TCPMSS.c
net/ipv4/netfilter/ipt_layer7.c [new file with mode: 0644]
net/ipv4/netfilter/ipt_time.c [new file with mode: 0644]
net/ipv4/netfilter/regexp/regexp.c [new file with mode: 0644]
net/ipv4/netfilter/regexp/regexp.h [new file with mode: 0644]
net/ipv4/netfilter/regexp/regmagic.h [new file with mode: 0644]
net/ipv4/netfilter/regexp/regsub.c [new file with mode: 0644]
net/ipv4/udp.c
net/llc/Kconfig
net/netfilter/nfnetlink_log.c
net/sunrpc/pmap_clnt.c
net/sunrpc/xprtsock.c
scripts/Makefile.modinst
scripts/Makefile.modpost
scripts/mod/sumversion.c
usr/Makefile

diff --git a/CREDITS b/CREDITS
index ccd4f9f..4de89a8 100644 (file)
--- a/CREDITS
+++ b/CREDITS
@@ -615,6 +615,15 @@ S: Stanford University
 S: Stanford, California 94305
 S: USA
 
+N: Hyok S. Choi
+W: http://opensrc.sec.samsung.com/
+E: hyok.choi@samsung.com
+D: Author and Maintainer of uClinux/ARM port (MPU/noMMU)
+D: Author of DCC(JTAG1) serial console emulation driver
+S: Samsung Electronics Co.,Ltd.
+S: Suwon, Gyeonggi, 443-742
+S: South Korea
+
 N: Randolph Chung
 E: tausq@debian.org
 D: Linux/PA-RISC hacker
index e182992..6131c63 100644 (file)
@@ -825,6 +825,13 @@ P: Guennadi Liakhovetski
 M:     g.liakhovetski@gmx.de
 S:     Maintained
 
+DCC(JTAG) Console driver
+P:     Hyok S. Choi
+M:     hyok.choi@samsung.com
+M:     hyok.choi@gmail.com
+W:     http://opensrc.sec.samsung.com/
+S:     Maintained
+
 DCCP PROTOCOL
 P:     Arnaldo Carvalho de Melo
 M:     acme@mandriva.com
@@ -3335,6 +3342,12 @@ W:       http://www.uclinux.org/
 L:     uclinux-dev@uclinux.org  (subscribers-only)
 S:     Maintained
 
+UCLINUX FOR ARM
+P:     Hyok S. Choi
+M:     hyok.choi@samsung.com
+W:     http://opensrc.sec.samsung.com/
+S:     Maintained
+
 UCLINUX FOR NEC V850
 P:     Miles Bader
 M:     uclinux-v850@lsi.nec.co.jp
index aef9625..1bd5320 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@ VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 19
 EXTRAVERSION =
+EXTRAVERSION = -uc1
 NAME=Avast! A bilge rat!
 
 # *DOCUMENTATION*
@@ -563,12 +564,12 @@ core-y            += kernel/ mm/ fs/ ipc/ security/ crypto/ block/
 
 vmlinux-dirs   := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \
                     $(core-y) $(core-m) $(drivers-y) $(drivers-m) \
-                    $(net-y) $(net-m) $(libs-y) $(libs-m)))
+                    $(net-y) $(net-m) $(libs-y) $(libs-m) $(EXTRA_MODULE_DIRS)))
 
 vmlinux-alldirs        := $(sort $(vmlinux-dirs) $(patsubst %/,%,$(filter %/, \
                     $(init-n) $(init-) \
                     $(core-n) $(core-) $(drivers-n) $(drivers-) \
-                    $(net-n)  $(net-)  $(libs-n)    $(libs-))))
+                    $(net-n)  $(net-)  $(libs-n)    $(libs-) $(EXTRA_MODULE_DIRS))))
 
 init-y         := $(patsubst %/, %/built-in.o, $(init-y))
 core-y         := $(patsubst %/, %/built-in.o, $(core-y))
@@ -979,9 +980,8 @@ _modinst_:
                sleep 1; \
        fi
        @rm -rf $(MODLIB)/kernel
-       @rm -f $(MODLIB)/source
        @mkdir -p $(MODLIB)/kernel
-       @ln -s $(srctree) $(MODLIB)/source
+       cd $(INSTALL_MOD_PATH)/lib/modules && ln -s $(KERNELRELEASE) 2.6.9-MoXaRt
        @if [ ! $(objtree) -ef  $(MODLIB)/build ]; then \
                rm -f $(MODLIB)/build ; \
                ln -s $(objtree) $(MODLIB)/build ; \
@@ -996,11 +996,11 @@ _modinst_:
 ifeq "$(strip $(INSTALL_MOD_PATH))" ""
 depmod_opts    :=
 else
-depmod_opts    := -b $(INSTALL_MOD_PATH) -r
+depmod_opts    := -b $(INSTALL_MOD_PATH)/lib/modules -r
 endif
 PHONY += _modinst_post
 _modinst_post: _modinst_
-       if [ -r System.map -a -x $(DEPMOD) ]; then $(DEPMOD) -ae -F System.map $(depmod_opts) $(KERNELRELEASE); fi
+       if [ -r System.map -a -x $(word 1, $(DEPMOD)) ]; then $(DEPMOD) -ae -F System.map $(depmod_opts) $(KERNELRELEASE); fi
 
 else # CONFIG_MODULES
 
diff --git a/Makefile-bak-02162007 b/Makefile-bak-02162007
new file mode 100644 (file)
index 0000000..ce689d5
--- /dev/null
@@ -0,0 +1,1491 @@
+VERSION = 2
+PATCHLEVEL = 6
+SUBLEVEL = 19
+EXTRAVERSION =
+EXTRAVERSION = -uc1
+NAME=Avast! A bilge rat!
+
+# *DOCUMENTATION*
+# To see a list of typical targets execute "make help"
+# More info can be located in ./README
+# Comments in this file are targeted only to the developer, do not
+# expect to learn how to build the kernel reading this file.
+
+# Do not print "Entering directory ..."
+MAKEFLAGS += --no-print-directory
+
+# We are using a recursive build, so we need to do a little thinking
+# to get the ordering right.
+#
+# Most importantly: sub-Makefiles should only ever modify files in
+# their own directory. If in some directory we have a dependency on
+# a file in another dir (which doesn't happen often, but it's often
+# unavoidable when linking the built-in.o targets which finally
+# turn into vmlinux), we will call a sub make in that other dir, and
+# after that we are sure that everything which is in that other dir
+# is now up to date.
+#
+# The only cases where we need to modify files which have global
+# effects are thus separated out and done before the recursive
+# descending is started. They are now explicitly listed as the
+# prepare rule.
+
+# To put more focus on warnings, be less verbose as default
+# Use 'make V=1' to see the full commands
+
+ifdef V
+  ifeq ("$(origin V)", "command line")
+    KBUILD_VERBOSE = $(V)
+  endif
+endif
+ifndef KBUILD_VERBOSE
+  KBUILD_VERBOSE = 0
+endif
+
+# Call a source code checker (by default, "sparse") as part of the
+# C compilation.
+#
+# Use 'make C=1' to enable checking of only re-compiled files.
+# Use 'make C=2' to enable checking of *all* source files, regardless
+# of whether they are re-compiled or not.
+#
+# See the file "Documentation/sparse.txt" for more details, including
+# where to get the "sparse" utility.
+
+ifdef C
+  ifeq ("$(origin C)", "command line")
+    KBUILD_CHECKSRC = $(C)
+  endif
+endif
+ifndef KBUILD_CHECKSRC
+  KBUILD_CHECKSRC = 0
+endif
+
+# Use make M=dir to specify directory of external module to build
+# Old syntax make ... SUBDIRS=$PWD is still supported
+# Setting the environment variable KBUILD_EXTMOD take precedence
+ifdef SUBDIRS
+  KBUILD_EXTMOD ?= $(SUBDIRS)
+endif
+ifdef M
+  ifeq ("$(origin M)", "command line")
+    KBUILD_EXTMOD := $(M)
+  endif
+endif
+
+
+# kbuild supports saving output files in a separate directory.
+# To locate output files in a separate directory two syntaxes are supported.
+# In both cases the working directory must be the root of the kernel src.
+# 1) O=
+# Use "make O=dir/to/store/output/files/"
+#
+# 2) Set KBUILD_OUTPUT
+# Set the environment variable KBUILD_OUTPUT to point to the directory
+# where the output files shall be placed.
+# export KBUILD_OUTPUT=dir/to/store/output/files/
+# make
+#
+# The O= assignment takes precedence over the KBUILD_OUTPUT environment
+# variable.
+
+
+# KBUILD_SRC is set on invocation of make in OBJ directory
+# KBUILD_SRC is not intended to be used by the regular user (for now)
+ifeq ($(KBUILD_SRC),)
+
+# OK, Make called in directory where kernel src resides
+# Do we want to locate output files in a separate directory?
+ifdef O
+  ifeq ("$(origin O)", "command line")
+    KBUILD_OUTPUT := $(O)
+  endif
+endif
+
+# That's our default target when none is given on the command line
+PHONY := _all
+_all:
+
+ifneq ($(KBUILD_OUTPUT),)
+# Invoke a second make in the output directory, passing relevant variables
+# check that the output directory actually exists
+saved-output := $(KBUILD_OUTPUT)
+KBUILD_OUTPUT := $(shell cd $(KBUILD_OUTPUT) && /bin/pwd)
+$(if $(KBUILD_OUTPUT),, \
+     $(error output directory "$(saved-output)" does not exist))
+
+PHONY += $(MAKECMDGOALS)
+
+$(filter-out _all,$(MAKECMDGOALS)) _all:
+       $(if $(KBUILD_VERBOSE:1=),@)$(MAKE) -C $(KBUILD_OUTPUT) \
+       KBUILD_SRC=$(CURDIR) \
+       KBUILD_EXTMOD="$(KBUILD_EXTMOD)" -f $(CURDIR)/Makefile $@
+
+# Leave processing to above invocation of make
+skip-makefile := 1
+endif # ifneq ($(KBUILD_OUTPUT),)
+endif # ifeq ($(KBUILD_SRC),)
+
+# We process the rest of the Makefile if this is the final invocation of make
+ifeq ($(skip-makefile),)
+
+# If building an external module we do not care about the all: rule
+# but instead _all depend on modules
+PHONY += all
+ifeq ($(KBUILD_EXTMOD),)
+_all: all
+else
+_all: modules
+endif
+
+srctree                := $(if $(KBUILD_SRC),$(KBUILD_SRC),$(CURDIR))
+TOPDIR         := $(srctree)
+# FIXME - TOPDIR is obsolete, use srctree/objtree
+objtree                := $(CURDIR)
+src            := $(srctree)
+obj            := $(objtree)
+
+VPATH          := $(srctree)$(if $(KBUILD_EXTMOD),:$(KBUILD_EXTMOD))
+
+export srctree objtree VPATH TOPDIR
+
+
+# SUBARCH tells the usermode build what the underlying arch is.  That is set
+# first, and if a usermode build is happening, the "ARCH=um" on the command
+# line overrides the setting of ARCH below.  If a native build is happening,
+# then ARCH is assigned, getting whatever value it gets normally, and 
+# SUBARCH is subsequently ignored.
+
+SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
+                                 -e s/arm.*/arm/ -e s/sa110/arm/ \
+                                 -e s/s390x/s390/ -e s/parisc64/parisc/ \
+                                 -e s/ppc.*/powerpc/ -e s/mips.*/mips/ )
+
+# Cross compiling and selecting different set of gcc/bin-utils
+# ---------------------------------------------------------------------------
+#
+# When performing cross compilation for other architectures ARCH shall be set
+# to the target architecture. (See arch/* for the possibilities).
+# ARCH can be set during invocation of make:
+# make ARCH=ia64
+# Another way is to have ARCH set in the environment.
+# The default ARCH is the host where make is executed.
+
+# CROSS_COMPILE specify the prefix used for all executables used
+# during compilation. Only gcc and related bin-utils executables
+# are prefixed with $(CROSS_COMPILE).
+# CROSS_COMPILE can be set on the command line
+# make CROSS_COMPILE=ia64-linux-
+# Alternatively CROSS_COMPILE can be set in the environment.
+# Default value for CROSS_COMPILE is not to prefix executables
+# Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
+
+ARCH           ?= $(SUBARCH)
+CROSS_COMPILE  ?=
+
+# Architecture as present in compile.h
+UTS_MACHINE := $(ARCH)
+
+KCONFIG_CONFIG ?= .config
+
+# SHELL used by kbuild
+CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
+         else if [ -x /bin/bash ]; then echo /bin/bash; \
+         else echo sh; fi ; fi)
+
+HOSTCC       = gcc
+HOSTCXX      = g++
+HOSTCFLAGS   = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
+HOSTCXXFLAGS = -O2
+
+# Decide whether to build built-in, modular, or both.
+# Normally, just do built-in.
+
+KBUILD_MODULES :=
+KBUILD_BUILTIN := 1
+
+#      If we have only "make modules", don't compile built-in objects.
+#      When we're building modules with modversions, we need to consider
+#      the built-in objects during the descend as well, in order to
+#      make sure the checksums are up to date before we record them.
+
+ifeq ($(MAKECMDGOALS),modules)
+  KBUILD_BUILTIN := $(if $(CONFIG_MODVERSIONS),1)
+endif
+
+#      If we have "make <whatever> modules", compile modules
+#      in addition to whatever we do anyway.
+#      Just "make" or "make all" shall build modules as well
+
+ifneq ($(filter all _all modules,$(MAKECMDGOALS)),)
+  KBUILD_MODULES := 1
+endif
+
+ifeq ($(MAKECMDGOALS),)
+  KBUILD_MODULES := 1
+endif
+
+export KBUILD_MODULES KBUILD_BUILTIN
+export KBUILD_CHECKSRC KBUILD_SRC KBUILD_EXTMOD
+
+# Beautify output
+# ---------------------------------------------------------------------------
+#
+# Normally, we echo the whole command before executing it. By making
+# that echo $($(quiet)$(cmd)), we now have the possibility to set
+# $(quiet) to choose other forms of output instead, e.g.
+#
+#         quiet_cmd_cc_o_c = Compiling $(RELDIR)/$@
+#         cmd_cc_o_c       = $(CC) $(c_flags) -c -o $@ $<
+#
+# If $(quiet) is empty, the whole command will be printed.
+# If it is set to "quiet_", only the short version will be printed. 
+# If it is set to "silent_", nothing will be printed at all, since
+# the variable $(silent_cmd_cc_o_c) doesn't exist.
+#
+# A simple variant is to prefix commands with $(Q) - that's useful
+# for commands that shall be hidden in non-verbose mode.
+#
+#      $(Q)ln $@ :<
+#
+# If KBUILD_VERBOSE equals 0 then the above command will be hidden.
+# If KBUILD_VERBOSE equals 1 then the above command is displayed.
+
+ifeq ($(KBUILD_VERBOSE),1)
+  quiet =
+  Q =
+else
+  quiet=quiet_
+  Q = @
+endif
+
+# If the user is running make -s (silent mode), suppress echoing of
+# commands
+
+ifneq ($(findstring s,$(MAKEFLAGS)),)
+  quiet=silent_
+endif
+
+export quiet Q KBUILD_VERBOSE
+
+
+# Look for make include files relative to root of kernel src
+MAKEFLAGS += --include-dir=$(srctree)
+
+# We need some generic definitions
+include  $(srctree)/scripts/Kbuild.include
+
+# Do not use make's built-in rules and variables
+# This increases performance and avoid hard-to-debug behavour
+MAKEFLAGS += -rR
+
+# Make variables (CC, etc...)
+
+AS             = $(CROSS_COMPILE)as
+LD             = $(CROSS_COMPILE)ld
+CC             = $(CROSS_COMPILE)gcc
+CPP            = $(CC) -E
+AR             = $(CROSS_COMPILE)ar
+NM             = $(CROSS_COMPILE)nm
+STRIP          = $(CROSS_COMPILE)strip
+OBJCOPY                = $(CROSS_COMPILE)objcopy
+OBJDUMP                = $(CROSS_COMPILE)objdump
+AWK            = awk
+GENKSYMS       = scripts/genksyms/genksyms
+DEPMOD         = /sbin/depmod
+KALLSYMS       = scripts/kallsyms
+PERL           = perl
+CHECK          = sparse
+
+CHECKFLAGS     := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ -Wbitwise $(CF)
+MODFLAGS       = -DMODULE
+CFLAGS_MODULE   = $(MODFLAGS)
+AFLAGS_MODULE   = $(MODFLAGS)
+LDFLAGS_MODULE  = -r
+CFLAGS_KERNEL  =
+AFLAGS_KERNEL  =
+
+
+# Use LINUXINCLUDE when you must reference the include/ directory.
+# Needed to be compatible with the O= option
+LINUXINCLUDE    := -Iinclude \
+                   $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
+                  -include include/linux/autoconf.h
+
+CPPFLAGS        := -D__KERNEL__ $(LINUXINCLUDE)
+
+CFLAGS          := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
+                   -fno-strict-aliasing -fno-common
+AFLAGS          := -D__ASSEMBLY__
+
+# Read KERNELRELEASE from include/config/kernel.release (if it exists)
+KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null)
+KERNELVERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
+
+export VERSION PATCHLEVEL SUBLEVEL KERNELRELEASE KERNELVERSION
+export ARCH CONFIG_SHELL HOSTCC HOSTCFLAGS CROSS_COMPILE AS LD CC
+export CPP AR NM STRIP OBJCOPY OBJDUMP MAKE AWK GENKSYMS PERL UTS_MACHINE
+export HOSTCXX HOSTCXXFLAGS LDFLAGS_MODULE CHECK CHECKFLAGS
+
+export CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS LDFLAGS
+export CFLAGS CFLAGS_KERNEL CFLAGS_MODULE
+export AFLAGS AFLAGS_KERNEL AFLAGS_MODULE
+
+# When compiling out-of-tree modules, put MODVERDIR in the module
+# tree rather than in the kernel tree. The kernel tree might
+# even be read-only.
+export MODVERDIR := $(if $(KBUILD_EXTMOD),$(firstword $(KBUILD_EXTMOD))/).tmp_versions
+
+# Files to ignore in find ... statements
+
+RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o
+export RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc --exclude .hg --exclude .git
+
+# ===========================================================================
+# Rules shared between *config targets and build targets
+
+# Basic helpers built in scripts/
+PHONY += scripts_basic
+scripts_basic:
+       $(Q)$(MAKE) $(build)=scripts/basic
+
+# To avoid any implicit rule to kick in, define an empty command.
+scripts/basic/%: scripts_basic ;
+
+PHONY += outputmakefile
+# outputmakefile generates a Makefile in the output directory, if using a
+# separate output directory. This allows convenient use of make in the
+# output directory.
+outputmakefile:
+ifneq ($(KBUILD_SRC),)
+       $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkmakefile \
+           $(srctree) $(objtree) $(VERSION) $(PATCHLEVEL)
+endif
+
+# To make sure we do not include .config for any of the *config targets
+# catch them early, and hand them over to scripts/kconfig/Makefile
+# It is allowed to specify more targets when calling make, including
+# mixing *config targets and build targets.
+# For example 'make oldconfig all'.
+# Detect when mixed targets is specified, and make a second invocation
+# of make so .config is not included in this case either (for *config).
+
+no-dot-config-targets := clean mrproper distclean \
+                        cscope TAGS tags help %docs check% \
+                        include/linux/version.h headers_% \
+                        kernelrelease kernelversion
+
+config-targets := 0
+mixed-targets  := 0
+dot-config     := 1
+
+ifneq ($(filter $(no-dot-config-targets), $(MAKECMDGOALS)),)
+       ifeq ($(filter-out $(no-dot-config-targets), $(MAKECMDGOALS)),)
+               dot-config := 0
+       endif
+endif
+
+ifeq ($(KBUILD_EXTMOD),)
+        ifneq ($(filter config %config,$(MAKECMDGOALS)),)
+                config-targets := 1
+                ifneq ($(filter-out config %config,$(MAKECMDGOALS)),)
+                        mixed-targets := 1
+                endif
+        endif
+endif
+
+ifeq ($(mixed-targets),1)
+# ===========================================================================
+# We're called with mixed targets (*config and build targets).
+# Handle them one by one.
+
+%:: FORCE
+       $(Q)$(MAKE) -C $(srctree) KBUILD_SRC= $@
+
+else
+ifeq ($(config-targets),1)
+# ===========================================================================
+# *config targets only - make sure prerequisites are updated, and descend
+# in scripts/kconfig to make the *config target
+
+# Read arch specific Makefile to set KBUILD_DEFCONFIG as needed.
+# KBUILD_DEFCONFIG may point out an alternative default configuration
+# used for 'make defconfig'
+include $(srctree)/arch/$(ARCH)/Makefile
+export KBUILD_DEFCONFIG
+
+config %config: scripts_basic outputmakefile FORCE
+       $(Q)mkdir -p include/linux include/config
+       $(Q)$(MAKE) $(build)=scripts/kconfig $@
+
+else
+# ===========================================================================
+# Build targets only - this includes vmlinux, arch specific targets, clean
+# targets and others. In general all targets except *config targets.
+
+ifeq ($(KBUILD_EXTMOD),)
+# Additional helpers built in scripts/
+# Carefully list dependencies so we do not try to build scripts twice
+# in parallel
+PHONY += scripts
+scripts: scripts_basic include/config/auto.conf
+       $(Q)$(MAKE) $(build)=$(@)
+
+# Objects we will link into vmlinux / subdirs we need to visit
+init-y         := init/
+drivers-y      := drivers/ sound/
+net-y          := net/
+libs-y         := lib/
+core-y         := usr/
+endif # KBUILD_EXTMOD
+
+ifeq ($(dot-config),1)
+# Read in config
+-include include/config/auto.conf
+
+ifeq ($(KBUILD_EXTMOD),)
+# Read in dependencies to all Kconfig* files, make sure to run
+# oldconfig if changes are detected.
+-include include/config/auto.conf.cmd
+
+# To avoid any implicit rule to kick in, define an empty command
+$(KCONFIG_CONFIG) include/config/auto.conf.cmd: ;
+
+# If .config is newer than include/config/auto.conf, someone tinkered
+# with it and forgot to run make oldconfig.
+# if auto.conf.cmd is missing then we are probably in a cleaned tree so
+# we execute the config step to be sure to catch updated Kconfig files
+include/config/auto.conf: $(KCONFIG_CONFIG) include/config/auto.conf.cmd
+       $(Q)$(MAKE) -f $(srctree)/Makefile silentoldconfig
+else
+# external modules needs include/linux/autoconf.h and include/config/auto.conf
+# but do not care if they are up-to-date. Use auto.conf to trigger the test
+PHONY += include/config/auto.conf
+
+include/config/auto.conf:
+       $(Q)test -e include/linux/autoconf.h -a -e $@ || (              \
+       echo;                                                           \
+       echo "  ERROR: Kernel configuration is invalid.";               \
+       echo "         include/linux/autoconf.h or $@ are missing.";    \
+       echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";  \
+       echo;                                                           \
+       /bin/false)
+
+endif # KBUILD_EXTMOD
+
+else
+# Dummy target needed, because used as prerequisite
+include/config/auto.conf: ;
+endif # $(dot-config)
+
+# The all: target is the default when no target is given on the
+# command line.
+# This allow a user to issue only 'make' to build a kernel including modules
+# Defaults vmlinux but it is usually overridden in the arch makefile
+all: vmlinux
+
+ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
+CFLAGS         += -Os
+else
+CFLAGS         += -O2
+endif
+
+include $(srctree)/arch/$(ARCH)/Makefile
+
+ifdef CONFIG_FRAME_POINTER
+CFLAGS         += -fno-omit-frame-pointer $(call cc-option,-fno-optimize-sibling-calls,)
+else
+CFLAGS         += -fomit-frame-pointer
+endif
+
+ifdef CONFIG_UNWIND_INFO
+CFLAGS         += -fasynchronous-unwind-tables
+LDFLAGS_vmlinux        += --eh-frame-hdr
+endif
+
+ifdef CONFIG_DEBUG_INFO
+CFLAGS         += -g
+endif
+
+# Force gcc to behave correct even for buggy distributions
+CFLAGS          += $(call cc-option, -fno-stack-protector)
+
+# arch Makefile may override CC so keep this after arch Makefile is included
+NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)
+CHECKFLAGS     += $(NOSTDINC_FLAGS)
+
+# warn about C99 declaration after statement
+CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)
+
+# disable pointer signed / unsigned warnings in gcc 4.0
+CFLAGS += $(call cc-option,-Wno-pointer-sign,)
+
+# Default kernel image to build when no specific target is given.
+# KBUILD_IMAGE may be overruled on the command line or
+# set in the environment
+# Also any assignments in arch/$(ARCH)/Makefile take precedence over
+# this default value
+export KBUILD_IMAGE ?= vmlinux
+
+#
+# INSTALL_PATH specifies where to place the updated kernel and system map
+# images. Default is /boot, but you can set it to other values
+export INSTALL_PATH ?= /boot
+
+#
+# INSTALL_MOD_PATH specifies a prefix to MODLIB for module directory
+# relocations required by build roots.  This is not defined in the
+# makefile but the argument can be passed to make if needed.
+#
+
+MODLIB = $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
+export MODLIB
+
+#
+#  INSTALL_MOD_STRIP, if defined, will cause modules to be
+#  stripped after they are installed.  If INSTALL_MOD_STRIP is '1', then
+#  the default option --strip-debug will be used.  Otherwise,
+#  INSTALL_MOD_STRIP will used as the options to the strip command.
+
+ifdef INSTALL_MOD_STRIP
+ifeq ($(INSTALL_MOD_STRIP),1)
+mod_strip_cmd = $(STRIP) --strip-debug
+else
+mod_strip_cmd = $(STRIP) $(INSTALL_MOD_STRIP)
+endif # INSTALL_MOD_STRIP=1
+else
+mod_strip_cmd = true
+endif # INSTALL_MOD_STRIP
+export mod_strip_cmd
+
+
+ifeq ($(KBUILD_EXTMOD),)
+core-y         += kernel/ mm/ fs/ ipc/ security/ crypto/ block/
+
+vmlinux-dirs   := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \
+                    $(core-y) $(core-m) $(drivers-y) $(drivers-m) \
+                    $(net-y) $(net-m) $(libs-y) $(libs-m) $(EXTRA_MODULE_DIRS)))
+
+vmlinux-alldirs        := $(sort $(vmlinux-dirs) $(patsubst %/,%,$(filter %/, \
+                    $(init-n) $(init-) \
+                    $(core-n) $(core-) $(drivers-n) $(drivers-) \
+                    $(net-n)  $(net-)  $(libs-n)    $(libs-) $(EXTRA_MODULE_DIRS))))
+
+init-y         := $(patsubst %/, %/built-in.o, $(init-y))
+core-y         := $(patsubst %/, %/built-in.o, $(core-y))
+drivers-y      := $(patsubst %/, %/built-in.o, $(drivers-y))
+net-y          := $(patsubst %/, %/built-in.o, $(net-y))
+libs-y1                := $(patsubst %/, %/lib.a, $(libs-y))
+libs-y2                := $(patsubst %/, %/built-in.o, $(libs-y))
+libs-y         := $(libs-y1) $(libs-y2)
+
+# Build vmlinux
+# ---------------------------------------------------------------------------
+# vmlinux is built from the objects selected by $(vmlinux-init) and
+# $(vmlinux-main). Most are built-in.o files from top-level directories
+# in the kernel tree, others are specified in arch/$(ARCH)Makefile.
+# Ordering when linking is important, and $(vmlinux-init) must be first.
+#
+# vmlinux
+#   ^
+#   |
+#   +-< $(vmlinux-init)
+#   |   +--< init/version.o + more
+#   |
+#   +--< $(vmlinux-main)
+#   |    +--< driver/built-in.o mm/built-in.o + more
+#   |
+#   +-< kallsyms.o (see description in CONFIG_KALLSYMS section)
+#
+# vmlinux version (uname -v) cannot be updated during normal
+# descending-into-subdirs phase since we do not yet know if we need to
+# update vmlinux.
+# Therefore this step is delayed until just before final link of vmlinux -
+# except in the kallsyms case where it is done just before adding the
+# symbols to the kernel.
+#
+# System.map is generated to document addresses of all kernel symbols
+
+vmlinux-init := $(head-y) $(init-y)
+vmlinux-main := $(core-y) $(libs-y) $(drivers-y) $(net-y)
+vmlinux-all  := $(vmlinux-init) $(vmlinux-main)
+vmlinux-lds  := arch/$(ARCH)/kernel/vmlinux.lds
+
+# Rule to link vmlinux - also used during CONFIG_KALLSYMS
+# May be overridden by arch/$(ARCH)/Makefile
+quiet_cmd_vmlinux__ ?= LD      $@
+      cmd_vmlinux__ ?= $(LD) $(LDFLAGS) $(LDFLAGS_vmlinux) -o $@ \
+      -T $(vmlinux-lds) $(vmlinux-init)                          \
+      --start-group $(vmlinux-main) --end-group                  \
+      $(filter-out $(vmlinux-lds) $(vmlinux-init) $(vmlinux-main) FORCE ,$^)
+
+# Generate new vmlinux version
+quiet_cmd_vmlinux_version = GEN     .version
+      cmd_vmlinux_version = set -e;                     \
+       if [ ! -r .version ]; then                      \
+         rm -f .version;                               \
+         echo 1 >.version;                             \
+       else                                            \
+         mv .version .old_version;                     \
+         expr 0$$(cat .old_version) + 1 >.version;     \
+       fi;                                             \
+       $(MAKE) $(build)=init
+
+# Generate System.map
+quiet_cmd_sysmap = SYSMAP
+      cmd_sysmap = $(CONFIG_SHELL) $(srctree)/scripts/mksysmap
+
+# Link of vmlinux
+# If CONFIG_KALLSYMS is set .version is already updated
+# Generate System.map and verify that the content is consistent
+# Use + in front of the vmlinux_version rule to silent warning with make -j2
+# First command is ':' to allow us to use + in front of the rule
+define rule_vmlinux__
+       :
+       $(if $(CONFIG_KALLSYMS),,+$(call cmd,vmlinux_version))
+
+       $(call cmd,vmlinux__)
+       $(Q)echo 'cmd_$@ := $(cmd_vmlinux__)' > $(@D)/.$(@F).cmd
+
+       $(Q)$(if $($(quiet)cmd_sysmap),                                      \
+         echo '  $($(quiet)cmd_sysmap)  System.map' &&)                     \
+       $(cmd_sysmap) $@ System.map;                                         \
+       if [ $$? -ne 0 ]; then                                               \
+               rm -f $@;                                                    \
+               /bin/false;                                                  \
+       fi;
+       $(verify_kallsyms)
+endef
+
+
+ifdef CONFIG_KALLSYMS
+# Generate section listing all symbols and add it into vmlinux $(kallsyms.o)
+# It's a three stage process:
+# o .tmp_vmlinux1 has all symbols and sections, but __kallsyms is
+#   empty
+#   Running kallsyms on that gives us .tmp_kallsyms1.o with
+#   the right size - vmlinux version (uname -v) is updated during this step
+# o .tmp_vmlinux2 now has a __kallsyms section of the right size,
+#   but due to the added section, some addresses have shifted.
+#   From here, we generate a correct .tmp_kallsyms2.o
+# o The correct .tmp_kallsyms2.o is linked into the final vmlinux.
+# o Verify that the System.map from vmlinux matches the map from
+#   .tmp_vmlinux2, just in case we did not generate kallsyms correctly.
+# o If CONFIG_KALLSYMS_EXTRA_PASS is set, do an extra pass using
+#   .tmp_vmlinux3 and .tmp_kallsyms3.o.  This is only meant as a
+#   temporary bypass to allow the kernel to be built while the
+#   maintainers work out what went wrong with kallsyms.
+
+ifdef CONFIG_KALLSYMS_EXTRA_PASS
+last_kallsyms := 3
+else
+last_kallsyms := 2
+endif
+
+kallsyms.o := .tmp_kallsyms$(last_kallsyms).o
+
+define verify_kallsyms
+       $(Q)$(if $($(quiet)cmd_sysmap),                                      \
+         echo '  $($(quiet)cmd_sysmap)  .tmp_System.map' &&)                \
+         $(cmd_sysmap) .tmp_vmlinux$(last_kallsyms) .tmp_System.map
+       $(Q)cmp -s System.map .tmp_System.map ||                             \
+               (echo Inconsistent kallsyms data;                            \
+                echo Try setting CONFIG_KALLSYMS_EXTRA_PASS;                \
+                rm .tmp_kallsyms* ; /bin/false )
+endef
+
+# Update vmlinux version before link
+# Use + in front of this rule to silent warning about make -j1
+# First command is ':' to allow us to use + in front of this rule
+cmd_ksym_ld = $(cmd_vmlinux__)
+define rule_ksym_ld
+       : 
+       +$(call cmd,vmlinux_version)
+       $(call cmd,vmlinux__)
+       $(Q)echo 'cmd_$@ := $(cmd_vmlinux__)' > $(@D)/.$(@F).cmd
+endef
+
+# Generate .S file with all kernel symbols
+quiet_cmd_kallsyms = KSYM    $@
+      cmd_kallsyms = $(NM) -n $< | $(KALLSYMS) \
+                     $(if $(CONFIG_KALLSYMS_ALL),--all-symbols) > $@
+
+.tmp_kallsyms1.o .tmp_kallsyms2.o .tmp_kallsyms3.o: %.o: %.S scripts FORCE
+       $(call if_changed_dep,as_o_S)
+
+.tmp_kallsyms%.S: .tmp_vmlinux% $(KALLSYMS)
+       $(call cmd,kallsyms)
+
+# .tmp_vmlinux1 must be complete except kallsyms, so update vmlinux version
+.tmp_vmlinux1: $(vmlinux-lds) $(vmlinux-all) FORCE
+       $(call if_changed_rule,ksym_ld)
+
+.tmp_vmlinux2: $(vmlinux-lds) $(vmlinux-all) .tmp_kallsyms1.o FORCE
+       $(call if_changed,vmlinux__)
+
+.tmp_vmlinux3: $(vmlinux-lds) $(vmlinux-all) .tmp_kallsyms2.o FORCE
+       $(call if_changed,vmlinux__)
+
+# Needs to visit scripts/ before $(KALLSYMS) can be used.
+$(KALLSYMS): scripts ;
+
+# Generate some data for debugging strange kallsyms problems
+debug_kallsyms: .tmp_map$(last_kallsyms)
+
+.tmp_map%: .tmp_vmlinux% FORCE
+       ($(OBJDUMP) -h $< | $(AWK) '/^ +[0-9]/{print $$4 " 0 " $$2}'; $(NM) $<) | sort > $@
+
+.tmp_map3: .tmp_map2
+
+.tmp_map2: .tmp_map1
+
+endif # ifdef CONFIG_KALLSYMS
+
+# vmlinux image - including updated kernel symbols
+vmlinux: $(vmlinux-lds) $(vmlinux-init) $(vmlinux-main) $(kallsyms.o) FORCE
+ifdef CONFIG_HEADERS_CHECK
+       $(Q)$(MAKE) -f $(srctree)/Makefile headers_check
+endif
+       $(call if_changed_rule,vmlinux__)
+       $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost $@
+       $(Q)rm -f .old_version
+
+# The actual objects are generated when descending, 
+# make sure no implicit rule kicks in
+$(sort $(vmlinux-init) $(vmlinux-main)) $(vmlinux-lds): $(vmlinux-dirs) ;
+
+# Handle descending into subdirectories listed in $(vmlinux-dirs)
+# Preset locale variables to speed up the build process. Limit locale
+# tweaks to this spot to avoid wrong language settings when running
+# make menuconfig etc.
+# Error messages still appears in the original language
+
+PHONY += $(vmlinux-dirs)
+$(vmlinux-dirs): prepare scripts
+       $(Q)$(MAKE) $(build)=$@
+
+# Build the kernel release string
+#
+# The KERNELRELEASE value built here is stored in the file
+# include/config/kernel.release, and is used when executing several
+# make targets, such as "make install" or "make modules_install."
+#
+# The eventual kernel release string consists of the following fields,
+# shown in a hierarchical format to show how smaller parts are concatenated
+# to form the larger and final value, with values coming from places like
+# the Makefile, kernel config options, make command line options and/or
+# SCM tag information.
+#
+#      $(KERNELVERSION)
+#        $(VERSION)                    eg, 2
+#        $(PATCHLEVEL)                 eg, 6
+#        $(SUBLEVEL)                   eg, 18
+#        $(EXTRAVERSION)               eg, -rc6
+#      $(localver-full)
+#        $(localver)
+#          localversion*               (all localversion* files)
+#          $(CONFIG_LOCALVERSION)      (from kernel config setting)
+#        $(localver-auto)              (only if CONFIG_LOCALVERSION_AUTO is set)
+#          ./scripts/setlocalversion   (SCM tag, if one exists)
+#          $(LOCALVERSION)             (from make command line if provided)
+#
+#  Note how the final $(localver-auto) string is included *only* if the
+# kernel config option CONFIG_LOCALVERSION_AUTO is selected.  Also, at the
+# moment, only git is supported but other SCMs can edit the script
+# scripts/setlocalversion and add the appropriate checks as needed.
+
+nullstring :=
+space      := $(nullstring) # end of line
+
+___localver = $(objtree)/localversion* $(srctree)/localversion*
+__localver  = $(sort $(wildcard $(___localver)))
+# skip backup files (containing '~')
+_localver = $(foreach f, $(__localver), $(if $(findstring ~, $(f)),,$(f)))
+
+localver = $(subst $(space),, \
+          $(shell cat /dev/null $(_localver)) \
+          $(patsubst "%",%,$(CONFIG_LOCALVERSION)))
+
+# If CONFIG_LOCALVERSION_AUTO is set scripts/setlocalversion is called
+# and if the SCM is know a tag from the SCM is appended.
+# The appended tag is determined by the SCM used.
+#
+# Currently, only git is supported.
+# Other SCMs can edit scripts/setlocalversion and add the appropriate
+# checks as needed.
+ifdef CONFIG_LOCALVERSION_AUTO
+       _localver-auto = $(shell $(CONFIG_SHELL) \
+                         $(srctree)/scripts/setlocalversion $(srctree))
+       localver-auto  = $(LOCALVERSION)$(_localver-auto)
+endif
+
+localver-full = $(localver)$(localver-auto)
+
+# Store (new) KERNELRELASE string in include/config/kernel.release
+kernelrelease = $(KERNELVERSION)$(localver-full)
+include/config/kernel.release: include/config/auto.conf FORCE
+       $(Q)rm -f $@
+       $(Q)echo $(kernelrelease) > $@
+
+
+# Things we need to do before we recursively start building the kernel
+# or the modules are listed in "prepare".
+# A multi level approach is used. prepareN is processed before prepareN-1.
+# archprepare is used in arch Makefiles and when processed asm symlink,
+# version.h and scripts_basic is processed / created.
+
+# Listed in dependency order
+PHONY += prepare archprepare prepare0 prepare1 prepare2 prepare3
+
+# prepare-all is deprecated, use prepare as valid replacement
+PHONY += prepare-all
+
+# prepare3 is used to check if we are building in a separate output directory,
+# and if so do:
+# 1) Check that make has not been executed in the kernel src $(srctree)
+# 2) Create the include2 directory, used for the second asm symlink
+prepare3: include/config/kernel.release
+ifneq ($(KBUILD_SRC),)
+       @echo '  Using $(srctree) as source for kernel'
+       $(Q)if [ -f $(srctree)/.config -o -d $(srctree)/include/config ]; then \
+               echo "  $(srctree) is not clean, please run 'make mrproper'";\
+               echo "  in the '$(srctree)' directory.";\
+               /bin/false; \
+       fi;
+       $(Q)if [ ! -d include2 ]; then mkdir -p include2; fi;
+       $(Q)ln -fsn $(srctree)/include/asm-$(ARCH) include2/asm
+endif
+
+# prepare2 creates a makefile if using a separate output directory
+prepare2: prepare3 outputmakefile
+
+prepare1: prepare2 include/linux/version.h include/linux/utsrelease.h \
+                   include/asm include/config/auto.conf
+ifneq ($(KBUILD_MODULES),)
+       $(Q)mkdir -p $(MODVERDIR)
+       $(Q)rm -f $(MODVERDIR)/*
+endif
+
+archprepare: prepare1 scripts_basic
+
+prepare0: archprepare FORCE
+       $(Q)$(MAKE) $(build)=.
+
+# All the preparing..
+prepare prepare-all: prepare0
+
+# Leave this as default for preprocessing vmlinux.lds.S, which is now
+# done in arch/$(ARCH)/kernel/Makefile
+
+export CPPFLAGS_vmlinux.lds += -P -C -U$(ARCH)
+
+# FIXME: The asm symlink changes when $(ARCH) changes. That's
+# hard to detect, but I suppose "make mrproper" is a good idea
+# before switching between archs anyway.
+
+include/asm:
+       @echo '  SYMLINK $@ -> include/asm-$(ARCH)'
+       $(Q)if [ ! -d include ]; then mkdir -p include; fi;
+       @ln -fsn asm-$(ARCH) $@
+
+# Generate some files
+# ---------------------------------------------------------------------------
+
+# KERNELRELEASE can change from a few different places, meaning version.h
+# needs to be updated, so this check is forced on all builds
+
+uts_len := 64
+define filechk_utsrelease.h
+       if [ `echo -n "$(KERNELRELEASE)" | wc -c ` -gt $(uts_len) ]; then \
+         echo '"$(KERNELRELEASE)" exceeds $(uts_len) characters' >&2;    \
+         exit 1;                                                         \
+       fi;                                                               \
+       (echo \#define UTS_RELEASE \"$(KERNELRELEASE)\";)
+endef
+
+define filechk_version.h
+       (echo \#define LINUX_VERSION_CODE $(shell                             \
+       expr $(VERSION) \* 65536 + $(PATCHLEVEL) \* 256 + $(SUBLEVEL));     \
+       echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))';)
+endef
+
+include/linux/version.h: $(srctree)/Makefile FORCE
+       $(call filechk,version.h)
+
+include/linux/utsrelease.h: include/config/kernel.release FORCE
+       $(call filechk,utsrelease.h)
+
+# ---------------------------------------------------------------------------
+
+PHONY += depend dep
+depend dep:
+       @echo '*** Warning: make $@ is unnecessary now.'
+
+# ---------------------------------------------------------------------------
+# Kernel headers
+INSTALL_HDR_PATH=$(objtree)/usr
+export INSTALL_HDR_PATH
+
+HDRARCHES=$(filter-out generic,$(patsubst $(srctree)/include/asm-%/Kbuild,%,$(wildcard $(srctree)/include/asm-*/Kbuild)))
+
+PHONY += headers_install_all
+headers_install_all: include/linux/version.h scripts_basic FORCE
+       $(Q)$(MAKE) $(build)=scripts scripts/unifdef
+       $(Q)for arch in $(HDRARCHES); do \
+        $(MAKE) ARCH=$$arch -f $(srctree)/scripts/Makefile.headersinst obj=include BIASMDIR=-bi-$$arch ;\
+        done
+
+PHONY += headers_install
+headers_install: include/linux/version.h scripts_basic FORCE
+       @if [ ! -r $(srctree)/include/asm-$(ARCH)/Kbuild ]; then \
+         echo '*** Error: Headers not exportable for this architecture ($(ARCH))'; \
+         exit 1 ; fi
+       $(Q)$(MAKE) $(build)=scripts scripts/unifdef
+       $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.headersinst obj=include
+
+PHONY += headers_check
+headers_check: headers_install
+       $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.headersinst obj=include HDRCHECK=1
+
+# ---------------------------------------------------------------------------
+# Modules
+
+ifdef CONFIG_MODULES
+
+# By default, build modules as well
+
+all: modules
+
+#      Build modules
+
+PHONY += modules
+modules: $(vmlinux-dirs) $(if $(KBUILD_BUILTIN),vmlinux)
+       @echo '  Building modules, stage 2.';
+       $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
+
+
+# Target to prepare building external modules
+PHONY += modules_prepare
+modules_prepare: prepare scripts
+
+# Target to install modules
+PHONY += modules_install
+modules_install: _modinst_ _modinst_post
+
+PHONY += _modinst_
+_modinst_:
+       @if [ -z "`$(DEPMOD) -V 2>/dev/null | grep module-init-tools`" ]; then \
+               echo "Warning: you may need to install module-init-tools"; \
+               echo "See http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt";\
+               sleep 1; \
+       fi
+       @rm -rf $(MODLIB)/kernel
+       @rm -f $(MODLIB)/source
+       @mkdir -p $(MODLIB)/kernel
+       @ln -s $(srctree) $(MODLIB)/source
+       @if [ ! $(objtree) -ef  $(MODLIB)/build ]; then \
+               rm -f $(MODLIB)/build ; \
+               ln -s $(objtree) $(MODLIB)/build ; \
+       fi
+       $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modinst
+
+# If System.map exists, run depmod.  This deliberately does not have a
+# dependency on System.map since that would run the dependency tree on
+# vmlinux.  This depmod is only for convenience to give the initial
+# boot a modules.dep even before / is mounted read-write.  However the
+# boot script depmod is the master version.
+ifeq "$(strip $(INSTALL_MOD_PATH))" ""
+depmod_opts    :=
+else
+depmod_opts    := -b $(INSTALL_MOD_PATH)/lib/modules -r
+endif
+PHONY += _modinst_post
+_modinst_post: _modinst_
+       if [ -r System.map -a -x $(word 1, $(DEPMOD)) ]; then $(DEPMOD) -ae -F System.map $(depmod_opts) $(KERNELRELEASE); fi
+
+else # CONFIG_MODULES
+
+# Modules not configured
+# ---------------------------------------------------------------------------
+
+modules modules_install: FORCE
+       @echo
+       @echo "The present kernel configuration has modules disabled."
+       @echo "Type 'make config' and enable loadable module support."
+       @echo "Then build a kernel with module support enabled."
+       @echo
+       @exit 1
+
+endif # CONFIG_MODULES
+
+###
+# Cleaning is done on three levels.
+# make clean     Delete most generated files
+#                Leave enough to build external modules
+# make mrproper  Delete the current configuration, and all generated files
+# make distclean Remove editor backup files, patch leftover files and the like
+
+# Directories & files removed with 'make clean'
+CLEAN_DIRS  += $(MODVERDIR)
+CLEAN_FILES += vmlinux System.map \
+                .tmp_kallsyms* .tmp_version .tmp_vmlinux* .tmp_System.map
+
+# Directories & files removed with 'make mrproper'
+MRPROPER_DIRS  += include/config include2 usr/include
+MRPROPER_FILES += .config .config.old include/asm .version .old_version \
+                  include/linux/autoconf.h include/linux/version.h      \
+                  include/linux/utsrelease.h                            \
+                 Module.symvers tags TAGS cscope*
+
+# clean - Delete most, but leave enough to build external modules
+#
+clean: rm-dirs  := $(CLEAN_DIRS)
+clean: rm-files := $(CLEAN_FILES)
+clean-dirs      := $(addprefix _clean_,$(srctree) $(vmlinux-alldirs))
+
+PHONY += $(clean-dirs) clean archclean
+$(clean-dirs):
+       $(Q)$(MAKE) $(clean)=$(patsubst _clean_%,%,$@)
+
+clean: archclean $(clean-dirs)
+       $(call cmd,rmdirs)
+       $(call cmd,rmfiles)
+       @find . $(RCS_FIND_IGNORE) \
+               \( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
+               -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \
+               -o -name '*.symtypes' \) \
+               -type f -print | xargs rm -f
+
+# mrproper - Delete all generated files, including .config
+#
+mrproper: rm-dirs  := $(wildcard $(MRPROPER_DIRS))
+mrproper: rm-files := $(wildcard $(MRPROPER_FILES))
+mrproper-dirs      := $(addprefix _mrproper_,Documentation/DocBook scripts)
+
+PHONY += $(mrproper-dirs) mrproper archmrproper
+$(mrproper-dirs):
+       $(Q)$(MAKE) $(clean)=$(patsubst _mrproper_%,%,$@)
+
+mrproper: clean archmrproper $(mrproper-dirs)
+       $(call cmd,rmdirs)
+       $(call cmd,rmfiles)
+
+# distclean
+#
+PHONY += distclean
+
+distclean: mrproper
+       @find $(srctree) $(RCS_FIND_IGNORE) \
+               \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
+               -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
+               -o -name '.*.rej' -o -size 0 \
+               -o -name '*%' -o -name '.*.cmd' -o -name 'core' \) \
+               -type f -print | xargs rm -f
+
+
+# Packaging of the kernel to various formats
+# ---------------------------------------------------------------------------
+# rpm target kept for backward compatibility
+package-dir    := $(srctree)/scripts/package
+
+%pkg: include/config/kernel.release FORCE
+       $(Q)$(MAKE) $(build)=$(package-dir) $@
+rpm: include/config/kernel.release FORCE
+       $(Q)$(MAKE) $(build)=$(package-dir) $@
+
+
+# Brief documentation of the typical targets used
+# ---------------------------------------------------------------------------
+
+boards := $(wildcard $(srctree)/arch/$(ARCH)/configs/*_defconfig)
+boards := $(notdir $(boards))
+
+help:
+       @echo  'Cleaning targets:'
+       @echo  '  clean           - remove most generated files but keep the config and'
+       @echo  '                    enough build support to build external modules'
+       @echo  '  mrproper        - remove all generated files + config + various backup files'
+       @echo  '  distclean       - mrproper + remove editor backup and patch files'
+       @echo  ''
+       @echo  'Configuration targets:'
+       @$(MAKE) -f $(srctree)/scripts/kconfig/Makefile help
+       @echo  ''
+       @echo  'Other generic targets:'
+       @echo  '  all             - Build all targets marked with [*]'
+       @echo  '* vmlinux         - Build the bare kernel'
+       @echo  '* modules         - Build all modules'
+       @echo  '  modules_install - Install all modules to INSTALL_MOD_PATH (default: /)'
+       @echo  '  dir/            - Build all files in dir and below'
+       @echo  '  dir/file.[ois]  - Build specified target only'
+       @echo  '  dir/file.ko     - Build module including final link'
+       @echo  '  rpm             - Build a kernel as an RPM package'
+       @echo  '  tags/TAGS       - Generate tags file for editors'
+       @echo  '  cscope          - Generate cscope index'
+       @echo  '  kernelrelease   - Output the release version string'
+       @echo  '  kernelversion   - Output the version stored in Makefile'
+       @if [ -r include/asm-$(ARCH)/Kbuild ]; then \
+        echo  '  headers_install - Install sanitised kernel headers to INSTALL_HDR_PATH'; \
+        fi
+       @echo  '                    (default: $(INSTALL_HDR_PATH))'
+       @echo  ''
+       @echo  'Static analysers'
+       @echo  '  checkstack      - Generate a list of stack hogs'
+       @echo  '  namespacecheck  - Name space analysis on compiled kernel'
+       @if [ -r include/asm-$(ARCH)/Kbuild ]; then \
+        echo  '  headers_check   - Sanity check on exported headers'; \
+        fi
+       @echo  ''
+       @echo  'Kernel packaging:'
+       @$(MAKE) $(build)=$(package-dir) help
+       @echo  ''
+       @echo  'Documentation targets:'
+       @$(MAKE) -f $(srctree)/Documentation/DocBook/Makefile dochelp
+       @echo  ''
+       @echo  'Architecture specific targets ($(ARCH)):'
+       @$(if $(archhelp),$(archhelp),\
+               echo '  No architecture specific help defined for $(ARCH)')
+       @echo  ''
+       @$(if $(boards), \
+               $(foreach b, $(boards), \
+               printf "  %-24s - Build for %s\\n" $(b) $(subst _defconfig,,$(b));) \
+               echo '')
+
+       @echo  '  make V=0|1 [targets] 0 => quiet build (default), 1 => verbose build'
+       @echo  '  make V=2   [targets] 2 => give reason for rebuild of target'
+       @echo  '  make O=dir [targets] Locate all output files in "dir", including .config'
+       @echo  '  make C=1   [targets] Check all c source with $$CHECK (sparse by default)'
+       @echo  '  make C=2   [targets] Force check of all c source with $$CHECK'
+       @echo  ''
+       @echo  'Execute "make" or "make all" to build all targets marked with [*] '
+       @echo  'For further info see the ./README file'
+
+
+# Documentation targets
+# ---------------------------------------------------------------------------
+%docs: scripts_basic FORCE
+       $(Q)$(MAKE) $(build)=Documentation/DocBook $@
+
+else # KBUILD_EXTMOD
+
+###
+# External module support.
+# When building external modules the kernel used as basis is considered
+# read-only, and no consistency checks are made and the make
+# system is not used on the basis kernel. If updates are required
+# in the basis kernel ordinary make commands (without M=...) must
+# be used.
+#
+# The following are the only valid targets when building external
+# modules.
+# make M=dir clean     Delete all automatically generated files
+# make M=dir modules   Make all modules in specified dir
+# make M=dir          Same as 'make M=dir modules'
+# make M=dir modules_install
+#                      Install the modules built in the module directory
+#                      Assumes install directory is already created
+
+# We are always building modules
+KBUILD_MODULES := 1
+PHONY += crmodverdir
+crmodverdir:
+       $(Q)mkdir -p $(MODVERDIR)
+       $(Q)rm -f $(MODVERDIR)/*
+
+PHONY += $(objtree)/Module.symvers
+$(objtree)/Module.symvers:
+       @test -e $(objtree)/Module.symvers || ( \
+       echo; \
+       echo "  WARNING: Symbol version dump $(objtree)/Module.symvers"; \
+       echo "           is missing; modules will have no dependencies and modversions."; \
+       echo )
+
+module-dirs := $(addprefix _module_,$(KBUILD_EXTMOD))
+PHONY += $(module-dirs) modules
+$(module-dirs): crmodverdir $(objtree)/Module.symvers
+       $(Q)$(MAKE) $(build)=$(patsubst _module_%,%,$@)
+
+modules: $(module-dirs)
+       @echo '  Building modules, stage 2.';
+       $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
+
+PHONY += modules_install
+modules_install: _emodinst_ _emodinst_post
+
+install-dir := $(if $(INSTALL_MOD_DIR),$(INSTALL_MOD_DIR),extra)
+PHONY += _emodinst_
+_emodinst_:
+       $(Q)mkdir -p $(MODLIB)/$(install-dir)
+       $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modinst
+
+# Run depmod only is we have System.map and depmod is executable
+quiet_cmd_depmod = DEPMOD  $(KERNELRELEASE)
+      cmd_depmod = if [ -r System.map -a -x $(DEPMOD) ]; then \
+                      $(DEPMOD) -ae -F System.map             \
+                      $(if $(strip $(INSTALL_MOD_PATH)),      \
+                     -b $(INSTALL_MOD_PATH) -r)              \
+                     $(KERNELRELEASE);                       \
+                   fi
+
+PHONY += _emodinst_post
+_emodinst_post: _emodinst_
+       $(call cmd,depmod)
+
+clean-dirs := $(addprefix _clean_,$(KBUILD_EXTMOD))
+
+PHONY += $(clean-dirs) clean
+$(clean-dirs):
+       $(Q)$(MAKE) $(clean)=$(patsubst _clean_%,%,$@)
+
+clean: rm-dirs := $(MODVERDIR)
+clean: $(clean-dirs)
+       $(call cmd,rmdirs)
+       @find $(KBUILD_EXTMOD) $(RCS_FIND_IGNORE) \
+               \( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
+               -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \) \
+               -type f -print | xargs rm -f
+
+help:
+       @echo  '  Building external modules.'
+       @echo  '  Syntax: make -C path/to/kernel/src M=$$PWD target'
+       @echo  ''
+       @echo  '  modules         - default target, build the module(s)'
+       @echo  '  modules_install - install the module'
+       @echo  '  clean           - remove generated files in module directory only'
+       @echo  ''
+
+# Dummies...
+PHONY += prepare scripts
+prepare: ;
+scripts: ;
+endif # KBUILD_EXTMOD
+
+# Generate tags for editors
+# ---------------------------------------------------------------------------
+
+#We want __srctree to totally vanish out when KBUILD_OUTPUT is not set
+#(which is the most common case IMHO) to avoid unneeded clutter in the big tags file.
+#Adding $(srctree) adds about 20M on i386 to the size of the output file!
+
+ifeq ($(src),$(obj))
+__srctree =
+else
+__srctree = $(srctree)/
+endif
+
+ifeq ($(ALLSOURCE_ARCHS),)
+ifeq ($(ARCH),um)
+ALLINCLUDE_ARCHS := $(ARCH) $(SUBARCH)
+else
+ALLINCLUDE_ARCHS := $(ARCH)
+endif
+else
+#Allow user to specify only ALLSOURCE_PATHS on the command line, keeping existing behavour.
+ALLINCLUDE_ARCHS := $(ALLSOURCE_ARCHS)
+endif
+
+ALLSOURCE_ARCHS := $(ARCH)
+
+define find-sources
+        ( find $(__srctree) $(RCS_FIND_IGNORE) \
+              \( -name include -o -name arch \) -prune -o \
+              -name $1 -print; \
+         for ARCH in $(ALLSOURCE_ARCHS) ; do \
+              find $(__srctree)arch/$${ARCH} $(RCS_FIND_IGNORE) \
+                   -name $1 -print; \
+         done ; \
+         find $(__srctree)security/selinux/include $(RCS_FIND_IGNORE) \
+              -name $1 -print; \
+         find $(__srctree)include $(RCS_FIND_IGNORE) \
+              \( -name config -o -name 'asm-*' \) -prune \
+              -o -name $1 -print; \
+         for ARCH in $(ALLINCLUDE_ARCHS) ; do \
+              find $(__srctree)include/asm-$${ARCH} $(RCS_FIND_IGNORE) \
+                   -name $1 -print; \
+         done ; \
+         find $(__srctree)include/asm-generic $(RCS_FIND_IGNORE) \
+              -name $1 -print )
+endef
+
+define all-sources
+       $(call find-sources,'*.[chS]')
+endef
+define all-kconfigs
+       $(call find-sources,'Kconfig*')
+endef
+define all-defconfigs
+       $(call find-sources,'defconfig')
+endef
+
+define xtags
+       if $1 --version 2>&1 | grep -iq exuberant; then \
+           $(all-sources) | xargs $1 -a \
+               -I __initdata,__exitdata,__acquires,__releases \
+               -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \
+               --extra=+f --c-kinds=+px \
+               --regex-asm='/ENTRY\(([^)]*)\).*/\1/'; \
+           $(all-kconfigs) | xargs $1 -a \
+               --langdef=kconfig \
+               --language-force=kconfig \
+               --regex-kconfig='/^[[:blank:]]*config[[:blank:]]+([[:alnum:]_]+)/\1/'; \
+           $(all-defconfigs) | xargs -r $1 -a \
+               --langdef=dotconfig \
+               --language-force=dotconfig \
+               --regex-dotconfig='/^#?[[:blank:]]*(CONFIG_[[:alnum:]_]+)/\1/'; \
+       elif $1 --version 2>&1 | grep -iq emacs; then \
+           $(all-sources) | xargs $1 -a; \
+           $(all-kconfigs) | xargs $1 -a \
+               --regex='/^[ \t]*config[ \t]+\([a-zA-Z0-9_]+\)/\1/'; \
+           $(all-defconfigs) | xargs -r $1 -a \
+               --regex='/^#?[ \t]?\(CONFIG_[a-zA-Z0-9_]+\)/\1/'; \
+       else \
+           $(all-sources) | xargs $1 -a; \
+       fi
+endef
+
+quiet_cmd_cscope-file = FILELST cscope.files
+      cmd_cscope-file = (echo \-k; echo \-q; $(all-sources)) > cscope.files
+
+quiet_cmd_cscope = MAKE    cscope.out
+      cmd_cscope = cscope -b
+
+cscope: FORCE
+       $(call cmd,cscope-file)
+       $(call cmd,cscope)
+
+quiet_cmd_TAGS = MAKE   $@
+define cmd_TAGS
+       rm -f $@; \
+       $(call xtags,etags)
+endef
+
+TAGS: FORCE
+       $(call cmd,TAGS)
+
+quiet_cmd_tags = MAKE   $@
+define cmd_tags
+       rm -f $@; \
+       $(call xtags,ctags)
+endef
+
+tags: FORCE
+       $(call cmd,tags)
+
+
+# Scripts to check various things for consistency
+# ---------------------------------------------------------------------------
+
+includecheck:
+       find * $(RCS_FIND_IGNORE) \
+               -name '*.[hcS]' -type f -print | sort \
+               | xargs $(PERL) -w scripts/checkincludes.pl
+
+versioncheck:
+       find * $(RCS_FIND_IGNORE) \
+               -name '*.[hcS]' -type f -print | sort \
+               | xargs $(PERL) -w scripts/checkversion.pl
+
+namespacecheck:
+       $(PERL) $(srctree)/scripts/namespace.pl
+
+endif #ifeq ($(config-targets),1)
+endif #ifeq ($(mixed-targets),1)
+
+PHONY += checkstack kernelrelease kernelversion
+
+# Use $(SUBARCH) here instead of $(ARCH) so that this works for UML.
+# In the UML case, $(SUBARCH) is the name of the underlying
+# architecture, while for all other arches, it is the same as $(ARCH).
+checkstack:
+       $(OBJDUMP) -d vmlinux $$(find . -name '*.ko') | \
+       $(PERL) $(src)/scripts/checkstack.pl $(SUBARCH)
+
+kernelrelease:
+       $(if $(wildcard include/config/kernel.release), $(Q)echo $(KERNELRELEASE), \
+       $(error kernelrelease not valid - run 'make prepare' to update it))
+kernelversion:
+       @echo $(KERNELVERSION)
+
+# Single targets
+# ---------------------------------------------------------------------------
+# Single targets are compatible with:
+# - build whith mixed source and output
+# - build with separate output dir 'make O=...'
+# - external modules
+#
+#  target-dir => where to store outputfile
+#  build-dir  => directory in kernel source tree to use
+
+ifeq ($(KBUILD_EXTMOD),)
+        build-dir  = $(patsubst %/,%,$(dir $@))
+        target-dir = $(dir $@)
+else
+        zap-slash=$(filter-out .,$(patsubst %/,%,$(dir $@)))
+        build-dir  = $(KBUILD_EXTMOD)$(if $(zap-slash),/$(zap-slash))
+        target-dir = $(if $(KBUILD_EXTMOD),$(dir $<),$(dir $@))
+endif
+
+%.s: %.c prepare scripts FORCE
+       $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
+%.i: %.c prepare scripts FORCE
+       $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
+%.o: %.c prepare scripts FORCE
+       $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
+%.lst: %.c prepare scripts FORCE
+       $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
+%.s: %.S prepare scripts FORCE
+       $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
+%.o: %.S prepare scripts FORCE
+       $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
+%.symtypes: %.c prepare scripts FORCE
+       $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
+
+# Modules
+/ %/: prepare scripts FORCE
+       $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
+       $(build)=$(build-dir)
+%.ko: prepare scripts FORCE
+       $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1)   \
+       $(build)=$(build-dir) $(@:.ko=.o)
+       $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
+
+# FIXME Should go into a make.lib or something 
+# ===========================================================================
+
+quiet_cmd_rmdirs = $(if $(wildcard $(rm-dirs)),CLEAN   $(wildcard $(rm-dirs)))
+      cmd_rmdirs = rm -rf $(rm-dirs)
+
+quiet_cmd_rmfiles = $(if $(wildcard $(rm-files)),CLEAN   $(wildcard $(rm-files)))
+      cmd_rmfiles = rm -f $(rm-files)
+
+
+a_flags = -Wp,-MD,$(depfile) $(AFLAGS) $(AFLAGS_KERNEL) \
+         $(NOSTDINC_FLAGS) $(CPPFLAGS) \
+         $(modkern_aflags) $(EXTRA_AFLAGS) $(AFLAGS_$(basetarget).o)
+
+quiet_cmd_as_o_S = AS      $@
+cmd_as_o_S       = $(CC) $(a_flags) -c -o $@ $<
+
+# read all saved command lines
+
+targets := $(wildcard $(sort $(targets)))
+cmd_files := $(wildcard .*.cmd $(foreach f,$(targets),$(dir $(f)).$(notdir $(f)).cmd))
+
+ifneq ($(cmd_files),)
+  $(cmd_files): ;      # Do not try to update included dependency files
+  include $(cmd_files)
+endif
+
+# Shorthand for $(Q)$(MAKE) -f scripts/Makefile.clean obj=dir
+# Usage:
+# $(Q)$(MAKE) $(clean)=dir
+clean := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.clean obj
+
+endif  # skip-makefile
+
+PHONY += FORCE
+FORCE:
+
+
+# Declare the contents of the .PHONY variable as phony.  We keep that
+# information in a variable se we can use it in if_changed and friends.
+.PHONY: $(PHONY)
index ce00c57..7b9750e 100644 (file)
@@ -22,8 +22,11 @@ config GENERIC_TIME
        default n
 
 config MMU
-       bool
+       bool "MMU-based Paged Memory Management Support"
        default y
+       help
+         Select if you want MMU-based virtualised addressing space
+         support by paged memory management. If unsure, say 'Y'.
 
 config EISA
        bool
@@ -112,6 +115,8 @@ menu "System Type"
 choice
        prompt "ARM system type"
        default ARCH_VERSATILE
+       default ARCH_S3C2500 if !MMU
+       default ARCH_ATMEL if !MMU
 
 config ARCH_AAEC2000
        bool "Agilent AAEC-2000 based"
@@ -237,6 +242,13 @@ config ARCH_IXP2000
        help
          Support for Intel's IXP2400/2800 (XScale) family of processors.
 
+config ARCH_KS8695
+       bool "Kendin-Micrel KS8695"
+       help
+         The Kendin-Micrel KS8695 "Centaur" family is an ARM920 based
+         System-On-Chip device. It is commonly used on small routers and
+         other small scale embedded devices.
+
 config ARCH_IXP23XX
        bool "IXP23XX-based"
        depends on MMU
@@ -317,6 +329,90 @@ config ARCH_OMAP
        help
          Support for TI's OMAP platform (OMAP1 and OMAP2).
 
+config ARCH_S5C7375
+       bool "Samsung S5C7375"
+       depends !MMU
+       help
+         Samsung's S5C7375 16/32-bit SOC(ARM920T) for internal use.
+         It can be supported for memory management type MMU(Linux) and
+
+
+config ARCH_S3C24A0 
+       bool "Samsung S3C24A0"
+       depends !MMU
+       help 
+         Samsung's S3C24A0 media processor based on ARM926EJ core.
+
+config ARCH_S3C2500
+       bool "Samsung S3C2500"
+       help
+         Samsung's S3C2500 SOC(ARM940T).
+
+config ARCH_ATMEL
+       bool "Atmel AT91xxx"
+       depends on !MMU
+       help
+         The AT91xxx Series is a subset of the Atmel AT91 16/32-bit
+         microcontroller family, which is based on the ARM7TDMI
+         processor core.
+         refer <http://www.atmel.com>
+
+         You can also choose this architecture for The GDB/Armulator.
+         It emulates AT91F40, include ARM7TDMI core and timers/serial.
+         refer <http://www.uclinux.org/pub/uClinux/utilities/armulator/>.
+
+config ARCH_S3C3410
+       bool "Samsung S3C3410X"
+       depends on !MMU
+       help
+         Samsung's S3C3410X(KS17C40100) 16/32-bit RISC MCU
+         is a cost-effective and high-performance MCU solution for PDA and
+         general purpose application. The core is ARM7TDMI. 
+         
+         refer <http://www.samsungsemi.com>.
+
+config ARCH_MOXART
+       bool "Moxa ART CPU"
+       depends on !MMU
+       help
+         Moxa's ART 16/32-bit RISC MCU
+         
+         refer <http://www.moxa.com>.
+
+config ARCH_ESPD_4510B
+       bool "ESPD 4510B / Samsung S3C4510B"
+       depends on !MMU
+       help
+         ESPD 4510B evaluation board built on Samsung's
+         S3C4510B(KS32C50100) 16/32-bit RISC MCU
+         is a high performance network controller based
+         on the ARM7TDMI core.
+         
+         refer to  <http://www.espd-inc.com/prod01-arm-samsung4510.htm>
+
+config ARCH_S3C44B0
+       bool "Samsung S3C44B0"
+       depends on !MMU
+       help
+         Samsung's S3C44B0X 16/32-bit SOC(ARM7TDMI) without coprocessor 
+config ARCH_P2001
+       bool "P2001"
+       depends on !MMU
+       help
+         The LPEC P2001 evaluation board has an P2001 processor from
+         MAZ Brandenburg GmbH, which is based an ARM9TDMI processor core.
+
+config ARCH_LPC22xx
+       bool "Philips LPC22xx"
+       depends on !MMU
+       help
+         Philips LPC22xx series are based on ARM7TDMI-S core,
+         housed in LQFP144 packages, equipped with 
+         16/64KB on-chip RAM and up to 256KB of on-chip Flash, 
+         operating at up to 60MHz together with 
+         a wide range of peripherals and external bus options.
+
 endchoice
 
 source "arch/arm/mach-clps711x/Kconfig"
@@ -333,6 +429,8 @@ source "arch/arm/mach-iop33x/Kconfig"
 
 source "arch/arm/mach-ixp4xx/Kconfig"
 
+source "arch/arm/mach-ks8695/Kconfig"
+
 source "arch/arm/mach-ixp2000/Kconfig"
 
 source "arch/arm/mach-ixp23xx/Kconfig"
@@ -357,6 +455,22 @@ source "arch/arm/mach-h720x/Kconfig"
 
 source "arch/arm/mach-versatile/Kconfig"
 
+source "arch/arm/mach-atmel/Kconfig"
+
+source "arch/arm/mach-s3c3410/Kconfig"
+
+source "arch/arm/mach-s3c44b0x/Kconfig"
+
+source "arch/arm/mach-s5c7375/Kconfig"
+
+source "arch/arm/mach-espd_4510b/Kconfig"
+
+source "arch/arm/mach-lpc22xx/Kconfig"
+
+source "arch/arm/mach-s3c24a0/Kconfig" 
+
+source "arch/arm/mach-p2001/Kconfig"
+
 source "arch/arm/mach-aaec2000/Kconfig"
 
 source "arch/arm/mach-realview/Kconfig"
@@ -365,6 +479,8 @@ source "arch/arm/mach-at91rm9200/Kconfig"
 
 source "arch/arm/mach-netx/Kconfig"
 
+source "arch/arm/mach-moxart/Kconfig"
+
 # Definitions to make life easier
 config ARCH_ACORN
        bool
@@ -417,7 +533,7 @@ config ISA_DMA_API
        bool
 
 config PCI
-       bool "PCI support" if ARCH_INTEGRATOR_AP || ARCH_VERSATILE_PB || ARCH_IXP4XX
+       bool "PCI support" if ARCH_INTEGRATOR_AP || ARCH_VERSATILE_PB || ARCH_IXP4XX || ARCH_KS8695
        help
          Find out whether you have a PCI motherboard. PCI is the name of a
          bus system, i.e. the way the CPU talks to the other stuff inside
@@ -627,7 +743,7 @@ config LEDS_CPU
 config ALIGNMENT_TRAP
        bool
        depends on CPU_CP15_MMU
-       default y if !ARCH_EBSA110
+       default y if !ARCH_EBSA110 && !ARCH_S3C3410 && !ARCH_ATMEL && !ARCH_ESPD_4510B && !ARCH_MOXART
        help
          ARM processors cannot fetch/store information which is not
          naturally aligned on the bus, i.e., a 4 byte fetch must start at an
@@ -684,6 +800,12 @@ config CMDLINE
          time by entering them here. As a minimum, you should specify the
          memory size and the root device (e.g., mem=64M root=/dev/nfs).
 
+config CMDLINE_FORCE
+       bool "Force default kernel command string"
+       help
+         Set this to have arguments from the default kernel command string
+         override those passed by the boot loader.
+
 config XIP_KERNEL
        bool "Kernel Execute-In-Place from ROM"
        depends on !ZBOOT_ROM
@@ -714,9 +836,16 @@ config XIP_PHYS_ADDR
          be linked for and stored to.  This address is dependent on your
          own flash usage.
 
+config INITRD_MTD
+       bool "Use initrd as MTD RAM root filesystem"
+       depends on MTD_PLATRAM && !BLK_DEV_INITRD
+       help
+         Create an MTD RAM device at the memory range specified by the
+         initrd parameters, and mount this as the root filesystem.
+
 endmenu
 
-if (ARCH_SA1100 || ARCH_INTEGRATOR || ARCH_OMAP)
+if (ARCH_SA1100 || ARCH_INTEGRATOR || ARCH_OMAP1 || ARCH_P2001)
 
 menu "CPU Frequency scaling"
 
@@ -743,6 +872,13 @@ config CPU_FREQ_INTEGRATOR
 
          If in doubt, say Y.
 
+config CPU_FREQ_P2001
+       tristate 'P2001 cpufreq support'
+       depends on ARCH_P2001 && CPU_FREQ && CPU_FREQ_TABLE
+       default n
+       help
+         Compiles P2001 cpu frequency scaling module.
+
 endmenu
 
 endif
@@ -901,8 +1037,6 @@ source "drivers/char/Kconfig"
 
 source "drivers/i2c/Kconfig"
 
-source "drivers/spi/Kconfig"
-
 source "drivers/w1/Kconfig"
 
 source "drivers/hwmon/Kconfig"
index f087376..ccf645c 100644 (file)
@@ -3,6 +3,15 @@
 # Hyok S. Choi <hyok.choi@samsung.com>
 # 
 
+config PROCESSOR_ID
+       hex 'Hard processor ID'
+       default 0x00007700
+       depends on !CPU_CP15
+       help
+         Hard set the processor ID to this value. If the processor has no
+         CP15 register then the kernel cannot probe the processor ID, and
+         so hard setting the value is the only option.
+
 config SET_MEM_PARAM
        bool "Set flash/sdram size and base addr"
        help
@@ -25,14 +34,6 @@ config FLASH_SIZE
        hex 'FLASH Size' if SET_MEM_PARAM
        default 0x00400000
 
-config PROCESSOR_ID
-       hex
-       default 0x00007700
-       depends on !CPU_CP15
-       help
-         If processor has no CP15 register, this processor ID is
-         used instead of the auto-probing which utilizes the register.
-
 config REMAP_VECTORS_TO_RAM
        bool 'Install vectors to the begining of RAM' if DRAM_BASE
        depends on DRAM_BASE
index d22f38b..53c7e05 100644 (file)
@@ -7,7 +7,7 @@ source "lib/Kconfig.debug"
 # traces, you can get a slightly smaller kernel by setting this option to
 # n, but then RMK will have to kill you ;).
 config FRAME_POINTER
-       bool
+       bool "Enable frame pointer"
        default y
        help
          If you say N here, the resulting kernel will be slightly smaller and
index 6f4f8bf..8e5a575 100644 (file)
@@ -65,6 +65,8 @@ tune-$(CONFIG_CPU_ARM920T)    :=-mtune=arm9tdmi
 tune-$(CONFIG_CPU_ARM922T)     :=-mtune=arm9tdmi
 tune-$(CONFIG_CPU_ARM925T)     :=-mtune=arm9tdmi
 tune-$(CONFIG_CPU_ARM926T)     :=-mtune=arm9tdmi
+tune-$(CONFIG_CPU_ARM940T)     :=-mtune=arm9tdmi
+tune-$(CONFIG_CPU_ARM946T)     :=-mtune=arm9tdmi
 tune-$(CONFIG_CPU_SA110)       :=-mtune=strongarm110
 tune-$(CONFIG_CPU_SA1100)      :=-mtune=strongarm1100
 tune-$(CONFIG_CPU_XSCALE)      :=$(call cc-option,-mtune=xscale,-mtune=strongarm110) -Wa,-mcpu=xscale
@@ -111,6 +113,7 @@ endif
  machine-$(CONFIG_ARCH_IXP4XX)    := ixp4xx
  machine-$(CONFIG_ARCH_IXP2000)    := ixp2000
  machine-$(CONFIG_ARCH_IXP23XX)    := ixp23xx
+ machine-$(CONFIG_ARCH_KS8695)     := ks8695
  machine-$(CONFIG_ARCH_OMAP1)     := omap1
  machine-$(CONFIG_ARCH_OMAP2)     := omap2
   incdir-$(CONFIG_ARCH_OMAP)      := omap
@@ -120,6 +123,27 @@ endif
  machine-$(CONFIG_ARCH_IMX)       := imx
  machine-$(CONFIG_ARCH_H720X)     := h720x
  machine-$(CONFIG_ARCH_AAEC2000)   := aaec2000
+ machine-$(CONFIG_ARCH_ATMEL)     := atmel
+textaddr-$(CONFIG_ARCH_ATMEL)     := 0x01000000
+ machine-$(CONFIG_ARCH_ESPD_4510B) := espd_4510b
+textaddr-$(CONFIG_ARCH_ESPD_4510B) := 0x00008000
+ machine-$(CONFIG_ARCH_S3C3410)           := s3c3410
+textaddr-$(CONFIG_ARCH_S3C3410)           := 0x01020000
+ machine-$(CONFIG_ARCH_MOXART)    := moxart
+textaddr-$(CONFIG_ARCH_MOXART)    := 0x00080000
+textofs-$(CONFIG_ARCH_MOXART)     := 0x00080000
+ machine-$(CONFIG_ARCH_S3C44B0)           := s3c44b0x
+textaddr-$(CONFIG_ARCH_S3C44B0)           := 0x0c008000
+ machine-$(CONFIG_ARCH_S5C7375)           := s5c7375
+textaddr-$(CONFIG_ARCH_S5C7375)           := 0x00008000
+ machine-$(CONFIG_ARCH_S3C24A0)           := s3c24a0
+ifeq ($(CONFIG_MMU),)
+textaddr-$(CONFIG_ARCH_S3C24A0)           := 0x10008000
+endif
+ machine-$(CONFIG_ARCH_P2001)     := p2001
+textaddr-$(CONFIG_ARCH_P2001)     := 0x40100000
+ machine-$(CONFIG_ARCH_LPC22xx)           := lpc22xx
+textaddr-$(CONFIG_ARCH_LPC22xx)           := 0x81008000
  machine-$(CONFIG_ARCH_REALVIEW)   := realview
  machine-$(CONFIG_ARCH_AT91)       := at91rm9200
  machine-$(CONFIG_ARCH_EP93XX)     := ep93xx
@@ -179,7 +203,8 @@ else
 KBUILD_IMAGE := zImage
 endif
 
-all:   $(KBUILD_IMAGE)
+#all:  $(KBUILD_IMAGE)
+all:   uCImage
 
 boot := arch/arm/boot
 
@@ -209,6 +234,12 @@ bzImage: zImage
 zImage Image xipImage bootpImage uImage: vmlinux
        $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@
 
+uCImage: vmlinux linux.bin
+
+linux.bin: vmlinux FORCE
+       @$(OBJCOPY) $(OBJCOPYFLAGS) vmlinux $@
+       @echo '  Kernel: $@ is ready'
+
 zinstall install: vmlinux
        $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@
 
index ec9c400..a101f39 100644 (file)
 
 MKIMAGE         := $(srctree)/scripts/mkuboot.sh
 
-ifneq ($(MACHINE),)
-include $(srctree)/$(MACHINE)/Makefile.boot
-endif
+#ifneq ($(MACHINE),)
+#include $(srctree)/$(MACHINE)/Makefile.boot
+#endif
 
 # Note: the following conditions must always be true:
 #   ZRELADDR == virt_to_phys(PAGE_OFFSET + TEXT_OFFSET)
 #   PARAMS_PHYS must be within 4MB of ZRELADDR
 #   INITRD_PHYS must be in RAM
+
+zreladdr-$(CONFIG_ARCH_MOXART)         := 0x00080000
+initrd_phys-$(CONFIG_ARCH_MOXART)      := 0x00000000
+
 ZRELADDR    := $(zreladdr-y)
 PARAMS_PHYS := $(params_phys-y)
 INITRD_PHYS := $(initrd_phys-y)
index 8e3d81c..c39ff79 100644 (file)
@@ -2,12 +2,17 @@
  *  linux/arch/arm/boot/bootp/bootp.lds
  *
  *  Copyright (C) 2000-2002 Russell King
+ *  Modified by Hyok S. Choi, 2004
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  */
+
+#ifdef CONFIG_MMU
 OUTPUT_ARCH(arm)
+#endif
+
 ENTRY(_start)
 SECTIONS
 {
index adddc71..3288a02 100644 (file)
@@ -38,6 +38,17 @@ ifeq ($(CONFIG_ARCH_SA1100),y)
 OBJS           += head-sa1100.o
 endif
 
+ifeq ($(CONFIG_ARCH_S3C44B0),y)
+HEAD           = head-s3c44b0.o
+endif
+
+ifeq ($(CONFIG_ARCH_P2001),y)
+HEAD           = head-p2001.o
+endif
+
+ifeq ($(CONFIG_ARCH_ESPD_4510B),y)
+HEAD           = head-espd_4510b.o
+endif
 ifeq ($(CONFIG_CPU_XSCALE),y)
 OBJS           += head-xscale.o
 endif
@@ -46,6 +57,10 @@ ifeq ($(CONFIG_PXA_SHARPSL),y)
 OBJS           += head-sharpsl.o
 endif
 
+ifeq ($(CONFIG_ARCH_KS8695),y)
+OBJS           += head-ks8695.o
+endif
+
 ifeq ($(CONFIG_ARCH_AT91RM9200),y)
 OBJS           += head-at91rm9200.o
 endif
@@ -71,7 +86,7 @@ ZTEXTADDR     := 0
 ZBSSADDR       := ALIGN(4)
 endif
 
-SEDFLAGS       = s/TEXT_START/$(ZTEXTADDR)/;s/BSS_START/$(ZBSSADDR)/
+SEDFLAGS       = s/TEXT_START/$(ZTEXTADDR)/;s/LOAD_ADDR/$(ZRELADDR)/;s/BSS_START/$(ZBSSADDR)/
 
 targets       := vmlinux vmlinux.lds piggy.gz piggy.o $(FONT) \
                 head.o misc.o $(OBJS)
diff --git a/arch/arm/boot/compressed/head-espd_4510b.S b/arch/arm/boot/compressed/head-espd_4510b.S
new file mode 100644 (file)
index 0000000..19e8dd2
--- /dev/null
@@ -0,0 +1,447 @@
+/*
+ *  linux/arch/arm/boot/compressed/head-espd_4510b.S
+ *
+ *  Copyright (C) 1996-2002 Russell King
+ *  Copyright (C) 2004 Hyok S. Choi (MPU support)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#include <linux/linkage.h>
+
+/*
+ * Debugging stuff
+ *
+ * Note that these macros must not contain any code which is not
+ * 100% relocatable.  Any attempt to do so will result in a crash.
+ * Please select one of the following when turning on debugging.
+ */
+#ifdef DEBUG
+#if defined(CONFIG_DEBUG_ICEDCC)
+               .macro  loadsp, rb
+               .endm
+               .macro writeb, rb
+               mcr     p14, 0, \rb, c0, c1, 0
+               .endm
+#else
+#error no serial architecture defined
+#endif
+#endif
+
+               .macro  kputc,val
+               mov     r0, \val
+               bl      putc
+               .endm
+
+               .macro  kphex,val,len
+               mov     r0, \val
+               mov     r1, #\len
+               bl      phex
+               .endm
+
+               .macro  debug_reloc_start
+#ifdef DEBUG
+               kputc   #'\n'
+               kphex   r6, 8           /* processor id */
+               kputc   #':'
+               kphex   r7, 8           /* architecture id */
+               kputc   #':'
+               mrc     p15, 0, r0, c1, c0
+               kphex   r0, 8           /* control reg */
+               kputc   #'\n'
+               kphex   r5, 8           /* decompressed kernel start */
+               kputc   #'-'
+               kphex   r8, 8           /* decompressed kernel end  */
+               kputc   #'>'
+               kphex   r4, 8           /* kernel execution address */
+               kputc   #'\n'
+#endif
+               .endm
+
+               .macro  debug_reloc_end
+#ifdef DEBUG
+               kphex   r5, 8           /* end of kernel */
+               kputc   #'\n'
+               mov     r0, r4
+               bl      memdump         /* dump 256 bytes at start of kernel */
+#endif
+               .endm
+
+               .section ".start", #alloc, #execinstr
+/*
+ * sort out different calling conventions
+ */
+               .align
+start:
+               .type   start,#function
+               .rept   8
+               mov     r0, r0
+               .endr
+
+               b       1f
+               .word   0x016f2818              @ Magic numbers to help the loader
+               .word   start                   @ absolute load/run zImage address
+               .word   _edata                  @ zImage end address
+1:             mov     r7, r1                  @ save architecture ID
+               mov     r8, #0                  @ save r0
+
+#ifndef __ARM_ARCH_2__
+               /*
+                * Booting from Angel - need to enter SVC mode and disable
+                * FIQs/IRQs (numeric definitions from angel arm.h source).
+                * We only do this if we were in user mode on entry.
+                */
+               mrs     r2, cpsr                @ get current mode
+               tst     r2, #3                  @ not user?
+               bne     not_angel
+               mov     r0, #0x17               @ angel_SWIreason_EnterSVC
+               swi     0x123456                @ angel_SWI_ARM
+not_angel:
+               mrs     r2, cpsr                @ turn off interrupts to
+               orr     r2, r2, #0xc0           @ prevent angel from running
+               msr     cpsr_c, r2
+#else
+               teqp    pc, #0x0c000003         @ turn off interrupts
+#endif
+
+               /*
+                * Note that some cache flushing and other stuff may
+                * be needed here - is there an Angel SWI call for this?
+                */
+
+               /*
+                * some architecture specific code can be inserted
+                * by the linker here, but it should preserve r7 and r8.
+                */
+
+               .text
+               adr     r0, LC0
+               ldmia   r0, {r1, r2, r3, r4, r5, r6, ip, sp}
+               subs    r0, r0, r1              @ calculate the delta offset
+
+                                               @ if delta is zero, we are
+               beq     not_relocated           @ running at the address we
+                                               @ were linked at.
+
+               /*
+                * We're running at a different address.  We need to fix
+                * up various pointers:
+                *   r5 - zImage base address
+                *   r6 - GOT start
+                *   ip - GOT end
+                */
+               add     r5, r5, r0
+               add     r6, r6, r0
+               add     ip, ip, r0
+
+#ifndef CONFIG_ZBOOT_ROM
+               /*
+                * If we're running fully PIC === CONFIG_ZBOOT_ROM = n,
+                * we need to fix up pointers into the BSS region.
+                *   r2 - BSS start
+                *   r3 - BSS end
+                *   sp - stack pointer
+                */
+               add     r2, r2, r0
+               add     r3, r3, r0
+               add     sp, sp, r0
+
+               /*
+                * Relocate all entries in the GOT table.
+                */
+1:             ldr     r1, [r6, #0]            @ relocate entries in the GOT
+               add     r1, r1, r0              @ table.  This fixes up the
+               str     r1, [r6], #4            @ C references.
+               cmp     r6, ip
+               blo     1b
+#else
+
+               /*
+                * Relocate entries in the GOT table.  We only relocate
+                * the entries that are outside the (relocated) BSS region.
+                */
+1:             ldr     r1, [r6, #0]            @ relocate entries in the GOT
+               cmp     r1, r2                  @ entry < bss_start ||
+               cmphs   r3, r1                  @ _end < entry
+               addlo   r1, r1, r0              @ table.  This fixes up the
+               str     r1, [r6], #4            @ C references.
+               cmp     r6, ip
+               blo     1b
+#endif
+
+not_relocated: mov     r0, #0
+1:             str     r0, [r2], #4            @ clear bss
+               str     r0, [r2], #4
+               str     r0, [r2], #4
+               str     r0, [r2], #4
+               cmp     r2, r3
+               blo     1b
+
+               /*
+                * Reset Ethernet BDMA (before cache on)
+                */
+               ldr     r3, =0x8000             @ BDMA reset
+               ldr     r2, =0x3FF9000          @ BDMATXCON
+               str     r3, [r2]
+               ldr     r2, =0x3FF9004          @ BDMARXCON
+               str     r3, [r2]
+
+               /*
+                * The C runtime environment should now be setup
+                * sufficiently.  Turn the cache on, set up some
+                * pointers, and start decompressing.
+                */
+               bl      cache_on
+
+               mov     r1, sp                  @ malloc space above stack
+               add     r2, sp, #0x10000        @ 64k max
+
+/*
+ * Check to see if we will overwrite ourselves.
+ *   r4 = final kernel address
+ *   r5 = start of this image
+ *   r2 = end of malloc space (and therefore this image)
+ * We basically want:
+ *   r4 >= r2 -> OK
+ *   r4 + image length <= r5 -> OK
+ */
+               cmp     r4, r2
+               bhs     wont_overwrite
+               add     r0, r4, #4096*1024      @ 4MB largest kernel size
+               cmp     r0, r5
+               bls     wont_overwrite
+
+               mov     r5, r2                  @ decompress after malloc space
+               mov     r0, r5
+               mov     r3, r7
+               bl      decompress_kernel
+
+               add     r0, r0, #127
+               bic     r0, r0, #127            @ align the kernel length
+/*
+ * r0     = decompressed kernel length
+ * r1-r3  = unused
+ * r4     = kernel execution address
+ * r5     = decompressed kernel start
+ * r6     = processor ID
+ * r7     = architecture ID
+ * r8-r14 = unused
+ */
+               add     r1, r5, r0              @ end of decompressed kernel
+               adr     r2, reloc_start
+               ldr     r3, LC1
+               add     r3, r2, r3
+1:             ldmia   r2!, {r8 - r13}         @ copy relocation code
+               stmia   r1!, {r8 - r13}
+               ldmia   r2!, {r8 - r13}
+               stmia   r1!, {r8 - r13}
+               cmp     r2, r3
+               blo     1b
+
+               bl      cache_clean_flush
+               add     pc, r5, r0              @ call relocation code
+
+/*
+ * We're not in danger of overwriting ourselves.  Do this the simple way.
+ *
+ * r4     = kernel execution address
+ * r7     = architecture ID
+ */
+wont_overwrite:        mov     r0, r4
+               mov     r3, r7
+               bl      decompress_kernel
+               b       call_kernel
+
+               .type   LC0, #object
+LC0:           .word   LC0                     @ r1
+               .word   __bss_start             @ r2
+               .word   _end                    @ r3
+               .word   zreladdr                @ r4
+               .word   _start                  @ r5
+               .word   _got_start              @ r6
+               .word   _got_end                @ ip
+               .word   user_stack+4096         @ sp
+LC1:           .word   reloc_end - reloc_start
+               .size   LC0, . - LC0
+
+/*
+ * Turn on the cache.  We need to setup some page tables so that we
+ * can have both the I and D caches on.
+ *
+ * We place the page tables 16k down from the kernel execution address,
+ * and we hope that nothing else is using it.  If we're using it, we
+ * will go pop!
+ *
+ * On entry,
+ *  r4 = kernel execution address
+ *  r6 = processor ID
+ *  r7 = architecture number
+ *  r8 = run-time address of "start"
+ * On exit,
+ *  r1, r2, r3, r8, r9, r12 corrupted
+ * This routine must preserve:
+ *  r4, r5, r6, r7
+ */
+               .align  5
+cache_on:
+               /* cache/write buffer on */
+               ldr     r0, =0x3FF0000          @ SYSCFG
+               ldr     r2, [r0]
+               orr     r2, r2, #6              @ Cache and write buffer
+               str     r2, [r0]
+               mov     pc, lr
+
+/*
+ * All code following this line is relocatable.  It is relocated by
+ * the above code to the end of the decompressed kernel image and
+ * executed there.  During this time, we have no stacks.
+ *
+ * r0     = decompressed kernel length
+ * r1-r3  = unused
+ * r4     = kernel execution address
+ * r5     = decompressed kernel start
+ * r6     = processor ID
+ * r7     = architecture ID
+ * r8-r14 = unused
+ */
+               .align  5
+reloc_start:   add     r8, r5, r0
+               debug_reloc_start
+               mov     r1, r4
+1:
+               .rept   4
+               ldmia   r5!, {r0, r2, r3, r9 - r13}     @ relocate kernel
+               stmia   r1!, {r0, r2, r3, r9 - r13}
+               .endr
+
+               cmp     r5, r8
+               blo     1b
+               debug_reloc_end
+
+call_kernel:   bl      cache_clean_flush
+               bl      cache_off
+               mov     r0, #0
+               mov     r1, r7                  @ restore architecture number
+               mov     pc, r4                  @ call kernel
+
+
+/*
+ * Turn off the Cache and MMU.  ARMv3 does not support
+ * reading the control register, but ARMv4 does.
+ *
+ * On entry,  r6 = processor ID
+ * On exit,   r0, r1, r2, r3, r12 corrupted
+ * This routine must preserve: r4, r6, r7
+ */
+               .align  5
+cache_off:
+               /* cache/write buffer off */
+               ldr     r0, =0x3FF0000          @ SYSCFG
+               ldr     r2, [r0]
+               bic     r2, r2, #6              @ Cache and write buffer
+               str     r2, [r0]
+               mov     pc, lr
+/*
+ * Clean and flush the cache to maintain consistency.
+ *
+ * On entry,
+ *  r6 = processor ID
+ * On exit,
+ *  r1, r2, r3, r11, r12 corrupted
+ * This routine must preserve:
+ *  r0, r4, r5, r6, r7
+ */
+               .align  5
+cache_clean_flush:
+/*
+ * cf. Ch-5 of S3C4510 user's manual for
+ *     "Cache flush operation"
+ * To clear Tag RAM area.
+ */
+               ldr     r1, =0x11000000
+               mov     r2, #0
+               mov     r12, #256
+cache_flush_loop:
+               str     r2, [r1], #4
+               subs    r12, r12, #1
+               bne     cache_flush_loop
+               mov     pc, lr
+
+/*
+ * Various debugging routines for printing hex characters and
+ * memory, which again must be relocatable.
+ */
+#ifdef DEBUG
+               .type   phexbuf,#object
+phexbuf:       .space  12
+               .size   phexbuf, . - phexbuf
+
+phex:          adr     r3, phexbuf
+               mov     r2, #0
+               strb    r2, [r3, r1]
+1:             subs    r1, r1, #1
+               movmi   r0, r3
+               bmi     puts
+               and     r2, r0, #15
+               mov     r0, r0, lsr #4
+               cmp     r2, #10
+               addge   r2, r2, #7
+               add     r2, r2, #'0'
+               strb    r2, [r3, r1]
+               b       1b
+
+puts:          loadsp  r3
+1:             ldrb    r2, [r0], #1
+               teq     r2, #0
+               moveq   pc, lr
+2:             writeb  r2
+               mov     r1, #0x00020000
+3:             subs    r1, r1, #1
+               bne     3b
+               teq     r2, #'\n'
+               moveq   r2, #'\r'
+               beq     2b
+               teq     r0, #0
+               bne     1b
+               mov     pc, lr
+putc:
+               mov     r2, r0
+               mov     r0, #0
+               loadsp  r3
+               b       2b
+
+memdump:       mov     r12, r0
+               mov     r10, lr
+               mov     r11, #0
+2:             mov     r0, r11, lsl #2
+               add     r0, r0, r12
+               mov     r1, #8
+               bl      phex
+               mov     r0, #':'
+               bl      putc
+1:             mov     r0, #' '
+               bl      putc
+               ldr     r0, [r12, r11, lsl #2]
+               mov     r1, #8
+               bl      phex
+               and     r0, r11, #7
+               teq     r0, #3
+               moveq   r0, #' '
+               bleq    putc
+               and     r0, r11, #7
+               add     r11, r11, #1
+               teq     r0, #7
+               bne     1b
+               mov     r0, #'\n'
+               bl      putc
+               cmp     r11, #64
+               blt     2b
+               mov     pc, r10
+#endif
+
+reloc_end:
+
+               .align
+               .section ".stack", "w"
+user_stack:    .space  4096
diff --git a/arch/arm/boot/compressed/head-ks8695.S b/arch/arm/boot/compressed/head-ks8695.S
new file mode 100644 (file)
index 0000000..2038de4
--- /dev/null
@@ -0,0 +1,5 @@
+#include <asm/mach-types.h>
+
+       .section        ".start", "ax"
+       mov     r7, #(MACH_TYPE_KS8695 & 0xff)
+       orr     r7, r7, #(MACH_TYPE_KS8695 & 0xff00)
diff --git a/arch/arm/boot/compressed/head-p2001.S b/arch/arm/boot/compressed/head-p2001.S
new file mode 100644 (file)
index 0000000..0926f9a
--- /dev/null
@@ -0,0 +1,382 @@
+/*
+ *  linux/arch/armnommu/boot/compressed/head-p2001.S
+ *
+ *  Copyright (C) 2004 Tobias Lorenz
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#include <linux/linkage.h>
+
+/*
+ * Debugging stuff
+ *
+ * Note that these macros must not contain any code which is not
+ * 100% relocatable.  Any attempt to do so will result in a crash.
+ * Please select one of the following when turning on debugging.
+ */
+#ifdef DEBUG
+               .macro  loadsp, rb
+               mov     \rb, #0x00140000        @ Adr_UART_OLD_BASE
+               .endm
+
+               .macro  writeb, rb
+               str     \rb, [r3, #0x00]        @ REL_Adr_Uart_TX1
+               .endm
+#endif
+
+               .macro  kputc,val
+               mov     r0, \val
+               bl      putc
+               .endm
+
+               .macro  kphex,val,len
+               mov     r0, \val
+               mov     r1, #\len
+               bl      phex
+               .endm
+
+               .macro  debug_reloc_start
+#ifdef DEBUG
+               kputc   #'\n'
+               kphex   r6, 8           /* processor id */
+               kputc   #':'
+               kphex   r7, 8           /* architecture id */
+               kputc   #'\n'
+               kphex   r5, 8           /* decompressed kernel start */
+               kputc   #'-'
+               kphex   r8, 8           /* decompressed kernel end  */
+               kputc   #'>'
+               kphex   r4, 8           /* kernel execution address */
+               kputc   #'\n'
+#endif
+               .endm
+
+               .macro  debug_reloc_end
+#ifdef DEBUG
+               kphex   r5, 8           /* end of kernel */
+               kputc   #'\n'
+               mov     r0, r4
+               bl      memdump         /* dump 256 bytes at start of kernel */
+#endif
+               .endm
+
+
+               .section ".start", #alloc, #execinstr
+/*
+ * sort out different calling conventions
+ */
+               .align
+start:
+               .type   start,#function
+               .rept   8
+               mov     r0, r0
+               .endr
+
+               b       1f
+               .word   0x016f2818              @ Magic numbers to help the loader
+               .word   start                   @ absolute load/run zImage address
+               .word   _edata                  @ zImage end address
+1:             mov     r7, r1                  @ save architecture ID
+               mov     r8, #0                  @ save r0
+
+               /*
+                * Booting from P2001 - need to enter SVC mode and disable
+                * FIQs/IRQs (numeric definitions from angel arm.h source).
+                * We only do this if we were in user mode on entry.
+                */
+               mrs     r2, cpsr                @ get current mode
+               orr     r2, r2, #0xc0           @ turn off interrupts
+               msr     cpsr_c, r2
+
+               /*
+                * Note that some cache flushing and other stuff may
+                * be needed here - is there an Angel SWI call for this?
+                */
+
+               /*
+                * some architecture specific code can be inserted
+                * by the linker here, but it should preserve r7 and r8.
+                */
+
+               .text
+               adr     r0, LC0
+               ldmia   r0, {r1, r2, r3, r4, r5, r6, ip, sp}
+               subs    r0, r0, r1              @ calculate the delta offset
+
+                                               @ if delta is zero, we're
+               beq     not_relocated           @ running at the address we
+                                               @ were linked at.
+
+               /*
+                * We're running at a different address.  We need to fix
+                * up various pointers:
+                *   r5 - zImage base address
+                *   r6 - GOT start
+                *   ip - GOT end
+                */
+               add     r5, r5, r0
+               add     r6, r6, r0
+               add     ip, ip, r0
+
+#ifndef CONFIG_ZBOOT_ROM
+               /*
+                * If we're running fully PIC === CONFIG_ZBOOT_ROM = n,
+                * we need to fix up pointers into the BSS region.
+                *   r2 - BSS start
+                *   r3 - BSS end
+                *   sp - stack pointer
+                */
+               add     r2, r2, r0
+               add     r3, r3, r0
+               add     sp, sp, r0
+
+               /*
+                * Relocate all entries in the GOT table.
+                */
+1:             ldr     r1, [r6, #0]            @ relocate entries in the GOT
+               add     r1, r1, r0              @ table.  This fixes up the
+               str     r1, [r6], #4            @ C references.
+               cmp     r6, ip
+               blo     1b
+#else
+
+               /*
+                * Relocate entries in the GOT table.  We only relocate
+                * the entries that are outside the (relocated) BSS region.
+                */
+1:             ldr     r1, [r6, #0]            @ relocate entries in the GOT
+               cmp     r1, r2                  @ entry < bss_start ||
+               cmphs   r3, r1                  @ _end < entry
+               addlo   r1, r1, r0              @ table.  This fixes up the
+               str     r1, [r6], #4            @ C references.
+               cmp     r6, ip
+               blo     1b
+#endif
+
+not_relocated: mov     r0, #0
+1:             str     r0, [r2], #4            @ clear bss
+               str     r0, [r2], #4
+               str     r0, [r2], #4
+               str     r0, [r2], #4
+               cmp     r2, r3
+               blo     1b
+
+               /*
+                * The C runtime environment should now be setup
+                * sufficiently.  Set up some pointers, and start decompressing.
+                */
+               mov     r1, sp                  @ malloc space above stack
+               add     r2, sp, #0x10000        @ 64k max
+
+/*
+ * Check to see if we will overwrite ourselves.
+ *   r4 = final kernel address
+ *   r5 = start of this image
+ *   r2 = end of malloc space (and therefore this image)
+ * We basically want:
+ *   r4 >= r2 -> OK
+ *   r4 + image length <= r5 -> OK
+ */
+               cmp     r4, r2
+               bhs     wont_overwrite
+               add     r0, r4, #4096*1024      @ 4MB largest kernel size
+               cmp     r0, r5
+               bls     wont_overwrite
+
+               mov     r5, r2                  @ decompress after malloc space
+               mov     r0, r5
+               mov     r3, r7
+               bl      decompress_kernel
+
+               add     r0, r0, #127
+               bic     r0, r0, #127            @ align the kernel length
+/*
+ * r0     = decompressed kernel length
+ * r1-r3  = unused
+ * r4     = kernel execution address
+ * r5     = decompressed kernel start
+ * r6     = processor ID
+ * r7     = architecture ID
+ * r8-r14 = unused
+ */
+               add     r1, r5, r0              @ end of decompressed kernel
+               adr     r2, reloc_start
+               ldr     r3, LC1
+               add     r3, r2, r3
+1:             ldmia   r2!, {r8 - r13}         @ copy relocation code
+               stmia   r1!, {r8 - r13}
+               ldmia   r2!, {r8 - r13}
+               stmia   r1!, {r8 - r13}
+               cmp     r2, r3
+               blo     1b
+
+               add     pc, r5, r0              @ call relocation code
+
+/*
+ * We're not in danger of overwriting ourselves.  Do this the simple way.
+ *
+ * r4     = kernel execution address
+ * r7     = architecture ID
+ */
+wont_overwrite:        mov     r0, r4
+               mov     r3, r7
+               bl      decompress_kernel
+               b       call_kernel
+
+               .type   LC0, #object
+LC0:           .word   LC0                     @ r1
+               .word   __bss_start             @ r2
+               .word   _end                    @ r3
+               .word   _load_addr              @ r4
+               .word   _start                  @ r5
+               .word   _got_start              @ r6
+               .word   _got_end                @ ip
+               .word   user_stack+4096         @ sp
+LC1:           .word   reloc_end - reloc_start
+               .size   LC0, . - LC0
+
+/*
+ * Initialise the page tables, turning on the cacheable and bufferable
+ * bits for the RAM area only.
+ */
+               mov     r0, r3
+               mov     r8, r0, lsr #18
+               mov     r8, r8, lsl #18         @ start of RAM
+               add     r9, r8, #0x10000000     @ a reasonable RAM size
+               mov     r1, #0x12
+               orr     r1, r1, #3 << 10
+               add     r2, r3, #16384
+1:             cmp     r1, r8                  @ if virt > start of RAM
+               orrhs   r1, r1, #0x0c           @ set cacheable, bufferable
+               cmp     r1, r9                  @ if virt > end of RAM
+               bichs   r1, r1, #0x0c           @ clear cacheable, bufferable
+               str     r1, [r0], #4            @ 1:1 mapping
+               add     r1, r1, #1048576
+               teq     r0, r2
+               bne     1b
+/*
+ * If ever we are running from Flash, then we surely want the cache
+ * to be enabled also for our execution instance...  We map 2MB of it
+ * so there is no map overlap problem for up to 1 MB compressed kernel.
+ * If the execution is in RAM then we would only be duplicating the above.
+ */
+               mov     r1, #0x1e
+               orr     r1, r1, #3 << 10
+               mov     r2, pc, lsr #20
+               orr     r1, r1, r2, lsl #20
+               add     r0, r3, r2, lsl #2
+               str     r1, [r0], #4
+               add     r1, r1, #1048576
+               str     r1, [r0]
+               mov     pc, lr
+
+/*
+ * All code following this line is relocatable.  It is relocated by
+ * the above code to the end of the decompressed kernel image and
+ * executed there.  During this time, we have no stacks.
+ *
+ * r0     = decompressed kernel length
+ * r1-r3  = unused
+ * r4     = kernel execution address
+ * r5     = decompressed kernel start
+ * r6     = processor ID
+ * r7     = architecture ID
+ * r8-r14 = unused
+ */
+               .align  5
+reloc_start:   add     r8, r5, r0
+               debug_reloc_start
+               mov     r1, r4
+1:
+               .rept   4
+               ldmia   r5!, {r0, r2, r3, r9 - r13}     @ relocate kernel
+               stmia   r1!, {r0, r2, r3, r9 - r13}
+               .endr
+
+               cmp     r5, r8
+               blo     1b
+               debug_reloc_end
+
+call_kernel:   mov     r0, #0
+               mov     r1, r7                  @ restore architecture number
+               mov     pc, r4                  @ call kernel
+
+/*
+ * Various debugging routines for printing hex characters and
+ * memory, which again must be relocatable.
+ */
+#ifdef DEBUG
+               .type   phexbuf,#object
+phexbuf:       .space  12
+               .size   phexbuf, . - phexbuf
+
+phex:          adr     r3, phexbuf
+               mov     r2, #0
+               strb    r2, [r3, r1]
+1:             subs    r1, r1, #1
+               movmi   r0, r3
+               bmi     puts
+               and     r2, r0, #15
+               mov     r0, r0, lsr #4
+               cmp     r2, #10
+               addge   r2, r2, #7
+               add     r2, r2, #'0'
+               strb    r2, [r3, r1]
+               b       1b
+
+puts:          loadsp  r3
+1:             ldrb    r2, [r0], #1
+               teq     r2, #0
+               moveq   pc, lr
+2:             writeb  r2
+               mov     r1, #0x00020000
+3:             subs    r1, r1, #1
+               bne     3b
+               teq     r2, #'\n'
+               moveq   r2, #'\r'
+               beq     2b
+               teq     r0, #0
+               bne     1b
+               mov     pc, lr
+putc:
+               mov     r2, r0
+               mov     r0, #0
+               loadsp  r3
+               b       2b
+
+memdump:       mov     r12, r0
+               mov     r10, lr
+               mov     r11, #0
+2:             mov     r0, r11, lsl #2
+               add     r0, r0, r12
+               mov     r1, #8
+               bl      phex
+               mov     r0, #':'
+               bl      putc
+1:             mov     r0, #' '
+               bl      putc
+               ldr     r0, [r12, r11, lsl #2]
+               mov     r1, #8
+               bl      phex
+               and     r0, r11, #7
+               teq     r0, #3
+               moveq   r0, #' '
+               bleq    putc
+               and     r0, r11, #7
+               add     r11, r11, #1
+               teq     r0, #7
+               bne     1b
+               mov     r0, #'\n'
+               bl      putc
+               cmp     r11, #64
+               blt     2b
+               mov     pc, r10
+#endif
+
+reloc_end:
+
+               .align
+               .section ".stack", "w"
+user_stack:    .space  4096
diff --git a/arch/arm/boot/compressed/head-s3c44b0.S b/arch/arm/boot/compressed/head-s3c44b0.S
new file mode 100644 (file)
index 0000000..e4137c8
--- /dev/null
@@ -0,0 +1,371 @@
+/*
+ *  linux/arch/armnommu/boot/compressed/head.S
+ *
+ *  Copyright (C) 1996-2002 Russell King
+ *  Copyright (C) 2004 Hyok S. Choi (MPU support)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#include <linux/linkage.h>
+#include <asm/mach-types.h>
+
+/*
+ * Debugging stuff
+ *
+ * Note that these macros must not contain any code which is not
+ * 100% relocatable.  Any attempt to do so will result in a crash.
+ * Please select one of the following when turning on debugging.
+ */
+
+               .macro  kputc,val
+               mov     r0, \val
+               bl      putc
+               .endm
+
+               .macro  kphex,val,len
+               mov     r0, \val