development kernel tree: Changes to 'master'
git at git.openmoko.org
git at git.openmoko.org
Sun Jul 27 14:39:54 CEST 2008
CREDITS | 11 +-
Documentation/00-INDEX | 2 -
Documentation/ABI/testing/sysfs-block | 34 +
Documentation/ABI/testing/sysfs-bus-css | 35 +
Documentation/ABI/testing/sysfs-dev | 20 +
Documentation/ABI/testing/sysfs-devices-memory | 24 +
Documentation/ABI/testing/sysfs-firmware-acpi | 127 +-
Documentation/ABI/testing/sysfs-firmware-memmap | 71 +
Documentation/ABI/testing/sysfs-kernel-mm | 6 +
.../ABI/testing/sysfs-kernel-mm-hugepages | 15 +
Documentation/CodingStyle | 42 +-
Documentation/DMA-attributes.txt | 9 +
Documentation/DocBook/gadget.tmpl | 38 +
Documentation/DocBook/kernel-locking.tmpl | 57 +-
Documentation/DocBook/procfs-guide.tmpl | 4 +-
Documentation/DocBook/uio-howto.tmpl | 63 +-
Documentation/HOWTO | 4 +-
Documentation/IRQ-affinity.txt | 37 +-
Documentation/RCU/NMI-RCU.txt | 3 +
Documentation/RCU/RTFP.txt | 108 +
Documentation/RCU/checklist.txt | 89 +-
Documentation/RCU/torture.txt | 48 +-
Documentation/RCU/whatisRCU.txt | 58 +-
Documentation/accounting/delay-accounting.txt | 11 +-
Documentation/accounting/getdelays.c | 8 +-
Documentation/accounting/taskstats-struct.txt | 7 +
Documentation/block/data-integrity.txt | 327 +
Documentation/bt8xxgpio.txt | 67 +
Documentation/controllers/memory.txt | 3 +-
Documentation/cputopology.txt | 26 +-
Documentation/edac.txt | 151 +-
Documentation/fb/sh7760fb.txt | 131 +
Documentation/fb/tridentfb.txt | 46 +-
Documentation/feature-removal-schedule.txt | 59 +-
Documentation/filesystems/Locking | 7 +
Documentation/filesystems/bfs.txt | 10 +-
.../filesystems/configfs/configfs_example.c | 4 +-
Documentation/filesystems/ext4.txt | 125 +-
Documentation/filesystems/gfs2-glocks.txt | 114 +
Documentation/filesystems/nfs-rdma.txt | 103 +-
Documentation/filesystems/proc.txt | 73 +-
Documentation/filesystems/sysfs.txt | 6 +
Documentation/filesystems/ubifs.txt | 164 +
Documentation/filesystems/vfat.txt | 8 +
Documentation/ftrace.txt | 403 +-
Documentation/gpio.txt | 135 +-
Documentation/i2c/busses/i2c-i810 | 47 -
Documentation/i2c/busses/i2c-prosavage | 23 -
Documentation/i2c/busses/i2c-savage4 | 26 -
Documentation/i2c/chips/max6875 | 2 +-
Documentation/i2c/chips/pca9539 | 10 +-
Documentation/i2c/chips/pcf8574 | 12 +-
Documentation/i2c/chips/pcf8575 | 9 +-
Documentation/i2c/fault-codes | 127 +
Documentation/i2c/smbus-protocol | 4 +-
Documentation/i2c/writing-clients | 51 +-
Documentation/i386/IO-APIC.txt | 119 -
Documentation/i386/boot.txt | 887 -
Documentation/i386/usb-legacy-support.txt | 44 -
Documentation/i386/zero-page.txt | 31 -
Documentation/ia64/paravirt_ops.txt | 137 +
Documentation/input/gameport-programming.txt | 2 -
Documentation/input/input.txt | 1 -
Documentation/input/joystick-api.txt | 2 -
Documentation/input/joystick-parport.txt | 1 -
Documentation/input/joystick.txt | 1 -
Documentation/ioctl-number.txt | 1 +
Documentation/ioctl/hdio.txt | 7 +-
Documentation/kdump/kdump.txt | 2 +-
Documentation/kernel-parameters.txt | 125 +-
Documentation/kprobes.txt | 1 +
Documentation/laptops/acer-wmi.txt | 2 -
Documentation/laptops/thinkpad-acpi.txt | 26 +-
Documentation/md.txt | 30 +-
Documentation/moxa-smartio | 392 +-
Documentation/networking/bonding.txt | 110 +-
Documentation/networking/dm9000.txt | 167 +
Documentation/networking/e1000.txt | 14 +-
Documentation/networking/ip-sysctl.txt | 21 +-
Documentation/networking/ixgb.txt | 419 +-
Documentation/networking/mac80211_hwsim/README | 67 +
.../networking/mac80211_hwsim/hostapd.conf | 11 +
.../networking/mac80211_hwsim/wpa_supplicant.conf | 10 +
Documentation/networking/multiqueue.txt | 90 +-
Documentation/networking/s2io.txt | 7 +-
Documentation/networking/udplite.txt | 2 +-
Documentation/nmi_watchdog.txt | 16 +-
Documentation/power/00-INDEX | 4 +-
Documentation/power/apm-acpi.txt | 32 +
Documentation/power/pm.txt | 257 -
Documentation/powerpc/booting-without-of.txt | 1292 +--
Documentation/powerpc/bootwrapper.txt | 141 +
Documentation/powerpc/dts-bindings/fsl/board.txt | 29 +
.../powerpc/dts-bindings/fsl/cpm_qe/cpm.txt | 67 +
.../powerpc/dts-bindings/fsl/cpm_qe/cpm/brg.txt | 21 +
.../powerpc/dts-bindings/fsl/cpm_qe/cpm/i2c.txt | 41 +
.../powerpc/dts-bindings/fsl/cpm_qe/cpm/pic.txt | 18 +
.../powerpc/dts-bindings/fsl/cpm_qe/cpm/usb.txt | 15 +
.../powerpc/dts-bindings/fsl/cpm_qe/gpio.txt | 38 +
.../powerpc/dts-bindings/fsl/cpm_qe/network.txt | 45 +
.../powerpc/dts-bindings/fsl/cpm_qe/qe.txt | 58 +
.../dts-bindings/fsl/cpm_qe/qe/firmware.txt | 24 +
.../powerpc/dts-bindings/fsl/cpm_qe/qe/par_io.txt | 51 +
.../powerpc/dts-bindings/fsl/cpm_qe/qe/pincfg.txt | 60 +
.../powerpc/dts-bindings/fsl/cpm_qe/qe/ucc.txt | 70 +
.../powerpc/dts-bindings/fsl/cpm_qe/qe/usb.txt | 37 +
.../powerpc/dts-bindings/fsl/cpm_qe/serial.txt | 21 +
Documentation/powerpc/dts-bindings/fsl/diu.txt | 18 +
Documentation/powerpc/dts-bindings/fsl/dma.txt | 127 +
Documentation/powerpc/dts-bindings/fsl/gtm.txt | 31 +
Documentation/powerpc/dts-bindings/fsl/guts.txt | 25 +
Documentation/powerpc/dts-bindings/fsl/i2c.txt | 32 +
Documentation/powerpc/dts-bindings/fsl/lbc.txt | 35 +
.../powerpc/dts-bindings/fsl/mcu-mpc8349emitx.txt | 17 +
Documentation/powerpc/dts-bindings/fsl/msi-pic.txt | 36 +
Documentation/powerpc/dts-bindings/fsl/pmc.txt | 63 +
Documentation/powerpc/dts-bindings/fsl/sata.txt | 29 +
Documentation/powerpc/dts-bindings/fsl/sec.txt | 68 +
Documentation/powerpc/dts-bindings/fsl/spi.txt | 24 +
Documentation/powerpc/dts-bindings/fsl/ssi.txt | 38 +
Documentation/powerpc/dts-bindings/fsl/tsec.txt | 62 +
.../powerpc/dts-bindings/fsl/upm-nand.txt | 28 +
Documentation/powerpc/dts-bindings/fsl/usb.txt | 59 +
Documentation/powerpc/dts-bindings/gpio/led.txt | 15 +
Documentation/rfkill.txt | 547 +-
Documentation/scheduler/sched-domains.txt | 7 +-
Documentation/scheduler/sched-rt-group.txt | 4 +-
Documentation/scsi/aacraid.txt | 24 +-
Documentation/serial/driver | 11 +
Documentation/sound/alsa/ALSA-Configuration.txt | 17 +-
.../sound/alsa/DocBook/alsa-driver-api.tmpl | 2 +-
.../sound/alsa/DocBook/writing-an-alsa-driver.tmpl | 4 +-
Documentation/specialix.txt | 8 +-
Documentation/sysfs-rules.txt | 5 +-
Documentation/telephony/ixj.txt | 13 +-
Documentation/tracers/mmiotrace.txt | 164 +
Documentation/unaligned-memory-access.txt | 32 +-
Documentation/usb/gadget_serial.txt | 35 +-
Documentation/usb/persist.txt | 7 +-
Documentation/usb/uhci.txt | 165 -
Documentation/video4linux/CARDLIST.cx23885 | 1 +
Documentation/video4linux/CARDLIST.em28xx | 5 +-
Documentation/video4linux/CARDLIST.saa7134 | 8 +-
Documentation/video4linux/cx18.txt | 36 +-
Documentation/video4linux/gspca.txt | 243 +
Documentation/video4linux/w9968cf.txt | 3 -
Documentation/vm/hugetlbpage.txt | 23 +
Documentation/x86/i386/IO-APIC.txt | 119 +
Documentation/x86/i386/boot.txt | 900 +
Documentation/x86/i386/usb-legacy-support.txt | 44 +
Documentation/x86/i386/zero-page.txt | 31 +
Documentation/x86/x86_64/00-INDEX | 16 +
Documentation/x86/x86_64/boot-options.txt | 314 +
Documentation/x86/x86_64/cpu-hotplug-spec | 21 +
Documentation/x86/x86_64/fake-numa-for-cpusets | 66 +
Documentation/x86/x86_64/kernel-stacks | 99 +
Documentation/x86/x86_64/machinecheck | 77 +
Documentation/x86/x86_64/mm.txt | 28 +
Documentation/x86/x86_64/uefi.txt | 42 +
Documentation/x86_64/00-INDEX | 16 -
Documentation/x86_64/boot-options.txt | 314 -
Documentation/x86_64/cpu-hotplug-spec | 21 -
Documentation/x86_64/fake-numa-for-cpusets | 66 -
Documentation/x86_64/kernel-stacks | 99 -
Documentation/x86_64/machinecheck | 77 -
Documentation/x86_64/mm.txt | 29 -
Documentation/x86_64/uefi.txt | 38 -
MAINTAINERS | 170 +-
Makefile | 28 +-
arch/Kconfig | 32 +
arch/alpha/Kconfig | 6 +-
arch/alpha/boot/misc.c | 39 +-
arch/alpha/kernel/core_marvel.c | 6 +-
arch/alpha/kernel/irq.c | 5 +-
arch/alpha/kernel/process.c | 2 +-
arch/alpha/kernel/smp.c | 180 +-
arch/alpha/mm/numa.c | 10 +-
arch/alpha/oprofile/common.c | 6 +-
arch/arm/Kconfig | 113 +-
arch/arm/Makefile | 8 +-
arch/arm/boot/compressed/Makefile | 6 +
arch/arm/boot/compressed/head.S | 4 +-
arch/arm/boot/compressed/misc.c | 59 +-
arch/arm/common/Makefile | 1 -
arch/arm/common/dmabounce.c | 22 +-
arch/arm/common/locomo.c | 2 +-
arch/arm/common/rtctime.c | 434 -
arch/arm/common/sa1111.c | 12 +-
arch/arm/common/scoop.c | 2 +-
arch/arm/common/sharpsl_pm.c | 3 +
arch/arm/configs/at91cap9adk_defconfig | 82 +-
arch/arm/configs/at91rm9200dk_defconfig | 1 -
arch/arm/configs/at91rm9200ek_defconfig | 1 -
arch/arm/configs/at91sam9260ek_defconfig | 1 -
arch/arm/configs/at91sam9261ek_defconfig | 1 -
arch/arm/configs/at91sam9263ek_defconfig | 1 -
arch/arm/configs/at91sam9g20ek_defconfig | 1168 ++
arch/arm/configs/at91sam9rlek_defconfig | 1 -
arch/arm/configs/ateb9200_defconfig | 1 -
arch/arm/configs/cm_x270_defconfig | 1410 --
arch/arm/configs/collie_defconfig | 1 -
arch/arm/configs/corgi_defconfig | 1 -
arch/arm/configs/ecbat91_defconfig | 1 -
arch/arm/configs/em_x270_defconfig | 1265 --
arch/arm/configs/ep93xx_defconfig | 1 -
arch/arm/configs/eseries_pxa_defconfig | 1 -
arch/arm/configs/ezx_defconfig | 1614 ++
arch/arm/configs/imx27ads_defconfig | 826 +
arch/arm/configs/iop13xx_defconfig | 1 -
arch/arm/configs/iop32x_defconfig | 1 -
arch/arm/configs/iop33x_defconfig | 1 -
arch/arm/configs/ixp2000_defconfig | 1 -
arch/arm/configs/ixp23xx_defconfig | 1 -
arch/arm/configs/ixp4xx_defconfig | 9 +-
arch/arm/configs/kafa_defconfig | 1 -
arch/arm/configs/kb9202_defconfig | 1 -
arch/arm/configs/kirkwood_defconfig | 1426 ++
arch/arm/configs/ks8695_defconfig | 1 -
arch/arm/configs/loki_defconfig | 1147 ++
arch/arm/configs/lpd270_defconfig | 1 -
arch/arm/configs/lpd7a404_defconfig | 1 -
arch/arm/configs/mv78xx0_defconfig | 1445 ++
arch/arm/configs/mx31ads_defconfig | 839 +
arch/arm/configs/mx31litekit_defconfig | 1100 ++
arch/arm/configs/netx_defconfig | 1 -
arch/arm/configs/onearm_defconfig | 1 -
arch/arm/configs/orion5x_defconfig | 319 +-
arch/arm/configs/pcm037_defconfig | 748 +
arch/arm/configs/pcm038_defconfig | 1008 +
arch/arm/configs/picotux200_defconfig | 1 -
arch/arm/configs/pnx4008_defconfig | 1 -
arch/arm/configs/qil-a9260_defconfig | 1256 ++
arch/arm/configs/realview-smp_defconfig | 1 -
arch/arm/configs/realview_defconfig | 1 -
arch/arm/configs/rpc_defconfig | 1 -
arch/arm/configs/s3c2410_defconfig | 1043 +-
arch/arm/configs/sam9_l9260_defconfig | 1 -
arch/arm/configs/spitz_defconfig | 1 -
arch/arm/configs/tct_hammer_defconfig | 1 -
arch/arm/configs/trizeps4_defconfig | 1 -
arch/arm/configs/usb-a9260_defconfig | 1142 ++
arch/arm/configs/usb-a9263_defconfig | 1134 ++
arch/arm/configs/versatile_defconfig | 1 -
arch/arm/configs/xm_x270_defconfig | 1741 ++
arch/arm/kernel/Makefile | 6 +
arch/arm/kernel/armksyms.c | 5 +
arch/arm/kernel/atags.c | 83 +-
arch/arm/kernel/ecard.c | 18 +-
arch/arm/kernel/ecard.h | 13 +
arch/arm/kernel/entry-common.S | 51 +
arch/arm/kernel/ftrace.c | 116 +
arch/arm/kernel/kgdb.c | 201 +
arch/arm/kernel/kprobes.c | 8 +-
arch/arm/kernel/module.c | 1 +
arch/arm/kernel/process.c | 6 +-
arch/arm/kernel/setup.c | 2 +
arch/arm/kernel/smp.c | 163 +-
arch/arm/kernel/stacktrace.c | 35 +-
arch/arm/kernel/time.c | 124 +-
arch/arm/kernel/traps.c | 5 +
arch/arm/lib/copy_template.S | 12 +-
arch/arm/lib/memmove.S | 14 +-
arch/arm/lib/memset.S | 46 +
arch/arm/lib/memzero.S | 44 +
arch/arm/mach-at91/Kconfig | 56 +-
arch/arm/mach-at91/Makefile | 8 +
arch/arm/mach-at91/at91cap9_devices.c | 99 +
arch/arm/mach-at91/at91sam9260.c | 16 +
arch/arm/mach-at91/at91sam9260_devices.c | 44 +-
arch/arm/mach-at91/at91sam9261_devices.c | 12 +-
arch/arm/mach-at91/at91sam9263_devices.c | 4 +-
arch/arm/mach-at91/at91sam9rl_devices.c | 107 +-
arch/arm/mach-at91/board-cap9adk.c | 9 +
arch/arm/mach-at91/board-carmeva.c | 23 +-
arch/arm/mach-at91/board-csb637.c | 4 +-
arch/arm/mach-at91/board-dk.c | 25 +-
arch/arm/mach-at91/board-eb9200.c | 26 +-
arch/arm/mach-at91/board-ek.c | 25 +-
arch/arm/mach-at91/board-kb9202.c | 29 +-
arch/arm/mach-at91/board-qil-a9260.c | 255 +
arch/arm/mach-at91/board-sam9g20ek.c | 218 +
arch/arm/mach-at91/board-sam9rlek.c | 10 +
arch/arm/mach-at91/board-usb-a9260.c | 215 +
arch/arm/mach-at91/board-usb-a9263.c | 230 +
arch/arm/mach-at91/board-yl-9200.c | 853 +-
arch/arm/mach-at91/clock.c | 64 +-
arch/arm/mach-at91/pm.c | 2 +-
arch/arm/mach-ep93xx/clock.c | 5 +
arch/arm/mach-footbridge/Makefile | 2 -
arch/arm/mach-footbridge/co285.c | 39 -
arch/arm/mach-footbridge/common.c | 21 -
arch/arm/mach-footbridge/ebsa285-leds.c | 2 +-
arch/arm/mach-footbridge/time.c | 3 +-
arch/arm/mach-imx/Makefile | 2 +-
arch/arm/mach-imx/clock.c | 205 +
arch/arm/mach-imx/cpufreq.c | 20 +-
arch/arm/mach-imx/dma.c | 13 +-
arch/arm/mach-imx/generic.c | 76 -
arch/arm/mach-imx/mx1ads.c | 10 +
arch/arm/mach-imx/time.c | 23 +-
arch/arm/mach-integrator/Makefile | 2 +-
arch/arm/mach-integrator/impd1.c | 7 +-
arch/arm/mach-integrator/lm.c | 6 +-
arch/arm/mach-integrator/time.c | 223 -
arch/arm/mach-iop32x/n2100.c | 52 +
arch/arm/mach-ixp4xx/Kconfig | 9 +
arch/arm/mach-ixp4xx/Makefile | 2 +
arch/arm/mach-ixp4xx/common.c | 4 +-
arch/arm/mach-ixp4xx/fsg-pci.c | 71 +
arch/arm/mach-ixp4xx/fsg-setup.c | 276 +
arch/arm/mach-kirkwood/Kconfig | 25 +
arch/arm/mach-kirkwood/Makefile | 5 +
arch/arm/mach-kirkwood/Makefile.boot | 3 +
arch/arm/mach-kirkwood/addr-map.c | 139 +
arch/arm/mach-kirkwood/common.c | 331 +
arch/arm/mach-kirkwood/common.h | 42 +
arch/arm/mach-kirkwood/db88f6281-bp-setup.c | 68 +
arch/arm/mach-kirkwood/irq.c | 22 +
arch/arm/mach-kirkwood/pcie.c | 180 +
arch/arm/mach-kirkwood/rd88f6192-nas-setup.c | 69 +
arch/arm/mach-kirkwood/rd88f6281-setup.c | 113 +
arch/arm/mach-loki/Kconfig | 13 +
arch/arm/mach-loki/Makefile | 3 +
arch/arm/mach-loki/Makefile.boot | 3 +
arch/arm/mach-loki/addr-map.c | 121 +
arch/arm/mach-loki/common.c | 305 +
arch/arm/mach-loki/common.h | 36 +
arch/arm/mach-loki/irq.c | 21 +
arch/arm/mach-loki/lb88rc8480-setup.c | 100 +
arch/arm/mach-mv78xx0/Kconfig | 13 +
arch/arm/mach-mv78xx0/Makefile | 2 +
arch/arm/mach-mv78xx0/Makefile.boot | 3 +
arch/arm/mach-mv78xx0/addr-map.c | 156 +
arch/arm/mach-mv78xx0/common.c | 754 +
arch/arm/mach-mv78xx0/common.h | 49 +
arch/arm/mach-mv78xx0/db78x00-bp-setup.c | 94 +
arch/arm/mach-mv78xx0/irq.c | 22 +
arch/arm/mach-mv78xx0/pcie.c | 312 +
arch/arm/mach-mx2/Kconfig | 39 +
arch/arm/mach-mx2/Makefile | 14 +
arch/arm/mach-mx2/Makefile.boot | 3 +
arch/arm/mach-mx2/clock_imx27.c | 1626 ++
arch/arm/mach-mx2/cpu_imx27.c | 63 +
arch/arm/mach-mx2/crm_regs.h | 273 +
arch/arm/mach-mx2/devices.c | 231 +
arch/arm/mach-mx2/generic.c | 74 +
arch/arm/mach-mx2/mx27ads.c | 304 +
arch/arm/mach-mx2/pcm038.c | 204 +
arch/arm/mach-mx2/pcm970-baseboard.c | 32 +
arch/arm/mach-mx2/serial.c | 177 +
arch/arm/mach-mx2/system.c | 63 +
arch/arm/mach-mx3/Kconfig | 13 +
arch/arm/mach-mx3/Makefile | 4 +-
arch/arm/mach-mx3/clock.c | 1147 ++
arch/arm/mach-mx3/crm_regs.h | 401 +
arch/arm/mach-mx3/devices.c | 180 +
arch/arm/mach-mx3/iomux.c | 111 +
arch/arm/mach-mx3/mx31ads.c | 14 +-
arch/arm/mach-mx3/mx31lite.c | 107 +
arch/arm/mach-mx3/pcm037.c | 130 +
arch/arm/mach-mx3/time.c | 148 -
arch/arm/mach-ns9xxx/clock.c | 2 +-
arch/arm/mach-omap1/Makefile | 4 +-
arch/arm/mach-omap1/board-nokia770.c | 17 +-
arch/arm/mach-omap1/board-osk.c | 18 +-
arch/arm/mach-omap1/fpga.c | 10 +-
arch/arm/mach-omap1/mcbsp.c | 280 +
arch/arm/mach-omap1/pm.c | 7 -
arch/arm/mach-omap1/sram.S | 57 +
arch/arm/mach-omap2/Makefile | 8 +-
arch/arm/mach-omap2/clock.c | 201 +-
arch/arm/mach-omap2/clock.h | 6 +
arch/arm/mach-omap2/clock24xx.c | 12 +-
arch/arm/mach-omap2/clock24xx.h | 47 +-
arch/arm/mach-omap2/clock34xx.c | 299 +-
arch/arm/mach-omap2/clock34xx.h | 147 +-
arch/arm/mach-omap2/cm-regbits-34xx.h | 18 +-
arch/arm/mach-omap2/cm.h | 15 +-
arch/arm/mach-omap2/control.c | 24 +-
arch/arm/mach-omap2/id.c | 195 +-
arch/arm/mach-omap2/mcbsp.c | 208 +
arch/arm/mach-omap2/memory.c | 11 +-
arch/arm/mach-omap2/mux.c | 2 +-
arch/arm/mach-omap2/pm.c | 7 -
arch/arm/mach-omap2/prcm-common.h | 1 +
arch/arm/mach-omap2/prcm.c | 98 +-
arch/arm/mach-omap2/prm.h | 30 +-
arch/arm/mach-omap2/sdrc.h | 10 +-
arch/arm/mach-omap2/sram-fn.S | 324 -
arch/arm/mach-omap2/sram242x.S | 321 +
arch/arm/mach-omap2/sram243x.S | 321 +
arch/arm/mach-omap2/timer-gp.c | 9 +-
arch/arm/mach-orion5x/Kconfig | 48 +
arch/arm/mach-orion5x/Makefile | 12 +-
arch/arm/mach-orion5x/addr-map.c | 45 +-
arch/arm/mach-orion5x/common.c | 307 +-
arch/arm/mach-orion5x/common.h | 38 +-
arch/arm/mach-orion5x/db88f5281-setup.c | 82 +-
arch/arm/mach-orion5x/dns323-setup.c | 125 +-
arch/arm/mach-orion5x/gpio.c | 47 +-
arch/arm/mach-orion5x/irq.c | 18 +-
arch/arm/mach-orion5x/kurobox_pro-setup.c | 224 +-
arch/arm/mach-orion5x/mpp.c | 163 +
arch/arm/mach-orion5x/mpp.h | 74 +
arch/arm/mach-orion5x/mss2-setup.c | 270 +
arch/arm/mach-orion5x/mv2120-setup.c | 239 +
arch/arm/mach-orion5x/pci.c | 86 +-
arch/arm/mach-orion5x/rd88f5181l-fxo-setup.c | 161 +
arch/arm/mach-orion5x/rd88f5181l-ge-setup.c | 172 +
arch/arm/mach-orion5x/rd88f5182-setup.c | 79 +-
arch/arm/mach-orion5x/ts209-setup.c | 299 +-
arch/arm/mach-orion5x/ts409-setup.c | 273 +
arch/arm/mach-orion5x/ts78xx-setup.c | 277 +
arch/arm/mach-orion5x/tsx09-common.c | 133 +
arch/arm/mach-orion5x/tsx09-common.h | 20 +
arch/arm/mach-orion5x/wnr854t-setup.c | 164 +
arch/arm/mach-orion5x/wrt350n-v2-setup.c | 173 +
arch/arm/mach-pxa/Kconfig | 240 +-
arch/arm/mach-pxa/Makefile | 20 +-
arch/arm/mach-pxa/clock.c | 35 +-
arch/arm/mach-pxa/clock.h | 45 +
arch/arm/mach-pxa/cm-x270-pci.c | 49 +-
arch/arm/mach-pxa/cm-x270-pci.h | 14 +-
arch/arm/mach-pxa/cm-x270.c | 408 +-
arch/arm/mach-pxa/corgi.c | 2 +
arch/arm/mach-pxa/corgi_pm.c | 7 +
arch/arm/mach-pxa/devices.c | 177 +-
arch/arm/mach-pxa/devices.h | 11 +-
arch/arm/mach-pxa/e400_lcd.c | 56 +
arch/arm/mach-pxa/e740_lcd.c | 123 +
arch/arm/mach-pxa/e750_lcd.c | 109 +
arch/arm/mach-pxa/e800_lcd.c | 159 +
arch/arm/mach-pxa/em-x270.c | 381 +-
arch/arm/mach-pxa/eseries.c | 15 +-
arch/arm/mach-pxa/eseries_udc.c | 57 +
arch/arm/mach-pxa/ezx.c | 220 +
arch/arm/mach-pxa/generic.c | 17 -
arch/arm/mach-pxa/irq.c | 1 -
arch/arm/mach-pxa/littleton.c | 70 +-
arch/arm/mach-pxa/lpd270.c | 55 +-
arch/arm/mach-pxa/lubbock.c | 27 +-
arch/arm/mach-pxa/magician.c | 118 +-
arch/arm/mach-pxa/mainstone.c | 89 +-
arch/arm/mach-pxa/mfp-pxa2xx.c | 72 +-
arch/arm/mach-pxa/palmtx.c | 416 +
arch/arm/mach-pxa/pcm027.c | 31 +
arch/arm/mach-pxa/pcm990-baseboard.c | 203 +-
arch/arm/mach-pxa/poodle.c | 2 +
arch/arm/mach-pxa/pwm.c | 319 +
arch/arm/mach-pxa/pxa25x.c | 74 +-
arch/arm/mach-pxa/pxa27x.c | 12 +-
arch/arm/mach-pxa/pxa2xx.c | 46 +
arch/arm/mach-pxa/pxa300.c | 19 +-
arch/arm/mach-pxa/pxa320.c | 21 +-
arch/arm/mach-pxa/pxa3xx.c | 33 +-
arch/arm/mach-pxa/pxa930.c | 190 +
arch/arm/mach-pxa/reset.c | 96 +
arch/arm/mach-pxa/saar.c | 84 +
arch/arm/mach-pxa/spitz.c | 10 +-
arch/arm/mach-pxa/spitz_pm.c | 7 +
arch/arm/mach-pxa/ssp.c | 13 +-
arch/arm/mach-pxa/standby.S | 83 +-
arch/arm/mach-pxa/tavorevb.c | 84 +
arch/arm/mach-pxa/tosa-bt.c | 150 +
arch/arm/mach-pxa/tosa.c | 382 +-
arch/arm/mach-pxa/trizeps4.c | 13 +-
arch/arm/mach-pxa/zylonite.c | 129 +-
arch/arm/mach-pxa/zylonite_pxa300.c | 50 +-
arch/arm/mach-pxa/zylonite_pxa320.c | 8 +-
arch/arm/mach-s3c2410/Kconfig | 21 +-
arch/arm/mach-s3c2410/Makefile | 8 +
arch/arm/mach-s3c2410/bast-ide.c | 112 +
arch/arm/mach-s3c2410/mach-bast.c | 59 +-
arch/arm/mach-s3c2410/mach-n30.c | 474 +-
arch/arm/mach-s3c2410/mach-vr1000.c | 72 +-
arch/arm/mach-s3c2410/nor-simtec.c | 86 +
arch/arm/mach-s3c2410/nor-simtec.h | 14 +
arch/arm/mach-s3c2412/Kconfig | 10 +
arch/arm/mach-s3c2412/Makefile | 1 +
arch/arm/mach-s3c2412/clock.c | 13 +-
arch/arm/mach-s3c2412/mach-jive.c | 687 +
arch/arm/mach-s3c2440/Kconfig | 6 +
arch/arm/mach-s3c2440/Makefile | 1 +
arch/arm/mach-s3c2440/mach-anubis.c | 41 +-
arch/arm/mach-s3c2440/mach-at2440evb.c | 198 +
arch/arm/mach-s3c2440/mach-osiris.c | 15 +-
arch/arm/mach-s3c2443/clock.c | 91 +-
arch/arm/mach-sa1100/clock.c | 2 +-
arch/arm/mm/Kconfig | 34 +-
arch/arm/mm/Makefile | 4 +
arch/arm/mm/cache-feroceon-l2.c | 318 +
arch/arm/mm/discontig.c | 34 +-
arch/arm/mm/fault-armv.c | 4 +
arch/arm/mm/flush.c | 2 +
arch/arm/mm/init.c | 2 +-
arch/arm/mm/proc-feroceon.S | 242 +-
arch/arm/oprofile/op_model_mpcore.c | 2 +-
arch/arm/plat-iop/gpio.c | 43 +
arch/arm/plat-mxc/Kconfig | 8 +-
arch/arm/plat-mxc/Makefile | 4 +-
arch/arm/plat-mxc/clock.c | 331 +
arch/arm/plat-mxc/gpio.c | 253 +
arch/arm/plat-mxc/iomux-mx1-mx2.c | 156 +
arch/arm/plat-mxc/irq.c | 70 +-
arch/arm/plat-mxc/time.c | 228 +
arch/arm/plat-omap/Makefile | 2 +-
arch/arm/plat-omap/clock.c | 128 +-
arch/arm/plat-omap/common.c | 59 +-
arch/arm/plat-omap/devices.c | 48 +
arch/arm/plat-omap/dma.c | 764 +-
arch/arm/plat-omap/dmtimer.c | 212 +-
arch/arm/plat-omap/fb.c | 5 +-
arch/arm/plat-omap/gpio.c | 3 +
arch/arm/plat-omap/mailbox.c | 2 +-
arch/arm/plat-omap/mcbsp.c | 767 +-
arch/arm/plat-omap/sram-fn.S | 57 -
arch/arm/plat-omap/sram.c | 211 +-
arch/arm/plat-omap/usb.c | 131 +-
arch/arm/plat-orion/irq.c | 3 +-
arch/arm/plat-orion/pcie.c | 6 +
arch/arm/plat-orion/time.c | 6 +-
arch/arm/plat-s3c24xx/Kconfig | 8 +
arch/arm/plat-s3c24xx/Makefile | 3 +
arch/arm/plat-s3c24xx/devs.c | 100 -
arch/arm/plat-s3c24xx/gpiolib.c | 259 +
arch/arm/plat-s3c24xx/pwm-clock.c | 437 +
arch/arm/plat-s3c24xx/pwm.c | 402 +
arch/arm/tools/mach-types | 134 +-
arch/arm/vfp/vfpmodule.c | 2 +-
arch/avr32/Kconfig | 12 +-
arch/avr32/boards/atngw100/setup.c | 36 +
arch/avr32/boards/atstk1000/atstk1002.c | 11 +-
arch/avr32/boards/atstk1000/atstk1003.c | 7 +
arch/avr32/boards/atstk1000/atstk1004.c | 9 +-
arch/avr32/kernel/cpu.c | 38 +-
arch/avr32/kernel/entry-avr32b.S | 88 +-
arch/avr32/kernel/process.c | 2 +-
arch/avr32/kernel/signal.c | 3 +
arch/avr32/kernel/stacktrace.c | 2 +
arch/avr32/kernel/time.c | 14 +-
arch/avr32/kernel/vmlinux.lds.S | 14 +-
arch/avr32/lib/io-readsb.S | 2 +-
arch/avr32/mach-at32ap/Makefile | 7 +-
arch/avr32/mach-at32ap/at32ap.c | 56 -
arch/avr32/mach-at32ap/at32ap700x.c | 309 +-
arch/avr32/mach-at32ap/intc.c | 80 +-
arch/avr32/mach-at32ap/pdc.c | 48 +
arch/avr32/mach-at32ap/pio.c | 4 +
arch/avr32/mach-at32ap/pio.h | 2 +-
arch/avr32/mach-at32ap/pm-at32ap700x.S | 108 +
arch/avr32/mach-at32ap/pm.c | 245 +
arch/avr32/mach-at32ap/sdramc.h | 76 +
arch/avr32/mm/init.c | 27 +-
arch/avr32/mm/ioremap.c | 1 +
arch/avr32/mm/tlb.c | 175 +-
arch/blackfin/Kconfig | 4 +-
arch/blackfin/kernel/process.c | 2 +-
arch/blackfin/mach-bf527/boards/ezkit.c | 7 +-
arch/blackfin/mach-bf533/boards/H8606.c | 7 +-
arch/blackfin/mach-bf537/boards/generic_board.c | 7 +-
arch/blackfin/mach-bf561/coreb.c | 1 +
arch/cris/arch-v10/boot/Makefile | 1 -
arch/cris/arch-v10/boot/compressed/Makefile | 14 +-
arch/cris/arch-v10/boot/compressed/decompress.ld | 3 +-
arch/cris/arch-v10/boot/compressed/head.S | 98 +-
arch/cris/arch-v10/boot/compressed/misc.c | 170 +-
arch/cris/arch-v10/boot/rescue/Makefile | 9 +-
arch/cris/arch-v10/drivers/eeprom.c | 4 +-
arch/cris/arch-v10/drivers/gpio.c | 3 +
arch/cris/arch-v10/drivers/i2c.c | 2 +
arch/cris/arch-v10/drivers/pcf8563.c | 2 +-
arch/cris/arch-v10/drivers/sync_serial.c | 34 +-
arch/cris/arch-v10/kernel/debugport.c | 20 +-
arch/cris/arch-v10/mm/init.c | 2 +-
arch/cris/arch-v32/boot/Makefile | 1 -
arch/cris/arch-v32/boot/compressed/Makefile | 6 +-
arch/cris/arch-v32/boot/compressed/misc.c | 39 +-
arch/cris/arch-v32/boot/rescue/Makefile | 3 +-
arch/cris/arch-v32/drivers/cryptocop.c | 3 +-
arch/cris/arch-v32/drivers/i2c.c | 2 +
arch/cris/arch-v32/drivers/mach-a3/gpio.c | 4 +
arch/cris/arch-v32/drivers/mach-fs/gpio.c | 5 +-
arch/cris/arch-v32/drivers/pcf8563.c | 2 +-
arch/cris/arch-v32/drivers/sync_serial.c | 33 +-
arch/cris/arch-v32/kernel/smp.c | 5 +-
arch/cris/arch-v32/mm/init.c | 2 +-
arch/cris/kernel/profile.c | 17 +-
arch/frv/kernel/pm.c | 1 -
arch/frv/mb93090-mb00/pci-frv.c | 30 -
arch/h8300/Kconfig | 14 -
arch/h8300/boot/compressed/misc.c | 38 -
arch/h8300/kernel/setup.c | 1 +
arch/ia64/Kconfig | 5 +-
arch/ia64/Makefile | 6 +
arch/ia64/hp/sim/simserial.c | 46 +-
arch/ia64/ia32/sys_ia32.c | 2 +-
arch/ia64/kernel/Makefile | 44 +
arch/ia64/kernel/acpi.c | 5 +-
arch/ia64/kernel/cpufreq/acpi-cpufreq.c | 4 +-
arch/ia64/kernel/entry.S | 115 +-
arch/ia64/kernel/err_inject.c | 22 +-
arch/ia64/kernel/head.S | 41 +
arch/ia64/kernel/iosapic.c | 45 +-
arch/ia64/kernel/irq_ia64.c | 19 +-
arch/ia64/kernel/ivt.S | 462 +-
arch/ia64/kernel/kprobes.c | 6 +-
arch/ia64/kernel/mca.c | 6 +-
arch/ia64/kernel/minstate.h | 13 +-
arch/ia64/kernel/module.c | 3 +-
arch/ia64/kernel/nr-irqs.c | 24 +
arch/ia64/kernel/palinfo.c | 2 +-
arch/ia64/kernel/paravirt.c | 369 +
arch/ia64/kernel/paravirt_inst.h | 29 +
arch/ia64/kernel/paravirtentry.S | 60 +
arch/ia64/kernel/perfmon.c | 6 +-
arch/ia64/kernel/process.c | 6 +-
arch/ia64/kernel/setup.c | 10 +
arch/ia64/kernel/smp.c | 254 +-
arch/ia64/kernel/smpboot.c | 8 +-
arch/ia64/kernel/sys_ia64.c | 2 +-
arch/ia64/kernel/time.c | 23 +
arch/ia64/kernel/uncached.c | 5 +-
arch/ia64/kernel/vmlinux.lds.S | 1 -
arch/ia64/kvm/Makefile | 3 +-
arch/ia64/kvm/kvm-ia64.c | 24 +-
arch/ia64/kvm/kvm_fw.c | 2 +-
arch/ia64/mm/discontig.c | 30 +-
arch/ia64/mm/hugetlbpage.c | 15 +-
arch/ia64/sn/kernel/irq.c | 1 +
arch/ia64/sn/kernel/sn2/sn_hwperf.c | 2 +-
arch/m32r/Kconfig | 1 +
arch/m32r/boot/compressed/misc.c | 37 -
arch/m32r/kernel/m32r_ksyms.c | 3 -
arch/m32r/kernel/smp.c | 132 +-
arch/m32r/kernel/traps.c | 3 +-
arch/m32r/mm/discontig.c | 10 +-
arch/m32r/mm/init.c | 6 +-
arch/m68k/Kconfig | 36 +-
arch/m68k/Makefile | 2 +-
arch/m68k/amiga/chipram.c | 1 +
arch/m68k/amiga/config.c | 22 +-
arch/m68k/atari/debug.c | 37 +-
arch/m68k/bvme6000/rtc.c | 7 +-
arch/m68k/fpsp040/Makefile | 1 -
arch/m68k/ifpsp060/Makefile | 1 -
arch/m68k/kernel/Makefile | 2 -
arch/m68k/kernel/setup.c | 9 +
arch/m68k/kernel/vmlinux-std.lds | 3 +-
arch/m68k/kernel/vmlinux-sun3.lds | 7 +-
arch/m68k/lib/Makefile | 2 -
arch/m68k/mac/Makefile | 2 +-
arch/m68k/mac/baboon.c | 26 +-
arch/m68k/mac/bootparse.c | 122 -
arch/m68k/mac/config.c | 11 +-
arch/m68k/mac/debug.c | 41 +-
arch/m68k/mac/oss.c | 8 +-
arch/m68k/mac/psc.c | 4 +-
arch/m68k/mac/via.c | 2 +-
arch/m68k/math-emu/Makefile | 2 -
arch/m68k/mm/init.c | 4 +-
arch/m68k/mm/motorola.c | 3 +-
arch/m68k/mm/sun3mmu.c | 3 +-
arch/m68k/mvme16x/rtc.c | 4 +
arch/m68k/q40/config.c | 26 +-
arch/m68k/sun3/Makefile | 2 +-
arch/m68k/sun3/config.c | 7 +-
arch/m68k/sun3/dvma.c | 2 +-
arch/m68k/sun3/idprom.c | 4 +-
arch/m68k/sun3/mmu_emu.c | 2 +-
arch/m68k/sun3/prom/Makefile | 1 -
arch/m68k/sun3/prom/console.c | 6 +-
arch/m68k/sun3/prom/init.c | 11 +-
arch/m68k/sun3/prom/misc.c | 2 +-
arch/m68k/sun3/prom/printf.c | 7 +-
arch/m68k/sun3/sbus.c | 27 -
arch/m68k/sun3/sun3dvma.c | 2 +-
arch/m68k/sun3/sun3ints.c | 2 +-
arch/m68knommu/Kconfig | 15 +
arch/m68knommu/Makefile | 11 +-
arch/m68knommu/configs/m5208evb_defconfig | 610 +
arch/m68knommu/configs/m5249evb_defconfig | 497 +
arch/m68knommu/configs/m5275evb_defconfig | 627 +
arch/m68knommu/configs/m5307c3_defconfig | 580 +
arch/m68knommu/configs/m5407c3_defconfig | 641 +
arch/m68knommu/kernel/comempci.c | 9 -
arch/m68knommu/kernel/setup.c | 1 +
arch/m68knommu/kernel/time.c | 40 +-
arch/m68knommu/kernel/traps.c | 38 +-
arch/m68knommu/kernel/vmlinux.lds.S | 1 +
arch/m68knommu/platform/coldfire/Makefile | 2 +-
arch/m68knommu/platform/coldfire/dma_timer.c | 84 +
arch/m68knommu/platform/coldfire/head.S | 3 +-
arch/m68knommu/platform/coldfire/pit.c | 91 +-
arch/mips/Kconfig | 135 +-
arch/mips/Makefile | 66 +-
arch/mips/au1000/common/platform.c | 29 +-
arch/mips/au1000/common/power.c | 1 -
arch/mips/au1000/mtx-1/platform.c | 51 +-
arch/mips/au1000/pb1200/platform.c | 5 +-
arch/mips/basler/excite/excite_iodev.c | 9 +-
arch/mips/cobalt/Makefile | 2 +-
arch/mips/cobalt/lcd.c | 55 +
arch/mips/cobalt/setup.c | 4 +-
arch/mips/configs/atlas_defconfig | 1472 --
arch/mips/configs/bcm47xx_defconfig | 2 -
arch/mips/configs/bigsur_defconfig | 164 +-
arch/mips/configs/capcella_defconfig | 2 -
arch/mips/configs/cobalt_defconfig | 2 -
arch/mips/configs/db1000_defconfig | 2 -
arch/mips/configs/db1100_defconfig | 2 -
arch/mips/configs/db1200_defconfig | 2 -
arch/mips/configs/db1500_defconfig | 2 -
arch/mips/configs/db1550_defconfig | 2 -
arch/mips/configs/decstation_defconfig | 2 -
arch/mips/configs/e55_defconfig | 2 -
arch/mips/configs/emma2rh_defconfig | 2 -
arch/mips/configs/excite_defconfig | 2 -
arch/mips/configs/fulong_defconfig | 2 -
arch/mips/configs/ip22_defconfig | 2 -
arch/mips/configs/ip27_defconfig | 2 -
arch/mips/configs/ip28_defconfig | 2 -
arch/mips/configs/ip32_defconfig | 2 -
arch/mips/configs/jazz_defconfig | 2 -
arch/mips/configs/jmr3927_defconfig | 190 +-
arch/mips/configs/lasat_defconfig | 2 -
arch/mips/configs/malta_defconfig | 3 -
arch/mips/configs/mipssim_defconfig | 2 -
arch/mips/configs/mpc30x_defconfig | 2 -
arch/mips/configs/msp71xx_defconfig | 2 -
arch/mips/configs/mtx1_defconfig | 2 -
arch/mips/configs/pb1100_defconfig | 2 -
arch/mips/configs/pb1500_defconfig | 2 -
arch/mips/configs/pb1550_defconfig | 2 -
arch/mips/configs/pnx8550-jbs_defconfig | 2 -
arch/mips/configs/pnx8550-stb810_defconfig | 2 -
arch/mips/configs/rb532_defconfig | 1314 ++
arch/mips/configs/rbhma4200_defconfig | 669 -
arch/mips/configs/rbhma4500_defconfig | 701 -
arch/mips/configs/rbtx49xx_defconfig | 767 +
arch/mips/configs/rm200_defconfig | 2 -
arch/mips/configs/sb1250-swarm_defconfig | 2 -
arch/mips/configs/sead_defconfig | 642 -
arch/mips/configs/tb0219_defconfig | 2 -
arch/mips/configs/tb0226_defconfig | 2 -
arch/mips/configs/tb0287_defconfig | 2 -
arch/mips/configs/workpad_defconfig | 2 -
arch/mips/configs/wrppmc_defconfig | 2 -
arch/mips/configs/yosemite_defconfig | 2 -
arch/mips/emma2rh/common/prom.c | 15 +-
arch/mips/fw/arc/identify.c | 11 -
arch/mips/gt64120/wrppmc/reset.c | 14 +-
arch/mips/gt64120/wrppmc/setup.c | 3 +-
arch/mips/jazz/setup.c | 4 +-
arch/mips/jmr3927/common/Makefile | 7 -
arch/mips/jmr3927/common/prom.c | 72 -
arch/mips/jmr3927/common/puts.c | 60 -
arch/mips/jmr3927/rbhma3100/Makefile | 8 -
arch/mips/jmr3927/rbhma3100/init.c | 57 -
arch/mips/jmr3927/rbhma3100/irq.c | 174 -
arch/mips/jmr3927/rbhma3100/kgdb_io.c | 105 -
arch/mips/jmr3927/rbhma3100/setup.c | 445 -
arch/mips/kernel/Makefile | 6 +-
arch/mips/kernel/early_printk.c | 2 +
arch/mips/kernel/gpio_txx9.c | 10 +-
arch/mips/kernel/i8253.c | 2 +-
arch/mips/kernel/irix5sys.S | 1041 --
arch/mips/kernel/irixelf.c | 1361 --
arch/mips/kernel/irixinv.c | 78 -
arch/mips/kernel/irixioctl.c | 213 -
arch/mips/kernel/irixsig.c | 888 -
arch/mips/kernel/irq-rm9000.c | 4 +-
arch/mips/kernel/irq.c | 4 -
arch/mips/kernel/linux32.c | 18 -
arch/mips/kernel/mips-mt.c | 11 +-
arch/mips/kernel/module.c | 1 +
arch/mips/kernel/process.c | 9 +-
arch/mips/kernel/rtlx.c | 11 +-
arch/mips/kernel/scall32-o32.S | 21 +-
arch/mips/kernel/scall64-64.S | 2 +-
arch/mips/kernel/scall64-n32.S | 2 +-
arch/mips/kernel/scall64-o32.S | 2 +-
arch/mips/kernel/setup.c | 13 +-
arch/mips/kernel/smp.c | 149 +-
arch/mips/kernel/smtc.c | 1 -
arch/mips/kernel/stacktrace.c | 2 +
arch/mips/kernel/syscall.c | 11 +-
arch/mips/kernel/sysirix.c | 2140 ---
arch/mips/kernel/traps.c | 14 +-
arch/mips/kernel/vpe.c | 12 +-
arch/mips/lasat/interrupt.c | 21 +-
arch/mips/lasat/lasat_board.c | 3 +-
arch/mips/lasat/prom.c | 8 +-
arch/mips/lasat/serial.c | 3 +-
arch/mips/lasat/setup.c | 8 +-
arch/mips/math-emu/kernel_linkage.c | 1 +
arch/mips/mips-boards/atlas/Makefile | 22 -
arch/mips/mips-boards/atlas/atlas_gdb.c | 97 -
arch/mips/mips-boards/atlas/atlas_int.c | 272 -
arch/mips/mips-boards/atlas/atlas_setup.c | 82 -
arch/mips/mips-boards/generic/Makefile | 29 -
arch/mips/mips-boards/generic/amon.c | 80 -
arch/mips/mips-boards/generic/cmdline.c | 59 -
arch/mips/mips-boards/generic/console.c | 68 -
arch/mips/mips-boards/generic/display.c | 63 -
arch/mips/mips-boards/generic/gdb_hook.c | 133 -
arch/mips/mips-boards/generic/init.c | 436 -
arch/mips/mips-boards/generic/memory.c | 183 -
arch/mips/mips-boards/generic/pci.c | 243 -
arch/mips/mips-boards/generic/reset.c | 75 -
arch/mips/mips-boards/generic/time.c | 186 -
arch/mips/mips-boards/malta/Makefile | 27 -
arch/mips/mips-boards/malta/malta_int.c | 709 -
arch/mips/mips-boards/malta/malta_mtd.c | 63 -
arch/mips/mips-boards/malta/malta_platform.c | 65 -
arch/mips/mips-boards/malta/malta_setup.c | 229 -
arch/mips/mips-boards/malta/malta_smtc.c | 154 -
arch/mips/mips-boards/sead/Makefile | 28 -
arch/mips/mips-boards/sead/sead_int.c | 117 -
arch/mips/mips-boards/sead/sead_setup.c | 77 -
arch/mips/mm/c-r4k.c | 18 +-
arch/mips/mm/uasm.c | 4 +-
arch/mips/mm/uasm.h | 2 -
arch/mips/mti-malta/Makefile | 21 +
arch/mips/mti-malta/malta-amon.c | 80 +
arch/mips/mti-malta/malta-cmdline.c | 59 +
arch/mips/mti-malta/malta-console.c | 47 +
arch/mips/mti-malta/malta-display.c | 64 +
arch/mips/mti-malta/malta-init.c | 424 +
arch/mips/mti-malta/malta-int.c | 712 +
arch/mips/mti-malta/malta-kgdb.c | 133 +
arch/mips/mti-malta/malta-memory.c | 177 +
arch/mips/mti-malta/malta-mtd.c | 63 +
arch/mips/mti-malta/malta-pci.c | 243 +
arch/mips/mti-malta/malta-platform.c | 65 +
arch/mips/mti-malta/malta-reset.c | 56 +
arch/mips/mti-malta/malta-setup.c | 229 +
arch/mips/mti-malta/malta-smtc.c | 154 +
arch/mips/mti-malta/malta-time.c | 163 +
arch/mips/nxp/pnx8550/common/platform.c | 9 +-
arch/mips/oprofile/common.c | 6 +-
arch/mips/oprofile/op_model_mipsxx.c | 4 +-
arch/mips/pci/Makefile | 14 +-
arch/mips/pci/fixup-atlas.c | 91 -
arch/mips/pci/fixup-jmr3927.c | 35 +-
arch/mips/pci/fixup-rbtx4927.c | 119 +-
arch/mips/pci/fixup-rbtx4938.c | 53 +
arch/mips/pci/fixup-rc32434.c | 69 +
arch/mips/pci/fixup-tx4938.c | 92 -
arch/mips/pci/fixup-vr4133.c | 195 -
arch/mips/pci/ops-mace.c | 7 +
arch/mips/pci/ops-rc32434.c | 207 +
arch/mips/pci/ops-tx3927.c | 87 +-
arch/mips/pci/ops-tx4927.c | 517 +-
arch/mips/pci/ops-tx4938.c | 214 -
arch/mips/pci/pci-bcm1480.c | 3 -
arch/mips/pci/pci-ip27.c | 1 -
arch/mips/pci/pci-jmr3927.c | 58 -
arch/mips/pci/pci-lasat.c | 14 +-
arch/mips/pci/pci-rc32434.c | 221 +
arch/mips/pci/pci-sb1250.c | 4 -
arch/mips/pci/pci-tx4927.c | 83 +
arch/mips/pci/pci-tx4938.c | 134 +
arch/mips/pci/pci.c | 5 +-
arch/mips/pmc-sierra/yosemite/ht.c | 36 -
arch/mips/pmc-sierra/yosemite/prom.c | 2 +-
arch/mips/rb532/Makefile | 7 +
arch/mips/rb532/devices.c | 331 +
arch/mips/rb532/gpio.c | 220 +
arch/mips/rb532/irq.c | 209 +
arch/mips/rb532/prom.c | 158 +
arch/mips/rb532/serial.c | 53 +
arch/mips/rb532/setup.c | 79 +
arch/mips/rb532/time.c | 67 +
arch/mips/sgi-ip22/ip22-mc.c | 26 +
arch/mips/sgi-ip22/ip22-platform.c | 17 +
arch/mips/sgi-ip22/ip22-reset.c | 51 +-
arch/mips/sgi-ip27/ip27-klnuma.c | 1 +
arch/mips/sgi-ip27/ip27-memory.c | 4 +-
arch/mips/sgi-ip27/ip27-nmi.c | 10 +-
arch/mips/sgi-ip32/ip32-platform.c | 25 +
arch/mips/sibyte/cfe/setup.c | 2 +-
arch/mips/sibyte/common/sb_tbprof.c | 28 +-
arch/mips/sibyte/sb1250/prom.c | 2 +-
arch/mips/sibyte/swarm/Makefile | 1 +
arch/mips/sibyte/swarm/swarm-i2c.c | 37 +
arch/mips/sni/setup.c | 1 -
arch/mips/tx4927/Kconfig | 3 -
arch/mips/tx4927/common/Makefile | 10 -
arch/mips/tx4927/common/smsc_fdc37m81x.c | 172 -
arch/mips/tx4927/common/tx4927_dbgio.c | 46 -
arch/mips/tx4927/common/tx4927_irq.c | 65 -
arch/mips/tx4927/common/tx4927_prom.c | 146 -
arch/mips/tx4927/toshiba_rbtx4927/Makefile | 5 -
.../tx4927/toshiba_rbtx4927/toshiba_rbtx4927_irq.c | 428 -
.../toshiba_rbtx4927/toshiba_rbtx4927_prom.c | 94 -
.../toshiba_rbtx4927/toshiba_rbtx4927_setup.c | 1001 -
arch/mips/tx4938/Kconfig | 24 -
arch/mips/tx4938/common/Makefile | 8 -
arch/mips/tx4938/common/dbgio.c | 48 -
arch/mips/tx4938/common/irq.c | 48 -
arch/mips/tx4938/common/prom.c | 124 -
arch/mips/tx4938/toshiba_rbtx4938/Makefile | 7 -
arch/mips/tx4938/toshiba_rbtx4938/irq.c | 161 -
arch/mips/tx4938/toshiba_rbtx4938/prom.c | 74 -
arch/mips/tx4938/toshiba_rbtx4938/setup.c | 1124 --
arch/mips/tx4938/toshiba_rbtx4938/spi_eeprom.c | 99 -
arch/mips/txx9/Kconfig | 117 +
arch/mips/txx9/generic/Makefile | 12 +
arch/mips/txx9/generic/dbgio.c | 48 +
arch/mips/txx9/generic/irq_tx4927.c | 37 +
arch/mips/txx9/generic/irq_tx4938.c | 25 +
arch/mips/txx9/generic/mem_tx4927.c | 77 +
arch/mips/txx9/generic/pci.c | 388 +
arch/mips/txx9/generic/setup.c | 246 +
arch/mips/txx9/generic/setup_tx4927.c | 194 +
arch/mips/txx9/generic/setup_tx4938.c | 259 +
arch/mips/txx9/generic/smsc_fdc37m81x.c | 172 +
arch/mips/txx9/jmr3927/Makefile | 8 +
arch/mips/txx9/jmr3927/irq.c | 171 +
arch/mips/txx9/jmr3927/kgdb_io.c | 105 +
arch/mips/txx9/jmr3927/prom.c | 76 +
arch/mips/txx9/jmr3927/setup.c | 367 +
arch/mips/txx9/rbtx4927/Makefile | 3 +
arch/mips/txx9/rbtx4927/irq.c | 197 +
arch/mips/txx9/rbtx4927/prom.c | 41 +
arch/mips/txx9/rbtx4927/setup.c | 406 +
arch/mips/txx9/rbtx4938/Makefile | 3 +
arch/mips/txx9/rbtx4938/irq.c | 169 +
arch/mips/txx9/rbtx4938/prom.c | 25 +
arch/mips/txx9/rbtx4938/setup.c | 412 +
arch/mips/txx9/rbtx4938/spi_eeprom.c | 99 +
arch/mips/vr41xx/Kconfig | 17 -
arch/mips/vr41xx/nec-cmbvr4133/Makefile | 8 -
arch/mips/vr41xx/nec-cmbvr4133/init.c | 65 -
arch/mips/vr41xx/nec-cmbvr4133/irq.c | 46 -
arch/mips/vr41xx/nec-cmbvr4133/m1535plus.c | 249 -
arch/mips/vr41xx/nec-cmbvr4133/setup.c | 89 -
arch/mn10300/boot/compressed/misc.c | 37 -
arch/mn10300/kernel/mn10300-serial.c | 2 +-
arch/mn10300/mm/init.c | 6 +-
arch/parisc/Kconfig | 1 +
arch/parisc/hpux/sys_hpux.c | 2 +-
arch/parisc/kernel/cache.c | 6 +-
arch/parisc/kernel/perf.c | 4 +
arch/parisc/kernel/smp.c | 136 +-
arch/parisc/kernel/vmlinux.lds.S | 1 -
arch/parisc/mm/init.c | 7 +-
arch/powerpc/Kconfig | 51 +-
arch/powerpc/Kconfig.debug | 54 +-
arch/powerpc/Makefile | 23 +-
arch/powerpc/boot/Makefile | 17 +-
arch/powerpc/boot/addnote.c | 2 +-
arch/powerpc/boot/cuboot-c2k.c | 190 +
arch/powerpc/boot/cuboot-sam440ep.c | 49 +
arch/powerpc/boot/cuboot-warp.c | 47 +-
arch/powerpc/boot/dts/asp834x-redboot.dts | 282 +
arch/powerpc/boot/dts/bamboo.dts | 142 +-
arch/powerpc/boot/dts/c2k.dts | 371 +
arch/powerpc/boot/dts/canyonlands.dts | 226 +-
arch/powerpc/boot/dts/ebony.dts | 164 +-
arch/powerpc/boot/dts/ep405.dts | 100 +-
arch/powerpc/boot/dts/glacier.dts | 262 +-
arch/powerpc/boot/dts/haleakala.dts | 138 +-
arch/powerpc/boot/dts/holly.dts | 122 +-
arch/powerpc/boot/dts/katmai.dts | 210 +-
arch/powerpc/boot/dts/kilauea.dts | 186 +-
arch/powerpc/boot/dts/ksi8560.dts | 64 +-
arch/powerpc/boot/dts/makalu.dts | 186 +-
arch/powerpc/boot/dts/mpc5121ads.dts | 310 +-
arch/powerpc/boot/dts/mpc7448hpc2.dts | 26 +-
arch/powerpc/boot/dts/mpc8272ads.dts | 32 +-
arch/powerpc/boot/dts/mpc8313erdb.dts | 279 +-
arch/powerpc/boot/dts/mpc8315erdb.dts | 50 +-
arch/powerpc/boot/dts/mpc832x_mds.dts | 50 +-
arch/powerpc/boot/dts/mpc832x_rdb.dts | 86 +-
arch/powerpc/boot/dts/mpc8349emitx.dts | 47 +-
arch/powerpc/boot/dts/mpc8349emitxgp.dts | 47 +-
arch/powerpc/boot/dts/mpc834x_mds.dts | 50 +-
arch/powerpc/boot/dts/mpc836x_mds.dts | 48 +-
arch/powerpc/boot/dts/mpc836x_rdk.dts | 432 +
arch/powerpc/boot/dts/mpc8377_mds.dts | 69 +-
arch/powerpc/boot/dts/mpc8377_rdb.dts | 49 +-
arch/powerpc/boot/dts/mpc8378_mds.dts | 48 +-
arch/powerpc/boot/dts/mpc8378_rdb.dts | 49 +-
arch/powerpc/boot/dts/mpc8379_mds.dts | 48 +-
arch/powerpc/boot/dts/mpc8379_rdb.dts | 49 +-
arch/powerpc/boot/dts/mpc8536ds.dts | 432 +
arch/powerpc/boot/dts/mpc8540ads.dts | 46 +-
arch/powerpc/boot/dts/mpc8541cds.dts | 57 +-
arch/powerpc/boot/dts/mpc8544ds.dts | 32 +-
arch/powerpc/boot/dts/mpc8548cds.dts | 57 +-
arch/powerpc/boot/dts/mpc8555cds.dts | 57 +-
arch/powerpc/boot/dts/mpc8560ads.dts | 44 +-
arch/powerpc/boot/dts/mpc8568mds.dts | 60 +-
arch/powerpc/boot/dts/mpc8572ds.dts | 116 +-
arch/powerpc/boot/dts/mpc8610_hpcd.dts | 34 +-
arch/powerpc/boot/dts/mpc8641_hpcn.dts | 43 +-
arch/powerpc/boot/dts/mpc866ads.dts | 11 +
arch/powerpc/boot/dts/mpc885ads.dts | 11 +
arch/powerpc/boot/dts/ps3.dts | 16 +-
arch/powerpc/boot/dts/rainier.dts | 163 +-
arch/powerpc/boot/dts/sam440ep.dts | 293 +
arch/powerpc/boot/dts/sbc8349.dts | 49 +-
arch/powerpc/boot/dts/sbc8548.dts | 57 +-
arch/powerpc/boot/dts/sbc8560.dts | 46 +-
arch/powerpc/boot/dts/sbc8641d.dts | 41 +
arch/powerpc/boot/dts/sequoia.dts | 172 +-
arch/powerpc/boot/dts/storcenter.dts | 1 +
arch/powerpc/boot/dts/stx_gp3_8560.dts | 45 +-
arch/powerpc/boot/dts/taishan.dts | 241 +-
arch/powerpc/boot/dts/tqm5200.dts | 14 +
arch/powerpc/boot/dts/tqm8540.dts | 49 +-
arch/powerpc/boot/dts/tqm8541.dts | 60 +-
arch/powerpc/boot/dts/tqm8548-bigflash.dts | 406 +
arch/powerpc/boot/dts/tqm8548.dts | 411 +
arch/powerpc/boot/dts/tqm8555.dts | 60 +-
arch/powerpc/boot/dts/tqm8560.dts | 114 +-
arch/powerpc/boot/dts/virtex440-ml507.dts | 296 +
arch/powerpc/boot/dts/walnut.dts | 118 +-
arch/powerpc/boot/dts/warp.dts | 145 +-
arch/powerpc/boot/dts/yosemite.dts | 146 +-
arch/powerpc/boot/oflib.c | 15 +-
arch/powerpc/boot/redboot-83xx.c | 60 +
arch/powerpc/boot/simpleboot.c | 6 +
arch/powerpc/boot/virtex.c | 100 +
arch/powerpc/boot/wrapper | 32 +-
arch/powerpc/boot/zImage.coff.lds.S | 1 -
arch/powerpc/boot/zImage.lds.S | 1 -
arch/powerpc/configs/44x/sam440ep_defconfig | 1192 ++
arch/powerpc/configs/44x/taishan_defconfig | 79 +-
arch/powerpc/configs/44x/virtex5_defconfig | 1107 ++
arch/powerpc/configs/83xx/mpc836x_rdk_defconfig | 1128 ++
arch/powerpc/configs/85xx/mpc8544_ds_defconfig | 8 +-
arch/powerpc/configs/85xx/mpc8572_ds_defconfig | 8 +-
arch/powerpc/configs/85xx/tqm8548_defconfig | 1225 ++
arch/powerpc/configs/asp8347_defconfig | 1214 ++
arch/powerpc/configs/c2k_defconfig | 1872 ++
arch/powerpc/configs/mpc8536_ds_defconfig | 1637 ++
arch/powerpc/configs/mpc85xx_defconfig | 8 +-
arch/powerpc/configs/mpc8610_hpcd_defconfig | 121 +-
arch/powerpc/configs/mpc8641_hpcn_defconfig | 8 +-
arch/powerpc/configs/ppc44x_defconfig | 149 +-
arch/powerpc/configs/ppc6xx_defconfig | 3304 ++++
arch/powerpc/configs/ps3_defconfig | 196 +-
arch/powerpc/configs/pseries_defconfig | 1 +
arch/powerpc/kernel/Makefile | 18 +-
arch/powerpc/kernel/align.c | 70 +-
arch/powerpc/kernel/asm-offsets.c | 27 +
arch/powerpc/kernel/cpu_setup_44x.S | 1 +
arch/powerpc/kernel/cputable.c | 136 +-
arch/powerpc/kernel/crash.c | 2 +-
arch/powerpc/kernel/crash_dump.c | 7 +-
arch/powerpc/kernel/dma_64.c | 45 +-
arch/powerpc/kernel/entry_32.S | 291 +-
arch/powerpc/kernel/entry_64.S | 82 +-
arch/powerpc/kernel/fpu.S | 41 +-
arch/powerpc/kernel/ftrace.c | 154 +
arch/powerpc/kernel/head_32.S | 6 +-
arch/powerpc/kernel/head_40x.S | 24 +-
arch/powerpc/kernel/head_44x.S | 295 +-
arch/powerpc/kernel/head_64.S | 82 +-
arch/powerpc/kernel/head_booke.h | 126 +-
arch/powerpc/kernel/head_fsl_booke.S | 253 +-
arch/powerpc/kernel/ibmebus.c | 16 +-
arch/powerpc/kernel/idle.c | 2 +-
arch/powerpc/kernel/idle_6xx.S | 2 +-
arch/powerpc/kernel/idle_e500.S | 93 +
arch/powerpc/kernel/io.c | 3 +-
arch/powerpc/kernel/iommu.c | 51 +-
arch/powerpc/kernel/irq.c | 41 +-
arch/powerpc/kernel/kgdb.c | 410 +
arch/powerpc/kernel/kprobes.c | 42 +-
arch/powerpc/kernel/lparcfg.c | 392 +-
arch/powerpc/kernel/machine_kexec_64.c | 6 +-
arch/powerpc/kernel/misc.S | 5 +
arch/powerpc/kernel/misc_32.S | 2 +-
arch/powerpc/kernel/misc_64.S | 33 +
arch/powerpc/kernel/module.c | 116 +
arch/powerpc/kernel/module_32.c | 72 -
arch/powerpc/kernel/module_64.c | 81 +-
arch/powerpc/kernel/msi.c | 2 +-
arch/powerpc/kernel/of_device.c | 48 -
arch/powerpc/kernel/pci-common.c | 1 +
arch/powerpc/kernel/ppc32.h | 1 +
arch/powerpc/kernel/ppc_ksyms.c | 8 +
arch/powerpc/kernel/process.c | 159 +-
arch/powerpc/kernel/prom.c | 4 +
arch/powerpc/kernel/prom_init.c | 14 +-
arch/powerpc/kernel/prom_parse.c | 44 +-
arch/powerpc/kernel/ptrace.c | 186 +-
arch/powerpc/kernel/ptrace32.c | 14 +-
arch/powerpc/kernel/rtas-proc.c | 14 +-
arch/powerpc/kernel/rtas.c | 8 +-
arch/powerpc/kernel/rtas_flash.c | 4 +-
arch/powerpc/kernel/rtas_pci.c | 4 +-
arch/powerpc/kernel/setup-common.c | 2 +
arch/powerpc/kernel/setup_32.c | 55 +-
arch/powerpc/kernel/setup_64.c | 2 +
arch/powerpc/kernel/signal.c | 18 +-
arch/powerpc/kernel/signal.h | 10 +
arch/powerpc/kernel/signal_32.c | 184 +-
arch/powerpc/kernel/signal_64.c | 101 +-
arch/powerpc/kernel/smp.c | 238 +-
arch/powerpc/kernel/softemu8xx.c | 4 +-
arch/powerpc/kernel/stacktrace.c | 38 +-
arch/powerpc/kernel/suspend.c | 1 +
arch/powerpc/kernel/syscalls.c | 3 +
arch/powerpc/kernel/sysfs.c | 18 +-
arch/powerpc/kernel/tau_6xx.c | 4 +-
arch/powerpc/kernel/time.c | 16 +-
arch/powerpc/kernel/traps.c | 69 +-
arch/powerpc/kernel/vdso.c | 10 +
arch/powerpc/kernel/vdso32/vdso32.lds.S | 5 +-
arch/powerpc/kernel/vdso64/vdso64.lds.S | 11 +-
arch/powerpc/kernel/vio.c | 1033 ++-
arch/powerpc/kernel/vmlinux.lds.S | 39 +-
arch/powerpc/kvm/Makefile | 2 +-
arch/powerpc/kvm/powerpc.c | 11 +-
arch/powerpc/lib/Makefile | 4 +
arch/powerpc/lib/code-patching.c | 449 +
arch/powerpc/lib/dma-noncoherent.c | 11 +-
arch/powerpc/lib/feature-fixups-test.S | 742 +
arch/powerpc/lib/feature-fixups.c | 351 +
arch/powerpc/lib/string.S | 18 +-
arch/powerpc/math-emu/math.c | 56 +-
arch/powerpc/mm/44x_mmu.c | 29 +-
arch/powerpc/mm/fault.c | 28 +-
arch/powerpc/mm/hash_low_64.S | 17 +-
arch/powerpc/mm/hash_utils_64.c | 93 +-
arch/powerpc/mm/hugetlbpage.c | 354 +-
arch/powerpc/mm/init_32.c | 7 +-
arch/powerpc/mm/init_64.c | 12 +-
arch/powerpc/mm/mem.c | 9 +-
arch/powerpc/mm/mmu_decl.h | 6 +-
arch/powerpc/mm/numa.c | 313 +-
arch/powerpc/mm/pgtable_32.c | 28 +-
arch/powerpc/mm/pgtable_64.c | 16 +
arch/powerpc/mm/ppc_mmu_32.c | 27 +-
arch/powerpc/mm/slice.c | 177 +-
arch/powerpc/mm/stab.c | 4 +-
arch/powerpc/mm/tlb_64.c | 11 +-
arch/powerpc/oprofile/common.c | 6 +-
arch/powerpc/platforms/44x/Kconfig | 35 +
arch/powerpc/platforms/44x/Makefile | 2 +
arch/powerpc/platforms/44x/sam440ep.c | 79 +
arch/powerpc/platforms/44x/virtex.c | 60 +
arch/powerpc/platforms/44x/warp-nand.c | 57 +-
arch/powerpc/platforms/44x/warp.c | 293 +-
arch/powerpc/platforms/512x/Kconfig | 17 +-
arch/powerpc/platforms/512x/Makefile | 4 +-
arch/powerpc/platforms/512x/clock.c | 729 +
arch/powerpc/platforms/512x/mpc5121_ads.c | 69 +-
arch/powerpc/platforms/512x/mpc5121_ads.h | 16 +
arch/powerpc/platforms/512x/mpc5121_ads_cpld.c | 204 +
arch/powerpc/platforms/512x/mpc5121_generic.c | 58 +
arch/powerpc/platforms/512x/mpc512x.h | 17 +
arch/powerpc/platforms/512x/mpc512x_shared.c | 83 +
arch/powerpc/platforms/52xx/Kconfig | 5 +-
arch/powerpc/platforms/52xx/mpc52xx_pci.c | 3 +-
arch/powerpc/platforms/82xx/Kconfig | 12 +-
arch/powerpc/platforms/82xx/mpc8272_ads.c | 4 +
arch/powerpc/platforms/82xx/pq2ads-pci-pic.c | 2 +-
arch/powerpc/platforms/83xx/Kconfig | 33 +-
arch/powerpc/platforms/83xx/Makefile | 4 +-
arch/powerpc/platforms/83xx/asp834x.c | 90 +
arch/powerpc/platforms/83xx/mpc831x_rdb.c | 1 +
arch/powerpc/platforms/83xx/mpc832x_mds.c | 1 +
arch/powerpc/platforms/83xx/mpc832x_rdb.c | 1 +
arch/powerpc/platforms/83xx/mpc834x_itx.c | 1 +
arch/powerpc/platforms/83xx/mpc834x_mds.c | 1 +
arch/powerpc/platforms/83xx/mpc836x_mds.c | 1 +
arch/powerpc/platforms/83xx/mpc836x_rdk.c | 103 +
arch/powerpc/platforms/83xx/mpc837x_mds.c | 1 +
arch/powerpc/platforms/83xx/mpc837x_rdb.c | 1 +
arch/powerpc/platforms/83xx/mpc83xx.h | 5 +-
arch/powerpc/platforms/83xx/pci.c | 91 -
arch/powerpc/platforms/83xx/sbc834x.c | 1 +
arch/powerpc/platforms/83xx/suspend-asm.S | 533 +
arch/powerpc/platforms/83xx/suspend.c | 388 +
arch/powerpc/platforms/83xx/usb.c | 24 +-
arch/powerpc/platforms/85xx/Kconfig | 15 +-
arch/powerpc/platforms/85xx/Makefile | 1 +
arch/powerpc/platforms/85xx/mpc8536_ds.c | 125 +
arch/powerpc/platforms/85xx/mpc85xx_ads.c | 8 +-
arch/powerpc/platforms/85xx/mpc85xx_cds.c | 14 +
arch/powerpc/platforms/85xx/mpc85xx_ds.c | 14 +-
arch/powerpc/platforms/85xx/tqm85xx.c | 23 +-
arch/powerpc/platforms/86xx/Kconfig | 19 +-
arch/powerpc/platforms/86xx/Makefile | 1 +
arch/powerpc/platforms/86xx/mpc8610_hpcd.c | 112 +-
arch/powerpc/platforms/86xx/mpc86xx.h | 3 +-
arch/powerpc/platforms/86xx/mpc86xx_hpcn.c | 66 +-
arch/powerpc/platforms/86xx/mpc86xx_smp.c | 6 +-
arch/powerpc/platforms/86xx/pic.c | 78 +
arch/powerpc/platforms/86xx/sbc8641d.c | 25 +-
arch/powerpc/platforms/8xx/mpc86xads_setup.c | 4 +
arch/powerpc/platforms/8xx/mpc885ads_setup.c | 3 +
arch/powerpc/platforms/Kconfig | 39 +-
arch/powerpc/platforms/Kconfig.cputype | 30 +-
arch/powerpc/platforms/cell/Kconfig | 25 +
arch/powerpc/platforms/cell/Makefile | 3 +
arch/powerpc/platforms/cell/axon_msi.c | 76 +-
arch/powerpc/platforms/cell/beat_htab.c | 4 +-
arch/powerpc/platforms/cell/cbe_powerbutton.c | 117 +
arch/powerpc/platforms/cell/cbe_thermal.c | 45 +-
arch/powerpc/platforms/cell/cpufreq_spudemand.c | 184 +
arch/powerpc/platforms/cell/interrupt.c | 1 +
arch/powerpc/platforms/cell/iommu.c | 140 +-
arch/powerpc/platforms/cell/pervasive.c | 27 +-
arch/powerpc/platforms/cell/pervasive.h | 9 +
arch/powerpc/platforms/cell/ras.c | 68 +-
arch/powerpc/platforms/cell/spider-pic.c | 2 +-
arch/powerpc/platforms/cell/spu_base.c | 3 +-
arch/powerpc/platforms/cell/spufs/context.c | 12 +-
arch/powerpc/platforms/cell/spufs/file.c | 226 +-
arch/powerpc/platforms/cell/spufs/inode.c | 47 +-
arch/powerpc/platforms/cell/spufs/sched.c | 44 +-
arch/powerpc/platforms/cell/spufs/spufs.h | 19 +-
arch/powerpc/platforms/cell/spufs/sputrace.c | 11 +-
arch/powerpc/platforms/chrp/pci.c | 2 +-
arch/powerpc/platforms/chrp/setup.c | 7 -
arch/powerpc/platforms/embedded6xx/Kconfig | 10 +
arch/powerpc/platforms/embedded6xx/Makefile | 1 +
arch/powerpc/platforms/embedded6xx/c2k.c | 158 +
arch/powerpc/platforms/fsl_uli1575.c | 117 +-
arch/powerpc/platforms/iseries/Kconfig | 1 +
arch/powerpc/platforms/iseries/iommu.c | 10 +-
arch/powerpc/platforms/iseries/setup.c | 4 +-
arch/powerpc/platforms/maple/time.c | 2 -
arch/powerpc/platforms/pasemi/iommu.c | 6 +-
arch/powerpc/platforms/powermac/Makefile | 5 +
arch/powerpc/platforms/powermac/pic.c | 8 +-
arch/powerpc/platforms/powermac/setup.c | 6 -
arch/powerpc/platforms/powermac/smp.c | 6 +-
arch/powerpc/platforms/ps3/Kconfig | 1 +
arch/powerpc/platforms/ps3/device-init.c | 1 +
arch/powerpc/platforms/ps3/smp.c | 7 +-
arch/powerpc/platforms/ps3/system-bus.c | 47 +-
arch/powerpc/platforms/pseries/Kconfig | 24 +
arch/powerpc/platforms/pseries/Makefile | 1 +
arch/powerpc/platforms/pseries/cmm.c | 468 +
arch/powerpc/platforms/pseries/eeh.c | 40 +-
arch/powerpc/platforms/pseries/firmware.c | 1 +
arch/powerpc/platforms/pseries/hotplug-memory.c | 117 +-
arch/powerpc/platforms/pseries/iommu.c | 55 +-
arch/powerpc/platforms/pseries/kexec.c | 2 +-
arch/powerpc/platforms/pseries/lpar.c | 4 +-
arch/powerpc/platforms/pseries/plpar_wrappers.h | 10 +
arch/powerpc/platforms/pseries/ras.c | 2 +-
arch/powerpc/platforms/pseries/reconfig.c | 38 +-
arch/powerpc/platforms/pseries/rtasd.c | 4 +-
arch/powerpc/platforms/pseries/setup.c | 75 +-
arch/powerpc/platforms/pseries/xics.c | 6 +-
arch/powerpc/sysdev/6xx-suspend.S | 52 +
arch/powerpc/sysdev/Makefile | 9 +-
arch/powerpc/sysdev/axonram.c | 28 +-
arch/powerpc/sysdev/bestcomm/bestcomm.c | 2 +-
arch/powerpc/sysdev/bestcomm/gen_bd.c | 95 +
arch/powerpc/sysdev/bestcomm/gen_bd.h | 5 +
arch/powerpc/sysdev/bestcomm/sram.c | 2 +-
arch/powerpc/sysdev/cpm1.c | 2 +-
arch/powerpc/sysdev/cpm2_pic.c | 2 +-
arch/powerpc/sysdev/cpm_common.c | 19 +-
arch/powerpc/sysdev/dart_iommu.c | 6 +-
arch/powerpc/sysdev/dcr.c | 156 +-
arch/powerpc/sysdev/fsl_gtm.c | 434 +
arch/powerpc/sysdev/fsl_msi.c | 429 +
arch/powerpc/sysdev/fsl_msi.h | 42 +
arch/powerpc/sysdev/fsl_pci.c | 75 +
arch/powerpc/sysdev/fsl_pci.h | 1 +
arch/powerpc/sysdev/fsl_soc.c | 212 +-
arch/powerpc/sysdev/fsl_soc.h | 1 +
arch/powerpc/sysdev/i8259.c | 2 +-
arch/powerpc/sysdev/indirect_pci.c | 6 +
arch/powerpc/sysdev/ipic.c | 87 +-
arch/powerpc/sysdev/mpic.c | 20 +-
arch/powerpc/sysdev/mpic_msi.c | 1 +
arch/powerpc/sysdev/mpic_pasemi_msi.c | 6 +-
arch/powerpc/sysdev/mpic_u3msi.c | 8 +-
arch/powerpc/sysdev/mv64x60_dev.c | 10 +
arch/powerpc/sysdev/ppc4xx_pci.c | 14 +
arch/powerpc/sysdev/qe_lib/Kconfig | 13 +
arch/powerpc/sysdev/qe_lib/Makefile | 2 +
arch/powerpc/sysdev/qe_lib/gpio.c | 149 +
arch/powerpc/sysdev/qe_lib/qe.c | 100 +-
arch/powerpc/sysdev/qe_lib/qe_ic.c | 14 +-
arch/powerpc/sysdev/qe_lib/qe_io.c | 94 +-
arch/powerpc/sysdev/qe_lib/ucc.c | 13 +-
arch/powerpc/sysdev/qe_lib/ucc_fast.c | 16 +-
arch/powerpc/sysdev/qe_lib/usb.c | 55 +
arch/powerpc/sysdev/tsi108_pci.c | 3 +-
arch/powerpc/sysdev/uic.c | 6 +-
arch/powerpc/xmon/xmon.c | 66 +-
arch/ppc/.gitignore | 1 -
arch/ppc/4xx_io/Makefile | 6 -
arch/ppc/4xx_io/serial_sicc.c | 2005 --
arch/ppc/8260_io/Kconfig | 65 -
arch/ppc/8260_io/Makefile | 6 -
arch/ppc/8260_io/enet.c | 865 -
arch/ppc/8260_io/fcc_enet.c | 2379 ---
arch/ppc/8xx_io/Kconfig | 134 -
arch/ppc/8xx_io/Makefile | 9 -
arch/ppc/8xx_io/commproc.c | 432 -
arch/ppc/8xx_io/enet.c | 982 -
arch/ppc/8xx_io/fec.c | 1983 --
arch/ppc/8xx_io/micropatch.c | 743 -
arch/ppc/Kconfig | 1186 --
arch/ppc/Kconfig.debug | 66 -
arch/ppc/Makefile | 135 -
arch/ppc/boot/Makefile | 37 -
arch/ppc/boot/common/Makefile | 10 -
arch/ppc/boot/common/bootinfo.c | 68 -
arch/ppc/boot/common/crt0.S | 80 -
arch/ppc/boot/common/misc-common.c | 555 -
arch/ppc/boot/common/ns16550.c | 103 -
arch/ppc/boot/common/serial_stub.c | 21 -
arch/ppc/boot/common/string.S | 150 -
arch/ppc/boot/common/util.S | 293 -
arch/ppc/boot/images/.gitignore | 6 -
arch/ppc/boot/images/Makefile | 34 -
arch/ppc/boot/include/cpc700.h | 26 -
arch/ppc/boot/include/iso_font.h | 257 -
arch/ppc/boot/include/mpc10x.h | 63 -
arch/ppc/boot/include/mpsc_defs.h | 146 -
arch/ppc/boot/include/nonstdio.h | 34 -
arch/ppc/boot/include/of1275.h | 42 -
arch/ppc/boot/include/rs6000.h | 243 -
arch/ppc/boot/include/serial.h | 46 -
arch/ppc/boot/ld.script | 85 -
arch/ppc/boot/lib/.gitignore | 3 -
arch/ppc/boot/lib/Makefile | 23 -
arch/ppc/boot/lib/div64.S | 58 -
arch/ppc/boot/lib/kbd.c | 248 -
arch/ppc/boot/lib/vreset.c | 805 -
arch/ppc/boot/of1275/Makefile | 6 -
arch/ppc/boot/of1275/call_prom.c | 74 -
arch/ppc/boot/of1275/claim.c | 92 -
arch/ppc/boot/of1275/enter.c | 22 -
arch/ppc/boot/of1275/exit.c | 24 -
arch/ppc/boot/of1275/finddevice.c | 16 -
arch/ppc/boot/of1275/getprop.c | 37 -
arch/ppc/boot/of1275/map.c | 48 -
arch/ppc/boot/of1275/ofinit.c | 27 -
arch/ppc/boot/of1275/ofstdio.c | 32 -
arch/ppc/boot/of1275/read.c | 35 -
arch/ppc/boot/of1275/release.c | 30 -
arch/ppc/boot/of1275/write.c | 35 -
arch/ppc/boot/simple/Makefile | 277 -
arch/ppc/boot/simple/chrpmap.c | 12 -
arch/ppc/boot/simple/clear.S | 19 -
arch/ppc/boot/simple/cpc700_memory.c | 34 -
arch/ppc/boot/simple/dummy.c | 4 -
arch/ppc/boot/simple/embed_config.c | 938 -
arch/ppc/boot/simple/head.S | 137 -
arch/ppc/boot/simple/iic.c | 214 -
arch/ppc/boot/simple/m8260_tty.c | 325 -
arch/ppc/boot/simple/m8xx_tty.c | 289 -
arch/ppc/boot/simple/misc-chestnut.c | 32 -
arch/ppc/boot/simple/misc-cpci690.c | 65 -
arch/ppc/boot/simple/misc-embedded.c | 276 -
arch/ppc/boot/simple/misc-ev64260.c | 54 -
arch/ppc/boot/simple/misc-ev64360.c | 42 -
arch/ppc/boot/simple/misc-katana.c | 42 -
arch/ppc/boot/simple/misc-mv64x60.c | 85 -
arch/ppc/boot/simple/misc-prep.c | 209 -
arch/ppc/boot/simple/misc-radstone_ppc7d.c | 24 -
arch/ppc/boot/simple/misc-spruce.c | 271 -
arch/ppc/boot/simple/misc.c | 278 -
arch/ppc/boot/simple/mpc10x_memory.c | 109 -
arch/ppc/boot/simple/mpc52xx_tty.c | 137 -
arch/ppc/boot/simple/mv64x60_tty.c | 364 -
arch/ppc/boot/simple/openbios.c | 128 -
arch/ppc/boot/simple/pci.c | 274 -
arch/ppc/boot/simple/pibs.c | 104 -
arch/ppc/boot/simple/prepmap.c | 12 -
arch/ppc/boot/simple/qspan_pci.c | 269 -
arch/ppc/boot/simple/relocate.S | 213 -
arch/ppc/boot/simple/rw4/ppc_40x.h | 664 -
arch/ppc/boot/simple/rw4/rw4_init.S | 78 -
arch/ppc/boot/simple/rw4/rw4_init_brd.S | 1125 --
arch/ppc/boot/simple/rw4/stb.h | 239 -
arch/ppc/boot/simple/uartlite_tty.c | 45 -
arch/ppc/boot/utils/.gitignore | 3 -
arch/ppc/boot/utils/elf.pl | 33 -
arch/ppc/boot/utils/mkbugboot.c | 147 -
arch/ppc/boot/utils/mkprep.c | 241 -
arch/ppc/boot/utils/mktree.c | 152 -
arch/ppc/configs/FADS_defconfig | 520 -
arch/ppc/configs/IVMS8_defconfig | 548 -
arch/ppc/configs/TQM823L_defconfig | 521 -
arch/ppc/configs/TQM8260_defconfig | 499 -
arch/ppc/configs/TQM850L_defconfig | 521 -
arch/ppc/configs/TQM860L_defconfig | 549 -
arch/ppc/configs/bamboo_defconfig | 944 -
arch/ppc/configs/bseip_defconfig | 517 -
arch/ppc/configs/bubinga_defconfig | 592 -
arch/ppc/configs/chestnut_defconfig | 794 -
arch/ppc/configs/cpci405_defconfig | 631 -
arch/ppc/configs/cpci690_defconfig | 798 -
arch/ppc/configs/ebony_defconfig | 585 -
arch/ppc/configs/ep405_defconfig | 572 -
arch/ppc/configs/est8260_defconfig | 491 -
arch/ppc/configs/ev64260_defconfig | 758 -
arch/ppc/configs/ev64360_defconfig | 817 -
arch/ppc/configs/hdpu_defconfig | 890 -
arch/ppc/configs/katana_defconfig | 948 -
arch/ppc/configs/lite5200_defconfig | 436 -
arch/ppc/configs/lopec_defconfig | 814 -
arch/ppc/configs/luan_defconfig | 668 -
arch/ppc/configs/mbx_defconfig | 512 -
arch/ppc/configs/ml300_defconfig | 739 -
arch/ppc/configs/ml403_defconfig | 740 -
arch/ppc/configs/mvme5100_defconfig | 746 -
arch/ppc/configs/ocotea_defconfig | 599 -
arch/ppc/configs/pplus_defconfig | 720 -
arch/ppc/configs/prep_defconfig | 1679 --
arch/ppc/configs/prpmc750_defconfig | 594 -
arch/ppc/configs/prpmc800_defconfig | 656 -
arch/ppc/configs/radstone_ppc7d_defconfig | 991 -
arch/ppc/configs/redwood5_defconfig | 557 -
arch/ppc/configs/redwood6_defconfig | 535 -
arch/ppc/configs/rpx8260_defconfig | 555 -
arch/ppc/configs/rpxcllf_defconfig | 582 -
arch/ppc/configs/rpxlite_defconfig | 581 -
arch/ppc/configs/sandpoint_defconfig | 737 -
arch/ppc/configs/spruce_defconfig | 577 -
arch/ppc/configs/sycamore_defconfig | 663 -
arch/ppc/configs/taishan_defconfig | 1077 --
arch/ppc/configs/walnut_defconfig | 578 -
arch/ppc/kernel/Makefile | 21 -
arch/ppc/kernel/asm-offsets.c | 164 -
arch/ppc/kernel/cpu_setup_power4.S | 197 -
arch/ppc/kernel/entry.S | 960 -
arch/ppc/kernel/head.S | 1220 --
arch/ppc/kernel/head_44x.S | 769 -
arch/ppc/kernel/head_4xx.S | 1021 --
arch/ppc/kernel/head_8xx.S | 959 -
arch/ppc/kernel/head_booke.h | 308 -
arch/ppc/kernel/machine_kexec.c | 118 -
arch/ppc/kernel/misc.S | 868 -
arch/ppc/kernel/pci.c | 1233 --
arch/ppc/kernel/ppc-stub.c | 866 -
arch/ppc/kernel/ppc_htab.c | 464 -
arch/ppc/kernel/ppc_ksyms.c | 258 -
arch/ppc/kernel/relocate_kernel.S | 123 -
arch/ppc/kernel/setup.c | 572 -
arch/ppc/kernel/smp-tbsync.c | 180 -
arch/ppc/kernel/smp.c | 414 -
arch/ppc/kernel/softemu8xx.c | 147 -
arch/ppc/kernel/time.c | 445 -
arch/ppc/kernel/traps.c | 826 -
arch/ppc/kernel/vmlinux.lds.S | 164 -
arch/ppc/lib/Makefile | 5 -
arch/ppc/lib/checksum.S | 225 -
arch/ppc/lib/div64.S | 58 -
arch/ppc/lib/locks.c | 189 -
arch/ppc/lib/string.S | 732 -
arch/ppc/mm/44x_mmu.c | 101 -
arch/ppc/mm/4xx_mmu.c | 135 -
arch/ppc/mm/Makefile | 10 -
arch/ppc/mm/fault.c | 436 -
arch/ppc/mm/hashtable.S | 617 -
arch/ppc/mm/init.c | 603 -
arch/ppc/mm/mem_pieces.c | 162 -
arch/ppc/mm/mem_pieces.h | 48 -
arch/ppc/mm/mmu_context.c | 85 -
arch/ppc/mm/mmu_decl.h | 79 -
arch/ppc/mm/pgtable.c | 403 -
arch/ppc/mm/ppc_mmu.c | 269 -
arch/ppc/mm/tlb.c | 183 -
arch/ppc/platforms/4xx/Kconfig | 285 -
arch/ppc/platforms/4xx/Makefile | 31 -
arch/ppc/platforms/4xx/bamboo.c | 442 -
arch/ppc/platforms/4xx/bamboo.h | 133 -
arch/ppc/platforms/4xx/bubinga.c | 265 -
arch/ppc/platforms/4xx/bubinga.h | 54 -
arch/ppc/platforms/4xx/cpci405.c | 201 -
arch/ppc/platforms/4xx/cpci405.h | 28 -
arch/ppc/platforms/4xx/ebony.c | 334 -
arch/ppc/platforms/4xx/ebony.h | 97 -
arch/ppc/platforms/4xx/ep405.c | 196 -
arch/ppc/platforms/4xx/ep405.h | 52 -
arch/ppc/platforms/4xx/ibm405ep.c | 141 -
arch/ppc/platforms/4xx/ibm405ep.h | 145 -
arch/ppc/platforms/4xx/ibm405gp.c | 120 -
arch/ppc/platforms/4xx/ibm405gp.h | 148 -
arch/ppc/platforms/4xx/ibm405gpr.c | 115 -
arch/ppc/platforms/4xx/ibm405gpr.h | 148 -
arch/ppc/platforms/4xx/ibm440ep.c | 220 -
arch/ppc/platforms/4xx/ibm440ep.h | 73 -
arch/ppc/platforms/4xx/ibm440gp.c | 163 -
arch/ppc/platforms/4xx/ibm440gp.h | 63 -
arch/ppc/platforms/4xx/ibm440gx.c | 231 -
arch/ppc/platforms/4xx/ibm440gx.h | 71 -
arch/ppc/platforms/4xx/ibm440sp.c | 129 -
arch/ppc/platforms/4xx/ibm440sp.h | 61 -
arch/ppc/platforms/4xx/ibmnp405h.c | 170 -
arch/ppc/platforms/4xx/ibmnp405h.h | 154 -
arch/ppc/platforms/4xx/ibmstb4.c | 122 -
arch/ppc/platforms/4xx/ibmstb4.h | 235 -
arch/ppc/platforms/4xx/ibmstbx25.c | 66 -
arch/ppc/platforms/4xx/ibmstbx25.h | 258 -
arch/ppc/platforms/4xx/luan.c | 371 -
arch/ppc/platforms/4xx/luan.h | 77 -
arch/ppc/platforms/4xx/ocotea.c | 350 -
arch/ppc/platforms/4xx/ocotea.h | 94 -
arch/ppc/platforms/4xx/ppc440spe.c | 146 -
arch/ppc/platforms/4xx/ppc440spe.h | 63 -
arch/ppc/platforms/4xx/redwood5.c | 120 -
arch/ppc/platforms/4xx/redwood5.h | 52 -
arch/ppc/platforms/4xx/redwood6.c | 156 -
arch/ppc/platforms/4xx/redwood6.h | 53 -
arch/ppc/platforms/4xx/sycamore.c | 272 -
arch/ppc/platforms/4xx/sycamore.h | 49 -
arch/ppc/platforms/4xx/taishan.c | 395 -
arch/ppc/platforms/4xx/taishan.h | 67 -
arch/ppc/platforms/4xx/virtex.h | 35 -
arch/ppc/platforms/4xx/walnut.c | 246 -
arch/ppc/platforms/4xx/walnut.h | 52 -
arch/ppc/platforms/4xx/xilinx_ml300.c | 118 -
arch/ppc/platforms/4xx/xilinx_ml403.c | 120 -
arch/ppc/platforms/4xx/xparameters/xparameters.h | 104 -
.../platforms/4xx/xparameters/xparameters_ml300.h | 310 -
.../platforms/4xx/xparameters/xparameters_ml403.h | 243 -
arch/ppc/platforms/4xx/yucca.c | 393 -
arch/ppc/platforms/4xx/yucca.h | 108 -
arch/ppc/platforms/Makefile | 25 -
arch/ppc/platforms/bseip.h | 38 -
arch/ppc/platforms/ccm.h | 27 -
arch/ppc/platforms/chestnut.c | 574 -
arch/ppc/platforms/chestnut.h | 127 -
arch/ppc/platforms/cpci690.c | 453 -
arch/ppc/platforms/cpci690.h | 74 -
arch/ppc/platforms/est8260.h | 35 -
arch/ppc/platforms/ev64260.c | 649 -
arch/ppc/platforms/ev64260.h | 126 -
arch/ppc/platforms/ev64360.c | 517 -
arch/ppc/platforms/ev64360.h | 114 -
arch/ppc/platforms/fads.h | 130 -
arch/ppc/platforms/hdpu.c | 1015 --
arch/ppc/platforms/hdpu.h | 80 -
arch/ppc/platforms/hermes.h | 26 -
arch/ppc/platforms/ip860.h | 35 -
arch/ppc/platforms/ivms8.h | 55 -
arch/ppc/platforms/katana.c | 902 -
arch/ppc/platforms/katana.h | 253 -
arch/ppc/platforms/lantec.h | 20 -
arch/ppc/platforms/lite5200.c | 245 -
arch/ppc/platforms/lite5200.h | 21 -
arch/ppc/platforms/lopec.c | 310 -
arch/ppc/platforms/lopec.h | 39 -
arch/ppc/platforms/lwmon.h | 59 -
arch/ppc/platforms/mbx.h | 117 -
arch/ppc/platforms/mpc866ads_setup.c | 413 -
arch/ppc/platforms/mvme5100.c | 340 -
arch/ppc/platforms/mvme5100.h | 91 -
arch/ppc/platforms/pal4.h | 40 -
arch/ppc/platforms/pal4_pci.c | 75 -
arch/ppc/platforms/pal4_serial.h | 37 -
arch/ppc/platforms/pal4_setup.c | 173 -
arch/ppc/platforms/pcu_e.h | 27 -
arch/ppc/platforms/powerpmc250.c | 378 -
arch/ppc/platforms/powerpmc250.h | 52 -
arch/ppc/platforms/pplus.c | 844 -
arch/ppc/platforms/pplus.h | 65 -
arch/ppc/platforms/prep_pci.c | 1339 --
arch/ppc/platforms/prep_setup.c | 1043 --
arch/ppc/platforms/prpmc750.c | 360 -
arch/ppc/platforms/prpmc750.h | 95 -
arch/ppc/platforms/prpmc800.c | 472 -
arch/ppc/platforms/prpmc800.h | 82 -
arch/ppc/platforms/radstone_ppc7d.c | 1492 --
arch/ppc/platforms/radstone_ppc7d.h | 433 -
arch/ppc/platforms/residual.c | 1034 --
arch/ppc/platforms/rpx8260.h | 81 -
arch/ppc/platforms/rpxclassic.h | 114 -
arch/ppc/platforms/rpxlite.h | 91 -
arch/ppc/platforms/sandpoint.c | 651 -
arch/ppc/platforms/sandpoint.h | 75 -
arch/ppc/platforms/sbc82xx.c | 256 -
arch/ppc/platforms/sbc82xx.h | 36 -
arch/ppc/platforms/sbs8260.h | 28 -
arch/ppc/platforms/spruce.c | 322 -
arch/ppc/platforms/spruce.h | 71 -
arch/ppc/platforms/tqm8260.h | 22 -
arch/ppc/platforms/tqm8260_setup.c | 42 -
arch/ppc/platforms/tqm8xx.h | 155 -
arch/ppc/syslib/Makefile | 96 -
arch/ppc/syslib/btext.c | 860 -
arch/ppc/syslib/cpc700.h | 96 -
arch/ppc/syslib/cpc700_pic.c | 181 -
arch/ppc/syslib/cpm2_common.c | 196 -
arch/ppc/syslib/cpm2_pic.c | 177 -
arch/ppc/syslib/cpm2_pic.h | 8 -
arch/ppc/syslib/gen550.h | 14 -
arch/ppc/syslib/gen550_dbg.c | 179 -
arch/ppc/syslib/gen550_kgdb.c | 83 -
arch/ppc/syslib/gt64260_pic.c | 323 -
arch/ppc/syslib/harrier.c | 300 -
arch/ppc/syslib/hawk_common.c | 317 -
arch/ppc/syslib/i8259.c | 213 -
arch/ppc/syslib/ibm440gp_common.c | 73 -
arch/ppc/syslib/ibm440gp_common.h | 32 -
arch/ppc/syslib/ibm440gx_common.c | 294 -
arch/ppc/syslib/ibm440gx_common.h | 58 -
arch/ppc/syslib/ibm440sp_common.c | 68 -
arch/ppc/syslib/ibm440sp_common.h | 23 -
arch/ppc/syslib/ibm44x_common.c | 235 -
arch/ppc/syslib/ibm44x_common.h | 45 -
arch/ppc/syslib/ibm_ocp.c | 10 -
arch/ppc/syslib/indirect_pci.c | 134 -
arch/ppc/syslib/m8260_pci_erratum9.c | 455 -
arch/ppc/syslib/m8260_setup.c | 266 -
arch/ppc/syslib/m82xx_pci.c | 346 -
arch/ppc/syslib/m82xx_pci.h | 92 -
arch/ppc/syslib/m8xx_setup.c | 465 -
arch/ppc/syslib/m8xx_wdt.c | 148 -
arch/ppc/syslib/m8xx_wdt.h | 20 -
arch/ppc/syslib/mpc10x_common.c | 654 -
arch/ppc/syslib/mpc52xx_devices.c | 317 -
arch/ppc/syslib/mpc52xx_pci.c | 289 -
arch/ppc/syslib/mpc52xx_pci.h | 137 -
arch/ppc/syslib/mpc52xx_pic.c | 254 -
arch/ppc/syslib/mpc52xx_setup.c | 313 -
arch/ppc/syslib/mpc52xx_sys.c | 36 -
arch/ppc/syslib/mpc8xx_devices.c | 243 -
arch/ppc/syslib/mpc8xx_sys.c | 61 -
arch/ppc/syslib/mv64360_pic.c | 423 -
arch/ppc/syslib/mv64x60.c | 2485 ---
arch/ppc/syslib/mv64x60_dbg.c | 121 -
arch/ppc/syslib/mv64x60_win.c | 1165 --
arch/ppc/syslib/ocp.c | 482 -
arch/ppc/syslib/open_pic.c | 1087 --
arch/ppc/syslib/open_pic2.c | 710 -
arch/ppc/syslib/open_pic_defs.h | 287 -
arch/ppc/syslib/pci_auto.c | 515 -
arch/ppc/syslib/ppc403_pic.c | 125 -
arch/ppc/syslib/ppc405_pci.c | 170 -
arch/ppc/syslib/ppc440spe_pcie.c | 441 -
arch/ppc/syslib/ppc440spe_pcie.h | 149 -
arch/ppc/syslib/ppc4xx_dma.c | 710 -
arch/ppc/syslib/ppc4xx_pic.c | 284 -
arch/ppc/syslib/ppc4xx_setup.c | 271 -
arch/ppc/syslib/ppc4xx_sgdma.c | 464 -
arch/ppc/syslib/ppc8xx_pic.c | 126 -
arch/ppc/syslib/ppc8xx_pic.h | 19 -
arch/ppc/syslib/ppc_sys.c | 329 -
arch/ppc/syslib/pq2_devices.c | 393 -
arch/ppc/syslib/pq2_sys.c | 203 -
arch/ppc/syslib/prep_nvram.c | 135 -
arch/ppc/syslib/qspan_pci.c | 380 -
arch/ppc/syslib/todc_time.c | 511 -
arch/ppc/syslib/virtex_devices.c | 276 -
arch/ppc/syslib/virtex_devices.h | 35 -
arch/ppc/syslib/xilinx_pic.c | 153 -
arch/ppc/xmon/Makefile | 8 -
arch/ppc/xmon/ansidecl.h | 141 -
arch/ppc/xmon/nonstdio.h | 22 -
arch/ppc/xmon/ppc-dis.c | 190 -
arch/ppc/xmon/ppc-opc.c | 2720 ---
arch/ppc/xmon/ppc.h | 240 -
arch/ppc/xmon/privinst.h | 90 -
arch/ppc/xmon/setjmp.c | 29 -
arch/ppc/xmon/start.c | 342 -
arch/ppc/xmon/start_8xx.c | 287 -
arch/ppc/xmon/subr_prf.c | 55 -
arch/ppc/xmon/xmon.c | 1780 --
arch/s390/Kconfig | 24 +-
arch/s390/appldata/appldata.h | 10 +-
arch/s390/appldata/appldata_base.c | 45 +-
arch/s390/appldata/appldata_mem.c | 43 +-
arch/s390/appldata/appldata_net_sum.c | 39 +-
arch/s390/appldata/appldata_os.c | 57 +-
arch/s390/crypto/crypt_s390.h | 4 +
arch/s390/crypto/prng.c | 7 +-
arch/s390/hypfs/inode.c | 29 +-
arch/s390/kernel/Makefile | 9 +-
arch/s390/kernel/binfmt_elf32.c | 214 -
arch/s390/kernel/compat_ptrace.h | 4 +-
arch/s390/kernel/debug.c | 9 -
arch/s390/kernel/early.c | 211 +-
arch/s390/kernel/ipl.c | 462 +-
arch/s390/kernel/kprobes.c | 10 +-
arch/s390/kernel/machine_kexec.c | 1 -
arch/s390/kernel/mem_detect.c | 100 +
arch/s390/kernel/process.c | 34 +-
arch/s390/kernel/ptrace.c | 363 +-
arch/s390/kernel/setup.c | 55 +-
arch/s390/kernel/smp.c | 58 +-
arch/s390/kernel/stacktrace.c | 3 +
arch/s390/kernel/time.c | 669 +-
arch/s390/kernel/topology.c | 16 +-
arch/s390/kernel/vmlinux.lds.S | 1 -
arch/s390/kernel/vtime.c | 81 +-
arch/s390/kvm/interrupt.c | 32 +-
arch/s390/kvm/kvm-s390.c | 21 +-
arch/s390/kvm/priv.c | 2 +-
arch/s390/kvm/sigp.c | 20 +-
arch/s390/mm/hugetlbpage.c | 8 +-
arch/s390/mm/init.c | 19 +
arch/sh/Kconfig | 2 +
arch/sh/boards/landisk/gio.c | 10 +-
arch/sh/boards/renesas/migor/setup.c | 3 +-
arch/sh/boot/compressed/misc_32.c | 38 -
arch/sh/boot/compressed/misc_64.c | 40 -
arch/sh/configs/landisk_defconfig | 1 -
arch/sh/configs/lboxre2_defconfig | 1 -
arch/sh/configs/se7705_defconfig | 1 -
arch/sh/configs/se7712_defconfig | 1 -
arch/sh/configs/se7750_defconfig | 1 -
arch/sh/drivers/dma/dma-sysfs.c | 15 +-
arch/sh/drivers/pci/pci.c | 32 -
arch/sh/kernel/process_32.c | 2 +-
arch/sh/kernel/smp.c | 62 +-
arch/sh/kernel/stacktrace.c | 2 +
arch/sh/kernel/sys_sh32.c | 2 +-
arch/sh/kernel/vmlinux_32.lds.S | 1 -
arch/sh/kernel/vmlinux_64.lds.S | 1 -
arch/sh/mm/hugetlbpage.c | 8 +-
arch/sh/mm/init.c | 2 +-
arch/sh/mm/numa.c | 5 +-
arch/sparc/Kconfig | 14 -
arch/sparc/Makefile | 1 +
arch/sparc/kernel/apc.c | 44 +-
arch/sparc/kernel/asm-offsets.c | 12 -
arch/sparc/kernel/ebus.c | 9 +-
arch/sparc/kernel/entry.S | 5 +-
arch/sparc/kernel/etrap.S | 1 -
arch/sparc/kernel/head.S | 2 -
arch/sparc/kernel/idprom.c | 2 +-
arch/sparc/kernel/ioport.c | 13 +-
arch/sparc/kernel/irq.c | 2 +-
arch/sparc/kernel/process.c | 14 +-
arch/sparc/kernel/rtrap.S | 2 -
arch/sparc/kernel/setup.c | 4 +-
arch/sparc/kernel/smp.c | 7 -
arch/sparc/kernel/sun4c_irq.c | 3 +-
arch/sparc/kernel/sun4d_irq.c | 7 +-
arch/sparc/kernel/sun4m_irq.c | 7 +-
arch/sparc/kernel/sun4m_smp.c | 9 +-
arch/sparc/kernel/sys_sparc.c | 2 +-
arch/sparc/kernel/time.c | 4 +-
arch/sparc/kernel/traps.c | 16 +-
arch/sparc/kernel/wof.S | 1 -
arch/sparc/kernel/wuf.S | 1 -
arch/sparc/mm/fault.c | 2 +-
arch/sparc/mm/init.c | 9 +-
arch/sparc/mm/srmmu.c | 41 +-
arch/sparc/mm/sun4c.c | 3 +-
arch/sparc/mm/tsunami.S | 1 -
arch/sparc64/Kconfig | 22 +-
arch/sparc64/Kconfig.debug | 2 +-
arch/sparc64/Makefile | 4 +-
arch/sparc64/defconfig | 145 +-
arch/sparc64/kernel/Makefile | 1 +
arch/sparc64/kernel/central.c | 14 +-
arch/sparc64/kernel/ds.c | 2 +-
arch/sparc64/kernel/ebus.c | 4 +-
arch/sparc64/kernel/ftrace.c | 94 +
arch/sparc64/kernel/hvapi.c | 4 +
arch/sparc64/kernel/iommu_common.h | 2 +-
arch/sparc64/kernel/irq.c | 10 +-
arch/sparc64/kernel/kprobes.c | 11 +-
arch/sparc64/kernel/ldc.c | 38 +-
arch/sparc64/kernel/of_device.c | 4 +-
arch/sparc64/kernel/pci.c | 2 +-
arch/sparc64/kernel/pci_msi.c | 10 +-
arch/sparc64/kernel/pci_sun4v.c | 2 +-
arch/sparc64/kernel/process.c | 34 +-
arch/sparc64/kernel/smp.c | 90 +-
arch/sparc64/kernel/sparc64_ksyms.c | 6 +-
arch/sparc64/kernel/stacktrace.c | 2 +
arch/sparc64/kernel/sys_sparc.c | 8 +-
arch/sparc64/kernel/sys_sparc32.c | 7 +-
arch/sparc64/kernel/sysfs.c | 16 +-
arch/sparc64/kernel/time.c | 22 +-
arch/sparc64/kernel/traps.c | 40 +-
arch/sparc64/kernel/ttable.S | 7 +-
arch/sparc64/kernel/unaligned.c | 7 +-
arch/sparc64/kernel/vio.c | 18 +-
arch/sparc64/lib/copy_page.S | 6 +-
arch/sparc64/lib/mcount.S | 58 +-
arch/sparc64/mm/fault.c | 5 +-
arch/sparc64/mm/hugetlbpage.c | 12 +-
arch/sparc64/mm/init.c | 3 +-
arch/sparc64/mm/tsb.c | 6 -
arch/sparc64/mm/ultra.S | 5 +
arch/um/drivers/harddog_kern.c | 3 +
arch/um/drivers/mmapper_kern.c | 2 +
arch/um/drivers/random.c | 3 +
arch/um/include/init.h | 8 +
arch/um/include/irq_kern.h | 2 -
arch/um/include/irq_user.h | 2 -
arch/um/include/skas/skas.h | 1 -
arch/um/include/um_uaccess.h | 1 -
arch/um/kernel/irq.c | 35 +-
arch/um/kernel/ksyms.c | 1 -
arch/um/kernel/mem.c | 33 +-
arch/um/kernel/physmem.c | 2 +-
arch/um/kernel/process.c | 2 +-
arch/um/kernel/ptrace.c | 2 +-
arch/um/kernel/smp.c | 3 +-
arch/um/kernel/time.c | 8 -
arch/um/kernel/uaccess.c | 2 +-
arch/um/os-Linux/sigio.c | 2 +-
arch/um/os-Linux/signal.c | 2 +-
arch/um/os-Linux/skas/process.c | 2 +-
arch/um/os-Linux/umid.c | 2 +-
arch/um/sys-i386/bugs.c | 2 +-
arch/um/sys-i386/checksum.S | 5 +-
arch/um/sys-i386/ldt.c | 4 +-
arch/v850/Kconfig | 353 -
arch/v850/Kconfig.debug | 10 -
arch/v850/Makefile | 54 -
arch/v850/README | 44 -
arch/v850/configs/rte-ma1-cb_defconfig | 617 -
arch/v850/configs/rte-me2-cb_defconfig | 462 -
arch/v850/configs/sim_defconfig | 451 -
arch/v850/kernel/Makefile | 40 -
arch/v850/kernel/anna-rom.ld | 16 -
arch/v850/kernel/anna.c | 202 -
arch/v850/kernel/anna.ld | 20 -
arch/v850/kernel/as85ep1-rom.ld | 21 -
arch/v850/kernel/as85ep1.c | 234 -
arch/v850/kernel/as85ep1.ld | 49 -
arch/v850/kernel/asm-offsets.c | 58 -
arch/v850/kernel/bug.c | 142 -
arch/v850/kernel/entry.S | 1121 --
arch/v850/kernel/fpga85e2c.c | 167 -
arch/v850/kernel/fpga85e2c.ld | 62 -
arch/v850/kernel/gbus_int.c | 271 -
arch/v850/kernel/head.S | 128 -
arch/v850/kernel/highres_timer.c | 132 -
arch/v850/kernel/init_task.c | 48 -
arch/v850/kernel/intv.S | 87 -
arch/v850/kernel/irq.c | 123 -
arch/v850/kernel/ma.c | 69 -
arch/v850/kernel/mach.c | 17 -
arch/v850/kernel/mach.h | 56 -
arch/v850/kernel/me2.c | 73 -
arch/v850/kernel/memcons.c | 135 -
arch/v850/kernel/module.c | 237 -
arch/v850/kernel/process.c | 217 -
arch/v850/kernel/procfs.c | 67 -
arch/v850/kernel/ptrace.c | 235 -
arch/v850/kernel/rte_cb.c | 193 -
arch/v850/kernel/rte_cb_leds.c | 137 -
arch/v850/kernel/rte_cb_multi.c | 121 -
arch/v850/kernel/rte_ma1_cb-rom.ld | 14 -
arch/v850/kernel/rte_ma1_cb.c | 107 -
arch/v850/kernel/rte_ma1_cb.ld | 57 -
arch/v850/kernel/rte_mb_a_pci.c | 819 -
arch/v850/kernel/rte_me2_cb.c | 298 -
arch/v850/kernel/rte_me2_cb.ld | 30 -
arch/v850/kernel/rte_nb85e_cb-multi.ld | 57 -
arch/v850/kernel/rte_nb85e_cb.c | 81 -
arch/v850/kernel/rte_nb85e_cb.ld | 22 -
arch/v850/kernel/setup.c | 330 -
arch/v850/kernel/signal.c | 523 -
arch/v850/kernel/sim.c | 172 -
arch/v850/kernel/sim.ld | 13 -
arch/v850/kernel/sim85e2.c | 195 -
arch/v850/kernel/sim85e2.ld | 36 -
arch/v850/kernel/simcons.c | 161 -
arch/v850/kernel/syscalls.c | 196 -
arch/v850/kernel/teg.c | 62 -
arch/v850/kernel/time.c | 106 -
arch/v850/kernel/v850_ksyms.c | 51 -
arch/v850/kernel/v850e2_cache.c | 127 -
arch/v850/kernel/v850e_cache.c | 174 -
arch/v850/kernel/v850e_intc.c | 104 -
arch/v850/kernel/v850e_timer_d.c | 54 -
arch/v850/kernel/v850e_utils.c | 62 -
arch/v850/kernel/vmlinux.lds.S | 306 -
arch/v850/lib/Makefile | 6 -
arch/v850/lib/ashldi3.c | 62 -
arch/v850/lib/ashrdi3.c | 63 -
arch/v850/lib/checksum.c | 155 -
arch/v850/lib/lshrdi3.c | 62 -
arch/v850/lib/memcpy.c | 92 -
arch/v850/lib/memset.c | 68 -
arch/v850/lib/muldi3.c | 61 -
arch/v850/lib/negdi2.c | 25 -
arch/x86/Kconfig | 287 +-
arch/x86/Kconfig.cpu | 12 +-
arch/x86/Kconfig.debug | 57 +-
arch/x86/Makefile | 27 +-
arch/x86/boot/a20.c | 5 +-
arch/x86/boot/compressed/head_64.S | 5 +-
arch/x86/boot/compressed/misc.c | 98 +-
arch/x86/boot/compressed/relocs.c | 198 +-
arch/x86/boot/cpu.c | 2 +
arch/x86/boot/edd.c | 5 +-
arch/x86/boot/main.c | 4 +
arch/x86/boot/memory.c | 3 +-
arch/x86/boot/pm.c | 6 -
arch/x86/boot/pmjump.S | 4 +-
arch/x86/boot/video-vga.c | 3 +-
arch/x86/configs/i386_defconfig | 1711 ++-
arch/x86/configs/x86_64_defconfig | 1735 ++-
arch/x86/ia32/ia32_signal.c | 11 +-
arch/x86/ia32/ia32entry.S | 171 +-
arch/x86/ia32/sys_ia32.c | 2 +-
arch/x86/kernel/Makefile | 30 +-
arch/x86/kernel/acpi/boot.c | 442 +-
arch/x86/kernel/acpi/cstate.c | 3 +-
arch/x86/kernel/acpi/processor.c | 6 +
arch/x86/kernel/acpi/sleep.c | 32 +-
arch/x86/kernel/alternative.c | 22 +-
arch/x86/kernel/amd_iommu.c | 1167 ++
arch/x86/kernel/amd_iommu_init.c | 1060 ++
arch/x86/kernel/aperture_64.c | 314 +-
arch/x86/kernel/apic_32.c | 298 +-
arch/x86/kernel/apic_64.c | 94 +-
arch/x86/kernel/apm_32.c | 38 +-
arch/x86/kernel/asm-offsets_32.c | 2 +-
arch/x86/kernel/asm-offsets_64.c | 18 +-
arch/x86/kernel/bios_uv.c | 48 +
arch/x86/kernel/bugs_64.c | 33 -
arch/x86/kernel/cpu/Makefile | 4 +
arch/x86/kernel/cpu/addon_cpuid_features.c | 17 +-
arch/x86/kernel/cpu/amd.c | 44 -
arch/x86/kernel/cpu/amd_64.c | 224 +
arch/x86/kernel/cpu/bugs.c | 50 +-
arch/x86/kernel/cpu/bugs_64.c | 33 +
arch/x86/kernel/cpu/centaur_64.c | 35 +
arch/x86/kernel/cpu/common.c | 2 +-
arch/x86/kernel/cpu/common_64.c | 670 +
arch/x86/kernel/cpu/cpu.h | 5 +
arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c | 16 +-
arch/x86/kernel/cpu/cpufreq/cpufreq-nforce2.c | 44 +-
arch/x86/kernel/cpu/cpufreq/p4-clockmod.c | 6 +-
arch/x86/kernel/cpu/cpufreq/powernow-k7.h | 1 -
arch/x86/kernel/cpu/cpufreq/powernow-k8.c | 23 +-
arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c | 157 +-
arch/x86/kernel/cpu/cpufreq/speedstep-ich.c | 7 +-
arch/x86/kernel/cpu/intel.c | 14 +
arch/x86/kernel/cpu/intel_64.c | 95 +
arch/x86/kernel/cpu/intel_cacheinfo.c | 13 +-
arch/x86/kernel/cpu/mcheck/k7.c | 36 +-
arch/x86/kernel/cpu/mcheck/mce_64.c | 54 +-
arch/x86/kernel/cpu/mcheck/mce_amd_64.c | 4 +-
arch/x86/kernel/cpu/mcheck/non-fatal.c | 2 +-
arch/x86/kernel/cpu/mcheck/p4.c | 92 +-
arch/x86/kernel/cpu/mcheck/therm_throt.c | 1 +
arch/x86/kernel/cpu/mtrr/generic.c | 38 +-
arch/x86/kernel/cpu/mtrr/main.c | 905 +-
arch/x86/kernel/cpu/mtrr/mtrr.h | 3 +
arch/x86/kernel/cpu/perfctr-watchdog.c | 214 +-
arch/x86/kernel/cpu/proc.c | 2 +-
arch/x86/kernel/cpuid.c | 31 +-
arch/x86/kernel/e820.c | 1365 ++
arch/x86/kernel/e820_32.c | 775 -
arch/x86/kernel/e820_64.c | 952 -
arch/x86/kernel/early-quirks.c | 46 +-
arch/x86/kernel/early_printk.c | 2 +-
arch/x86/kernel/efi.c | 67 +-
arch/x86/kernel/efi_64.c | 8 +-
arch/x86/kernel/entry_32.S | 162 +-
arch/x86/kernel/entry_64.S | 339 +-
arch/x86/kernel/ftrace.c | 141 +
arch/x86/kernel/genapic_64.c | 2 +-
arch/x86/kernel/genapic_flat_64.c | 2 +-
arch/x86/kernel/genx2apic_uv_x.c | 241 +-
arch/x86/kernel/head.c | 55 +
arch/x86/kernel/head32.c | 27 +
arch/x86/kernel/head64.c | 101 +-
arch/x86/kernel/head_32.S | 13 +-
arch/x86/kernel/head_64.S | 100 +-
arch/x86/kernel/hpet.c | 73 +-
arch/x86/kernel/i386_ksyms_32.c | 9 +-
arch/x86/kernel/i387.c | 4 +-
arch/x86/kernel/i8259.c | 337 +
arch/x86/kernel/i8259_32.c | 409 -
arch/x86/kernel/i8259_64.c | 512 -
arch/x86/kernel/io_apic_32.c | 723 +-
arch/x86/kernel/io_apic_64.c | 327 +-
arch/x86/kernel/io_delay.c | 3 +
arch/x86/kernel/ipi.c | 7 +-
arch/x86/kernel/irq_32.c | 253 +-
arch/x86/kernel/irq_64.c | 28 +
arch/x86/kernel/irqinit_32.c | 114 +
arch/x86/kernel/irqinit_64.c | 222 +
arch/x86/kernel/kdebugfs.c | 8 +
arch/x86/kernel/kprobes.c | 7 +-
arch/x86/kernel/kvmclock.c | 2 +-
arch/x86/kernel/ldt.c | 12 +-
arch/x86/kernel/machine_kexec_32.c | 8 +-
arch/x86/kernel/machine_kexec_64.c | 6 +-
arch/x86/kernel/microcode.c | 58 +-
arch/x86/kernel/mmconf-fam10h_64.c | 1 +
arch/x86/kernel/module_64.c | 11 +-
arch/x86/kernel/mpparse.c | 883 +-
arch/x86/kernel/msr.c | 20 +-
arch/x86/kernel/nmi.c | 523 +
arch/x86/kernel/nmi_32.c | 467 -
arch/x86/kernel/nmi_64.c | 482 -
arch/x86/kernel/numaq_32.c | 215 +-
arch/x86/kernel/paravirt.c | 65 +-
arch/x86/kernel/paravirt_patch_32.c | 4 +-
arch/x86/kernel/paravirt_patch_64.c | 9 +-
arch/x86/kernel/pci-calgary_64.c | 89 +-
arch/x86/kernel/pci-dma.c | 45 +-
arch/x86/kernel/pci-gart_64.c | 100 +-
arch/x86/kernel/pci-nommu.c | 2 +-
arch/x86/kernel/pci-swiotlb_64.c | 4 +-
arch/x86/kernel/probe_roms_32.c | 166 +
arch/x86/kernel/process.c | 225 +-
arch/x86/kernel/process_32.c | 70 +-
arch/x86/kernel/process_64.c | 142 +-
arch/x86/kernel/ptrace.c | 155 +-
arch/x86/kernel/quirks.c | 60 +-
arch/x86/kernel/reboot.c | 40 +-
arch/x86/kernel/reboot_fixups_32.c | 4 +-
arch/x86/kernel/setup.c | 924 +-
arch/x86/kernel/setup64.c | 287 -
arch/x86/kernel/setup_32.c | 964 -
arch/x86/kernel/setup_64.c | 1194 --
arch/x86/kernel/setup_percpu.c | 399 +
arch/x86/kernel/signal_32.c | 11 +-
arch/x86/kernel/signal_64.c | 62 +-
arch/x86/kernel/smp.c | 158 +-
arch/x86/kernel/smpboot.c | 330 +-
arch/x86/kernel/smpcommon.c | 56 -
arch/x86/kernel/smpcommon_32.c | 1 -
arch/x86/kernel/srat_32.c | 358 -
arch/x86/kernel/stacktrace.c | 2 +
arch/x86/kernel/step.c | 35 +-
arch/x86/kernel/summit_32.c | 2 +
arch/x86/kernel/sys_i386_32.c | 64 +-
arch/x86/kernel/syscall_table_32.S | 6 +
arch/x86/kernel/time_32.c | 7 +-
arch/x86/kernel/time_64.c | 16 +-
arch/x86/kernel/tlb_32.c | 2 +-
arch/x86/kernel/tlb_64.c | 7 +-
arch/x86/kernel/tlb_uv.c | 792 +
arch/x86/kernel/trampoline.c | 2 +-
arch/x86/kernel/traps_32.c | 306 +-
arch/x86/kernel/traps_64.c | 571 +-
arch/x86/kernel/tsc.c | 535 +
arch/x86/kernel/tsc_32.c | 451 -
arch/x86/kernel/tsc_64.c | 357 -
arch/x86/kernel/visws_quirks.c | 707 +
arch/x86/kernel/vmi_32.c | 7 +-
arch/x86/kernel/vmiclock_32.c | 7 +-
arch/x86/kernel/vmlinux_32.lds.S | 15 +-
arch/x86/kernel/vmlinux_64.lds.S | 18 +-
arch/x86/kernel/vsmp_64.c | 3 +
arch/x86/kernel/vsyscall_64.c | 19 +-
arch/x86/kernel/x8664_ksyms_64.c | 16 +-
arch/x86/kvm/Makefile | 3 +-
arch/x86/kvm/i8254.c | 24 +-
arch/x86/kvm/i8259.c | 9 +-
arch/x86/kvm/irq.h | 2 +
arch/x86/kvm/lapic.c | 14 +-
arch/x86/kvm/lapic.h | 1 +
arch/x86/kvm/mmu.c | 62 +-
arch/x86/kvm/mmu.h | 3 +-
arch/x86/kvm/paging_tmpl.h | 28 +-
arch/x86/kvm/svm.c | 131 +-
arch/x86/kvm/vmx.c | 232 +-
arch/x86/kvm/vmx.h | 12 +-
arch/x86/kvm/x86.c | 301 +-
arch/x86/kvm/x86_emulate.c | 257 +-
arch/x86/lguest/Kconfig | 2 +-
arch/x86/lguest/boot.c | 12 +-
arch/x86/lib/Makefile | 5 +-
arch/x86/lib/copy_user_64.S | 429 +-
arch/x86/lib/copy_user_nocache_64.S | 283 +-
arch/x86/lib/delay.c | 137 +
arch/x86/lib/delay_32.c | 131 -
arch/x86/lib/delay_64.c | 85 -
arch/x86/lib/getuser.S | 104 +
arch/x86/lib/getuser_32.S | 78 -
arch/x86/lib/getuser_64.S | 109 -
arch/x86/lib/msr-on-cpu.c | 8 +-
arch/x86/lib/putuser.S | 97 +
arch/x86/lib/putuser_32.S | 98 -
arch/x86/lib/putuser_64.S | 106 -
arch/x86/lib/thunk_32.S | 47 +
arch/x86/lib/thunk_64.S | 19 +-
arch/x86/lib/usercopy_64.c | 23 +
arch/x86/mach-default/setup.c | 76 +-
arch/x86/mach-es7000/Makefile | 1 -
arch/x86/mach-es7000/es7000plat.c | 57 +-
arch/x86/mach-generic/Makefile | 10 +-
arch/x86/mach-generic/bigsmp.c | 4 +-
arch/x86/mach-generic/numaq.c | 41 +
arch/x86/mach-generic/probe.c | 15 +-
arch/x86/mach-visws/Makefile | 8 -
arch/x86/mach-visws/mpparse.c | 88 -
arch/x86/mach-visws/reboot.c | 55 -
arch/x86/mach-visws/setup.c | 183 -
arch/x86/mach-visws/traps.c | 69 -
arch/x86/mach-visws/visws_apic.c | 297 -
arch/x86/mach-voyager/setup.c | 37 +-
arch/x86/mach-voyager/voyager_smp.c | 112 +-
arch/x86/math-emu/reg_constant.c | 8 +-
arch/x86/mm/Makefile | 9 +-
arch/x86/mm/discontig_32.c | 288 +-
arch/x86/mm/dump_pagetables.c | 12 +-
arch/x86/mm/fault.c | 110 +-
arch/x86/mm/hugetlbpage.c | 78 +-
arch/x86/mm/init_32.c | 528 +-
arch/x86/mm/init_64.c | 638 +-
arch/x86/mm/ioremap.c | 45 +-
arch/x86/mm/k8topology_64.c | 21 +-
arch/x86/mm/kmmio.c | 510 +
arch/x86/mm/memtest.c | 123 +
arch/x86/mm/mmio-mod.c | 515 +
arch/x86/mm/numa_64.c | 99 +-
arch/x86/mm/pageattr-test.c | 21 +-
arch/x86/mm/pageattr.c | 67 +-
arch/x86/mm/pat.c | 470 +-
arch/x86/mm/pf_in.c | 489 +
arch/x86/mm/pf_in.h | 39 +
arch/x86/mm/pgtable.c | 190 +-
arch/x86/mm/pgtable_32.c | 56 +-
arch/x86/mm/srat_32.c | 279 +
arch/x86/mm/srat_64.c | 21 +-
arch/x86/mm/testmmiotrace.c | 71 +
arch/x86/oprofile/nmi_int.c | 49 +-
arch/x86/pci/Makefile | 22 +-
arch/x86/pci/Makefile_32 | 24 -
arch/x86/pci/Makefile_64 | 17 -
arch/x86/pci/acpi.c | 21 +-
arch/x86/pci/amd_bus.c | 586 +
arch/x86/pci/common.c | 34 +-
arch/x86/pci/direct.c | 25 +-
arch/x86/pci/early.c | 72 +-
arch/x86/pci/i386.c | 9 +-
arch/x86/pci/init.c | 4 +-
arch/x86/pci/irq.c | 386 +-
arch/x86/pci/k8-bus_64.c | 528 -
arch/x86/pci/legacy.c | 19 +-
arch/x86/pci/mmconfig-shared.c | 2 +-
arch/x86/pci/mp_bus_to_node.c | 23 -
arch/x86/pci/numa.c | 201 -
arch/x86/pci/numaq_32.c | 178 +
arch/x86/pci/pci.h | 15 +-
arch/x86/pci/visws.c | 21 +-
arch/x86/power/hibernate_64.c | 2 +-
arch/x86/vdso/Makefile | 2 +-
arch/x86/vdso/vclock_gettime.c | 15 +-
arch/x86/vdso/vdso32-setup.c | 30 +-
arch/x86/vdso/vdso32.S | 13 +-
arch/x86/vdso/vgetcpu.c | 3 +-
arch/x86/vdso/vma.c | 13 +-
arch/x86/xen/Kconfig | 20 +-
arch/x86/xen/Makefile | 2 +-
arch/x86/xen/enlighten.c | 835 +-
arch/x86/xen/manage.c | 143 -
arch/x86/xen/mmu.c | 572 +-
arch/x86/xen/mmu.h | 39 +-
arch/x86/xen/multicalls.c | 41 +-
arch/x86/xen/multicalls.h | 12 +
arch/x86/xen/setup.c | 109 +-
arch/x86/xen/smp.c | 419 +-
arch/x86/xen/suspend.c | 48 +
arch/x86/xen/time.c | 17 +-
arch/x86/xen/xen-asm.S | 305 -
arch/x86/xen/xen-asm_32.S | 305 +
arch/x86/xen/xen-asm_64.S | 271 +
arch/x86/xen/xen-head.S | 31 +-
arch/x86/xen/xen-ops.h | 35 +-
arch/xtensa/Kconfig | 4 +-
arch/xtensa/kernel/setup.c | 1 +
arch/xtensa/kernel/syscall.c | 2 +-
block/Kconfig | 12 +
block/Makefile | 4 +-
block/as-iosched.c | 18 +-
block/blk-core.c | 33 +-
block/blk-exec.c | 6 +-
block/blk-integrity.c | 381 +
block/blk-map.c | 6 +
block/blk-merge.c | 3 +
block/blk-settings.c | 24 +-
block/blk.h | 8 +
block/blktrace.c | 45 +
block/bsg.c | 57 +-
block/cfq-iosched.c | 83 +-
block/cmd-filter.c | 334 +
block/elevator.c | 8 +-
block/genhd.c | 217 +-
block/ioctl.c | 5 +-
block/scsi_ioctl.c | 121 +-
crypto/Kconfig | 54 +-
crypto/Makefile | 5 +
crypto/ahash.c | 194 +
crypto/api.c | 8 +-
crypto/async_tx/async_memcpy.c | 12 +-
crypto/async_tx/async_memset.c | 12 +-
crypto/async_tx/async_tx.c | 34 +-
crypto/async_tx/async_xor.c | 262 +-
crypto/camellia.c | 84 +-
crypto/crc32c.c | 128 +-
crypto/cryptd.c | 253 +-
crypto/digest.c | 83 +-
crypto/hash.c | 102 +-
crypto/hmac.c | 16 +-
crypto/internal.h | 1 +
crypto/ripemd.h | 43 +
crypto/rmd128.c | 325 +
crypto/rmd160.c | 369 +
crypto/rmd256.c | 344 +
crypto/rmd320.c | 393 +
crypto/tcrypt.c | 188 +-
crypto/tcrypt.h | 526 +-
drivers/Makefile | 5 +-
drivers/acorn/char/Makefile | 5 -
drivers/acorn/char/defkeymap-l7200.c | 386 -
drivers/acpi/Kconfig | 11 +-
drivers/acpi/Makefile | 3 +-
drivers/acpi/bus.c | 24 +-
drivers/acpi/dispatcher/dsinit.c | 2 +-
drivers/acpi/dispatcher/dsmethod.c | 1 -
drivers/acpi/dispatcher/dsopcode.c | 22 +-
drivers/acpi/dispatcher/dswexec.c | 8 -
drivers/acpi/dispatcher/dswstate.c | 20 +-
drivers/acpi/events/evevent.c | 6 +-
drivers/acpi/events/evgpe.c | 36 +-
drivers/acpi/events/evgpeblk.c | 18 +-
drivers/acpi/events/evmisc.c | 4 +-
drivers/acpi/events/evregion.c | 5 +-
drivers/acpi/events/evrgnini.c | 2 +-
drivers/acpi/events/evxfevnt.c | 18 +-
drivers/acpi/executer/exconfig.c | 17 +-
drivers/acpi/executer/exconvrt.c | 12 +-
drivers/acpi/executer/excreate.c | 2 -
drivers/acpi/executer/exdump.c | 67 +-
drivers/acpi/executer/exfldio.c | 9 +-
drivers/acpi/executer/exmisc.c | 8 +-
drivers/acpi/executer/exprep.c | 8 +-
drivers/acpi/executer/exregion.c | 2 +-
drivers/acpi/executer/exresop.c | 4 +
drivers/acpi/executer/exstore.c | 6 -
drivers/acpi/fan.c | 18 +-
drivers/acpi/glue.c | 8 +-
drivers/acpi/hardware/hwgpe.c | 52 +-
drivers/acpi/namespace/nsdump.c | 6 +-
drivers/acpi/namespace/nseval.c | 35 +
drivers/acpi/namespace/nsinit.c | 1 -
drivers/acpi/namespace/nsload.c | 3 +-
drivers/acpi/namespace/nsnames.c | 8 +
drivers/acpi/namespace/nsparse.c | 15 +-
drivers/acpi/namespace/nsutils.c | 50 +-
drivers/acpi/namespace/nsxfeval.c | 3 +-
drivers/acpi/numa.c | 4 +-
drivers/acpi/parser/psargs.c | 4 +-
drivers/acpi/parser/psxface.c | 4 +-
drivers/acpi/pci_irq.c | 38 +-
drivers/acpi/pci_link.c | 31 +-
drivers/acpi/pci_slot.c | 369 +
drivers/acpi/power.c | 138 +-
drivers/acpi/processor_core.c | 80 +-
drivers/acpi/processor_idle.c | 36 +-
drivers/acpi/processor_perflib.c | 18 +-
drivers/acpi/processor_throttling.c | 55 +-
drivers/acpi/reboot.c | 50 +
drivers/acpi/resources/rscalc.c | 4 +-
drivers/acpi/resources/rscreate.c | 41 +-
drivers/acpi/resources/rsmisc.c | 2 +-
drivers/acpi/resources/rsutils.c | 13 +-
drivers/acpi/scan.c | 106 +-
drivers/acpi/sleep/main.c | 356 +-
drivers/acpi/sleep/wakeup.c | 13 +-
drivers/acpi/system.c | 170 +-
drivers/acpi/tables/tbfadt.c | 6 +-
drivers/acpi/tables/tbfind.c | 5 +-
drivers/acpi/tables/tbinstal.c | 30 +-
drivers/acpi/tables/tbutils.c | 15 +-
drivers/acpi/tables/tbxface.c | 28 +-
drivers/acpi/tables/tbxfroot.c | 4 +-
drivers/acpi/thermal.c | 47 +-
drivers/acpi/utilities/utalloc.c | 9 +-
drivers/acpi/utilities/utcopy.c | 4 +-
drivers/acpi/utilities/utdebug.c | 54 +-
drivers/acpi/utilities/utdelete.c | 2 +-
drivers/acpi/utilities/uteval.c | 5 +-
drivers/acpi/utilities/utmisc.c | 39 +-
drivers/acpi/utilities/utmutex.c | 4 +-
drivers/acpi/utilities/utobject.c | 9 +-
drivers/acpi/video.c | 142 +-
drivers/ata/ahci.c | 331 +-
drivers/ata/libata-core.c | 56 +-
drivers/ata/libata-eh.c | 219 +-
drivers/ata/libata-pmp.c | 13 +-
drivers/ata/libata-scsi.c | 102 +-
drivers/ata/libata-sff.c | 15 +-
drivers/ata/libata.h | 2 +
drivers/ata/pata_bf54x.c | 6 +-
drivers/ata/pata_legacy.c | 10 +-
drivers/ata/pata_mpc52xx.c | 2 +-
drivers/ata/pata_qdi.c | 2 +-
drivers/ata/pata_scc.c | 2 +-
drivers/ata/pata_winbond.c | 2 +-
drivers/ata/sata_svw.c | 38 +-
drivers/atm/Kconfig | 79 +-
drivers/atm/Makefile | 39 -
drivers/atm/ambassador.c | 140 +-
drivers/atm/ambassador.h | 11 -
drivers/atm/atmsar11.data | 2063 ---
drivers/atm/atmsar11.regions | 6 -
drivers/atm/atmsar11.start | 4 -
drivers/atm/fore200e.c | 141 +-
drivers/atm/fore200e.h | 3 -
drivers/atm/fore200e_firmware_copyright | 31 -
drivers/atm/fore200e_mkfirm.c | 154 -
drivers/atm/he.c | 152 -
drivers/atm/he.h | 26 -
drivers/atm/iphase.c | 30 +-
drivers/atm/pca200e.data | 850 -
drivers/atm/pca200e_ecd.data | 906 -
drivers/atm/sba200e_ecd.data | 928 -
drivers/atm/suni.c | 130 +-
drivers/atm/suni.h | 40 +-
drivers/auxdisplay/cfag12864b.c | 13 +-
drivers/base/Kconfig | 67 +-
drivers/base/base.h | 27 +
drivers/base/class.c | 153 +-
drivers/base/core.c | 196 +-
drivers/base/cpu.c | 14 +-
drivers/base/firmware_class.c | 47 +-
drivers/base/memory.c | 31 +-
drivers/base/node.c | 15 +-
drivers/base/platform.c | 296 +-
drivers/base/power/main.c | 675 +-
drivers/base/power/power.h | 2 +-
drivers/base/power/sysfs.c | 3 -
drivers/base/power/trace.c | 8 +-
drivers/base/sys.c | 64 +-
drivers/base/topology.c | 66 +-
drivers/block/DAC960.c | 157 +-
drivers/block/Kconfig | 12 +
drivers/block/Makefile | 1 +
drivers/block/aoe/aoechr.c | 21 +-
drivers/block/aoe/aoecmd.c | 2 +-
drivers/block/ataflop.c | 4 +-
drivers/block/hd.c | 814 +
drivers/block/paride/pd.c | 20 +-
drivers/block/paride/pg.c | 27 +-
drivers/block/paride/pt.c | 37 +-
drivers/block/pktcdvd.c | 50 +-
drivers/block/virtio_blk.c | 10 +-
drivers/block/xen-blkfront.c | 48 +-
drivers/bluetooth/Kconfig | 1 +
drivers/bluetooth/bfusb.c | 3 +-
drivers/bluetooth/bt3c_cs.c | 3 +-
drivers/bluetooth/hci_bcsp.c | 44 +-
drivers/bluetooth/hci_ldisc.c | 6 +-
drivers/bluetooth/hci_vhci.c | 14 +-
drivers/cdrom/cdrom.c | 274 +-
drivers/char/Kconfig | 36 +-
drivers/char/Makefile | 7 +-
drivers/char/agp/amd64-agp.c | 85 +-
drivers/char/agp/frontend.c | 4 +
drivers/char/agp/generic.c | 2 +-
drivers/char/amiserial.c | 3 +-
drivers/char/apm-emulation.c | 349 +-
drivers/char/briq_panel.c | 9 +-
drivers/char/bsr.c | 312 +
drivers/char/cs5535_gpio.c | 2 +
drivers/char/cyclades.c | 360 +-
drivers/char/drm/Kconfig | 107 -
drivers/char/drm/Makefile | 40 -
drivers/char/drm/README.drm | 43 -
drivers/char/drm/ati_pcigart.c | 181 -
drivers/char/drm/drm.h | 694 -
drivers/char/drm/drmP.h | 1153 --
drivers/char/drm/drm_agpsupport.c | 455 -
drivers/char/drm/drm_auth.c | 190 -
drivers/char/drm/drm_bufs.c | 1601 --
drivers/char/drm/drm_context.c | 471 -
drivers/char/drm/drm_core.h | 34 -
drivers/char/drm/drm_dma.c | 180 -
drivers/char/drm/drm_drawable.c | 192 -
drivers/char/drm/drm_drv.c | 540 -
drivers/char/drm/drm_fops.c | 466 -
drivers/char/drm/drm_hashtab.c | 202 -
drivers/char/drm/drm_hashtab.h | 67 -
drivers/char/drm/drm_ioc32.c | 1073 --
drivers/char/drm/drm_ioctl.c | 352 -
drivers/char/drm/drm_irq.c | 462 -
drivers/char/drm/drm_lock.c | 391 -
drivers/char/drm/drm_memory.c | 181 -
drivers/char/drm/drm_memory.h | 61 -
drivers/char/drm/drm_memory_debug.h | 309 -
drivers/char/drm/drm_mm.c | 295 -
drivers/char/drm/drm_os_linux.h | 108 -
drivers/char/drm/drm_pci.c | 183 -
drivers/char/drm/drm_pciids.h | 415 -
drivers/char/drm/drm_proc.c | 557 -
drivers/char/drm/drm_sarea.h | 84 -
drivers/char/drm/drm_scatter.c | 227 -
drivers/char/drm/drm_sman.c | 353 -
drivers/char/drm/drm_sman.h | 176 -
drivers/char/drm/drm_stub.c | 331 -
drivers/char/drm/drm_sysfs.c | 208 -
drivers/char/drm/drm_vm.c | 673 -
drivers/char/drm/i810_dma.c | 1283 --
drivers/char/drm/i810_drm.h | 281 -
drivers/char/drm/i810_drv.c | 97 -
drivers/char/drm/i810_drv.h | 242 -
drivers/char/drm/i830_dma.c | 1553 --
drivers/char/drm/i830_drm.h | 342 -
drivers/char/drm/i830_drv.c | 108 -
drivers/char/drm/i830_drv.h | 292 -
drivers/char/drm/i830_irq.c | 186 -
drivers/char/drm/i915_dma.c | 858 -
drivers/char/drm/i915_drm.h | 270 -
drivers/char/drm/i915_drv.c | 605 -
drivers/char/drm/i915_drv.h | 1142 --
drivers/char/drm/i915_ioc32.c | 222 -
drivers/char/drm/i915_irq.c | 623 -
drivers/char/drm/i915_mem.c | 386 -
drivers/char/drm/mga_dma.c | 1162 --
drivers/char/drm/mga_drm.h | 417 -
drivers/char/drm/mga_drv.c | 141 -
drivers/char/drm/mga_drv.h | 687 -
drivers/char/drm/mga_ioc32.c | 231 -
drivers/char/drm/mga_irq.c | 148 -
drivers/char/drm/mga_state.c | 1104 --
drivers/char/drm/mga_ucode.h |11645 ------------
drivers/char/drm/mga_warp.c | 193 -
drivers/char/drm/r128_cce.c | 935 -
drivers/char/drm/r128_drm.h | 326 -
drivers/char/drm/r128_drv.c | 103 -
drivers/char/drm/r128_drv.h | 522 -
drivers/char/drm/r128_ioc32.c | 221 -
drivers/char/drm/r128_irq.c | 101 -
drivers/char/drm/r128_state.c | 1681 --
drivers/char/drm/r300_cmdbuf.c | 1071 --
drivers/char/drm/r300_reg.h | 1772 --
drivers/char/drm/radeon_cp.c | 1773 --
drivers/char/drm/radeon_drm.h | 749 -
drivers/char/drm/radeon_drv.c | 126 -
drivers/char/drm/radeon_drv.h | 1406 --
drivers/char/drm/radeon_ioc32.c | 424 -
drivers/char/drm/radeon_irq.c | 320 -
drivers/char/drm/radeon_mem.c | 302 -
drivers/char/drm/radeon_microcode.h | 1844 --
drivers/char/drm/radeon_state.c | 3203 ----
drivers/char/drm/savage_bci.c | 1095 --
drivers/char/drm/savage_drm.h | 210 -
drivers/char/drm/savage_drv.c | 88 -
drivers/char/drm/savage_drv.h | 575 -
drivers/char/drm/savage_state.c | 1163 --
drivers/char/drm/sis_drm.h | 67 -
drivers/char/drm/sis_drv.c | 117 -
drivers/char/drm/sis_drv.h | 73 -
drivers/char/drm/sis_mm.c | 333 -
drivers/char/drm/tdfx_drv.c | 84 -
drivers/char/drm/tdfx_drv.h | 47 -
drivers/char/drm/via_3d_reg.h | 1650 --
drivers/char/drm/via_dma.c | 755 -
drivers/char/drm/via_dmablit.c | 816 -
drivers/char/drm/via_dmablit.h | 140 -
drivers/char/drm/via_drm.h | 275 -
drivers/char/drm/via_drv.c | 100 -
drivers/char/drm/via_drv.h | 153 -
drivers/char/drm/via_irq.c | 377 -
drivers/char/drm/via_map.c | 123 -
drivers/char/drm/via_mm.c | 194 -
drivers/char/drm/via_verifier.c | 1116 --
drivers/char/drm/via_verifier.h | 62 -
drivers/char/drm/via_video.c | 93 -
drivers/char/ds1286.c | 4 +
drivers/char/ds1302.c | 17 +-
drivers/char/ds1620.c | 9 +-
drivers/char/dsp56k.c | 123 +-
drivers/char/dtlk.c | 3 +
drivers/char/efirtc.c | 37 +-
drivers/char/epca.c | 168 +-
drivers/char/epca.h | 7 +-
drivers/char/esp.c | 277 +-
drivers/char/generic_serial.c | 158 +-
drivers/char/genrtc.c | 7 +-
drivers/char/hpet.c | 6 +
drivers/char/hvc_console.c | 93 +-
drivers/char/hvc_console.h | 45 +-
drivers/char/hvc_irq.c | 44 +
drivers/char/hvc_iseries.c | 2 +
drivers/char/hvc_vio.c | 2 +
drivers/char/hvc_xen.c | 63 +-
drivers/char/hw_random/Kconfig | 13 +
drivers/char/hw_random/Makefile | 2 +
drivers/char/hw_random/core.c | 2 +
drivers/char/hw_random/n2-asm.S | 79 +
drivers/char/hw_random/n2-drv.c | 771 +
drivers/char/hw_random/n2rng.h | 118 +
drivers/char/hw_random/pasemi-rng.c | 2 +-
drivers/char/ip2/fip_firm.h | 2149 ---
drivers/char/ip2/i2lib.c | 4 +-
drivers/char/ip2/ip2base.c | 5 +-
drivers/char/ip2/ip2main.c | 113 +-
drivers/char/ip27-rtc.c | 4 +
drivers/char/ipmi/ipmi_devintf.c | 12 +-
drivers/char/ipmi/ipmi_watchdog.c | 3 +
drivers/char/isicom.c | 245 +-
drivers/char/istallion.c | 155 +-
drivers/char/keyboard.c | 2 +
drivers/char/lcd.c | 513 -
drivers/char/lcd.h | 154 -
drivers/char/lp.c | 41 +-
drivers/char/mbcs.c | 5 +
drivers/char/mem.c | 23 +-
drivers/char/misc.c | 7 +-
drivers/char/mmtimer.c | 29 +-
drivers/char/moxa.c | 100 +-
drivers/char/mspec.c | 23 +-
drivers/char/mwave/mwavedd.c | 41 +-
drivers/char/mwave/mwavedd.h | 2 +
drivers/char/mwave/tp3780i.c | 2 -
drivers/char/mxser.c | 662 +-
drivers/char/n_hdlc.c | 10 +-
drivers/char/n_r3964.c | 2 +-
drivers/char/n_tty.c | 2 +-
drivers/char/nvram.c | 5 +-
drivers/char/nwflash.c | 31 +-
drivers/char/pc8736x_gpio.c | 2 +
drivers/char/pcmcia/cm4000_cs.c | 120 +-
drivers/char/pcmcia/cm4040_cs.c | 26 +-
drivers/char/pcmcia/ipwireless/main.c | 1 -
drivers/char/pcmcia/synclink_cs.c | 37 +-
drivers/char/ppdev.c | 25 +-
drivers/char/pty.c | 10 +-
drivers/char/random.c | 1 +
drivers/char/raw.c | 10 +-
drivers/char/rio/cirrus.h | 3 -
drivers/char/rio/cmdblk.h | 6 -
drivers/char/rio/cmdpkt.h | 6 -
drivers/char/rio/daemon.h | 6 -
drivers/char/rio/errors.h | 6 -
drivers/char/rio/func.h | 6 -
drivers/char/rio/map.h | 4 -
drivers/char/rio/param.h | 5 -
drivers/char/rio/parmmap.h | 7 -
drivers/char/rio/pci.h | 4 -
drivers/char/rio/protsts.h | 7 -
drivers/char/rio/rio_linux.c | 33 +-
drivers/char/rio/rioboard.h | 6 -
drivers/char/rio/riocmd.c | 13 +-
drivers/char/rio/rioctrl.c | 4 -
drivers/char/rio/riodrvr.h | 4 -
drivers/char/rio/rioinfo.h | 4 -
drivers/char/rio/rioinit.c | 3 -
drivers/char/rio/riointr.c | 14 +-
drivers/char/rio/rioparam.c | 6 +-
drivers/char/rio/rioroute.c | 3 -
drivers/char/rio/riospace.h | 4 -
drivers/char/rio/riotable.c | 3 -
drivers/char/rio/riotty.c | 20 +-
drivers/char/rio/route.h | 6 -
drivers/char/rio/unixrup.h | 4 -
drivers/char/riscom8.c | 214 +-
drivers/char/riscom8.h | 10 +-
drivers/char/rocket.c | 144 +-
drivers/char/rocket.h | 4 +-
drivers/char/rocket_int.h | 11 +-
drivers/char/rtc.c | 23 +-
drivers/char/scx200_gpio.c | 2 +
drivers/char/selection.c | 3 +-
drivers/char/snsc.c | 8 +-
drivers/char/sonypi.c | 3 +
drivers/char/specialix.c | 934 +-
drivers/char/specialix_io8.h | 8 +-
drivers/char/stallion.c | 181 +-
drivers/char/sx.c | 191 +-
drivers/char/synclink.c | 253 +-
drivers/char/synclink_gt.c | 401 +-
drivers/char/synclinkmp.c | 259 +-
drivers/char/sysrq.c | 2 +-
drivers/char/tb0219.c | 2 +
drivers/char/tlclk.c | 19 +-
drivers/char/tpm/tpm.c | 5 +
drivers/char/tty_io.c | 820 +-
drivers/char/tty_ioctl.c | 16 +-
drivers/char/tty_ldisc.c | 714 +
drivers/char/vc_screen.c | 21 +-
drivers/char/viotape.c | 34 +-
drivers/char/virtio_console.c | 40 +-
drivers/char/vme_scc.c | 5 +-
drivers/char/vr41xx_giu.c | 2 +
drivers/char/vt.c | 20 +-
drivers/char/xilinx_hwicap/xilinx_hwicap.c | 12 +-
drivers/clocksource/acpi_pm.c | 19 +
drivers/cpufreq/cpufreq.c | 59 +-
drivers/cpufreq/cpufreq_conservative.c | 2 +-
drivers/cpufreq/cpufreq_ondemand.c | 4 +-
drivers/cpufreq/cpufreq_stats.c | 24 +-
drivers/cpufreq/cpufreq_userspace.c | 79 +-
drivers/cpufreq/freq_table.c | 12 +-
drivers/cpuidle/cpuidle.c | 2 +-
drivers/cpuidle/sysfs.c | 10 +-
drivers/crypto/Kconfig | 26 +
drivers/crypto/Makefile | 2 +
drivers/crypto/hifn_795x.c | 367 +-
drivers/crypto/ixp4xx_crypto.c | 1506 ++
drivers/crypto/padlock-aes.c | 4 +-
drivers/crypto/padlock-sha.c | 4 +-
drivers/crypto/talitos.c | 1597 ++
drivers/crypto/talitos.h | 199 +
drivers/dca/dca-core.c | 131 +-
drivers/dca/dca-sysfs.c | 9 +-
drivers/dio/dio-driver.c | 14 +-
drivers/dma/Kconfig | 37 +-
drivers/dma/Makefile | 3 +
drivers/dma/dmaengine.c | 35 +-
drivers/dma/dmatest.c | 444 +
drivers/dma/dw_dmac.c | 1122 ++
drivers/dma/dw_dmac_regs.h | 225 +
drivers/dma/fsldma.c | 38 +-
drivers/dma/ioat.c | 15 +
drivers/dma/ioat_dca.c | 244 +-
drivers/dma/ioat_dma.c | 402 +-
drivers/dma/ioatdma.h | 28 +-
drivers/dma/ioatdma_hw.h | 1 +
drivers/dma/ioatdma_registers.h | 20 +
drivers/dma/iop-adma.c | 53 +-
drivers/dma/mv_xor.c | 1375 ++
drivers/dma/mv_xor.h | 183 +
drivers/edac/Kconfig | 7 +
drivers/edac/Makefile | 1 +
drivers/edac/cell_edac.c | 5 +-
drivers/edac/e752x_edac.c | 59 +-
drivers/edac/edac_mc_sysfs.c | 158 +-
drivers/edac/edac_pci_sysfs.c | 30 +-
drivers/edac/i5100_edac.c | 981 +
drivers/edac/mpc85xx_edac.c | 67 +-
drivers/edac/mv64x60_edac.c | 37 +-
drivers/eisa/Makefile | 2 +-
drivers/eisa/eisa-bus.c | 4 +-
drivers/firewire/fw-card.c | 32 +-
drivers/firewire/fw-device.c | 5 +-
drivers/firewire/fw-device.h | 1 -
drivers/firewire/fw-ohci.c | 1 -
drivers/firewire/fw-sbp2.c | 25 +-
drivers/firewire/fw-transaction.c | 32 +-
drivers/firewire/fw-transaction.h | 34 +-
drivers/firmware/Kconfig | 10 +
drivers/firmware/Makefile | 1 +
drivers/firmware/dcdbas.c | 16 +-
drivers/firmware/dell_rbu.c | 30 +-
drivers/firmware/dmi_scan.c | 5 +
drivers/firmware/memmap.c | 205 +
drivers/gpio/Kconfig | 96 +-
drivers/gpio/Makefile | 5 +-
drivers/gpio/bt8xxgpio.c | 348 +
drivers/gpio/gpiolib.c | 536 +-
drivers/gpio/max7301.c | 339 +
drivers/gpio/max732x.c | 385 +
drivers/gpio/mcp23s08.c | 134 +-
drivers/gpio/pca953x.c | 1 +
drivers/gpio/pcf857x.c | 34 +-
drivers/gpu/Makefile | 1 +
drivers/gpu/drm/Kconfig | 107 +
drivers/gpu/drm/Makefile | 26 +
drivers/gpu/drm/README.drm | 43 +
drivers/gpu/drm/ati_pcigart.c | 181 +
drivers/gpu/drm/drm_agpsupport.c | 455 +
drivers/gpu/drm/drm_auth.c | 190 +
drivers/gpu/drm/drm_bufs.c | 1601 ++
drivers/gpu/drm/drm_context.c | 471 +
drivers/gpu/drm/drm_dma.c | 180 +
drivers/gpu/drm/drm_drawable.c | 192 +
drivers/gpu/drm/drm_drv.c | 540 +
drivers/gpu/drm/drm_fops.c | 471 +
drivers/gpu/drm/drm_hashtab.c | 202 +
drivers/gpu/drm/drm_ioc32.c | 1073 ++
drivers/gpu/drm/drm_ioctl.c | 352 +
drivers/gpu/drm/drm_irq.c | 462 +
drivers/gpu/drm/drm_lock.c | 391 +
drivers/gpu/drm/drm_memory.c | 186 +
drivers/gpu/drm/drm_mm.c | 295 +
drivers/gpu/drm/drm_pci.c | 183 +
drivers/gpu/drm/drm_proc.c | 557 +
drivers/gpu/drm/drm_scatter.c | 227 +
drivers/gpu/drm/drm_sman.c | 353 +
drivers/gpu/drm/drm_stub.c | 331 +
drivers/gpu/drm/drm_sysfs.c | 208 +
drivers/gpu/drm/drm_vm.c | 673 +
drivers/gpu/drm/i810/Makefile | 8 +
drivers/gpu/drm/i810/i810_dma.c | 1283 ++
drivers/gpu/drm/i810/i810_drv.c | 97 +
drivers/gpu/drm/i810/i810_drv.h | 242 +
drivers/gpu/drm/i830/Makefile | 8 +
drivers/gpu/drm/i830/i830_dma.c | 1553 ++
drivers/gpu/drm/i830/i830_drv.c | 108 +
drivers/gpu/drm/i830/i830_drv.h | 292 +
drivers/gpu/drm/i830/i830_irq.c | 186 +
drivers/gpu/drm/i915/Makefile | 10 +
drivers/gpu/drm/i915/i915_dma.c | 858 +
drivers/gpu/drm/i915/i915_drv.c | 605 +
drivers/gpu/drm/i915/i915_drv.h | 1142 ++
drivers/gpu/drm/i915/i915_ioc32.c | 222 +
drivers/gpu/drm/i915/i915_irq.c | 623 +
drivers/gpu/drm/i915/i915_mem.c | 386 +
drivers/gpu/drm/mga/Makefile | 11 +
drivers/gpu/drm/mga/mga_dma.c | 1162 ++
drivers/gpu/drm/mga/mga_drv.c | 141 +
drivers/gpu/drm/mga/mga_drv.h | 687 +
drivers/gpu/drm/mga/mga_ioc32.c | 231 +
drivers/gpu/drm/mga/mga_irq.c | 148 +
drivers/gpu/drm/mga/mga_state.c | 1104 ++
drivers/gpu/drm/mga/mga_ucode.h |11645 ++++++++++++
drivers/gpu/drm/mga/mga_warp.c | 193 +
drivers/gpu/drm/r128/Makefile | 10 +
drivers/gpu/drm/r128/r128_cce.c | 935 +
drivers/gpu/drm/r128/r128_drv.c | 103 +
drivers/gpu/drm/r128/r128_drv.h | 522 +
drivers/gpu/drm/r128/r128_ioc32.c | 221 +
drivers/gpu/drm/r128/r128_irq.c | 101 +
drivers/gpu/drm/r128/r128_state.c | 1681 ++
drivers/gpu/drm/radeon/Makefile | 10 +
drivers/gpu/drm/radeon/r300_cmdbuf.c | 1071 ++
drivers/gpu/drm/radeon/r300_reg.h | 1772 ++
drivers/gpu/drm/radeon/radeon_cp.c | 1773 ++
drivers/gpu/drm/radeon/radeon_drv.c | 126 +
drivers/gpu/drm/radeon/radeon_drv.h | 1406 ++
drivers/gpu/drm/radeon/radeon_ioc32.c | 424 +
drivers/gpu/drm/radeon/radeon_irq.c | 320 +
drivers/gpu/drm/radeon/radeon_mem.c | 302 +
drivers/gpu/drm/radeon/radeon_microcode.h | 1844 ++
drivers/gpu/drm/radeon/radeon_state.c | 3203 ++++
drivers/gpu/drm/savage/Makefile | 9 +
drivers/gpu/drm/savage/savage_bci.c | 1095 ++
drivers/gpu/drm/savage/savage_drv.c | 88 +
drivers/gpu/drm/savage/savage_drv.h | 575 +
drivers/gpu/drm/savage/savage_state.c | 1163 ++
drivers/gpu/drm/sis/Makefile | 10 +
drivers/gpu/drm/sis/sis_drv.c | 117 +
drivers/gpu/drm/sis/sis_drv.h | 73 +
drivers/gpu/drm/sis/sis_mm.c | 333 +
drivers/gpu/drm/tdfx/Makefile | 8 +
drivers/gpu/drm/tdfx/tdfx_drv.c | 84 +
drivers/gpu/drm/tdfx/tdfx_drv.h | 47 +
drivers/gpu/drm/via/Makefile | 8 +
drivers/gpu/drm/via/via_3d_reg.h | 1650 ++
drivers/gpu/drm/via/via_dma.c | 755 +
drivers/gpu/drm/via/via_dmablit.c | 816 +
drivers/gpu/drm/via/via_dmablit.h | 140 +
drivers/gpu/drm/via/via_drv.c | 100 +
drivers/gpu/drm/via/via_drv.h | 153 +
drivers/gpu/drm/via/via_irq.c | 377 +
drivers/gpu/drm/via/via_map.c | 123 +
drivers/gpu/drm/via/via_mm.c | 194 +
drivers/gpu/drm/via/via_verifier.c | 1116 ++
drivers/gpu/drm/via/via_verifier.h | 62 +
drivers/gpu/drm/via/via_video.c | 93 +
drivers/hid/hid-core.c | 10 +-
drivers/hid/hid-input-quirks.c | 40 +
drivers/hid/hid-input.c | 3 +
drivers/hid/hidraw.c | 56 +-
drivers/hid/usbhid/hid-core.c | 2 +-
drivers/hid/usbhid/hid-quirks.c | 22 +-
drivers/hid/usbhid/hiddev.c | 14 +-
drivers/hid/usbhid/usbkbd.c | 10 +-
drivers/hid/usbhid/usbmouse.c | 8 -
drivers/hwmon/ad7418.c | 109 +-
drivers/hwmon/adm1021.c | 105 +-
drivers/hwmon/adm1025.c | 101 +-
drivers/hwmon/adm1026.c | 109 +-
drivers/hwmon/adm1029.c | 97 +-
drivers/hwmon/adm1031.c | 96 +-
drivers/hwmon/adm9240.c | 93 +-
drivers/hwmon/ads7828.c | 89 +-
drivers/hwmon/adt7470.c | 100 +-
drivers/hwmon/adt7473.c | 102 +-
drivers/hwmon/ams/ams-core.c | 2 +-
drivers/hwmon/asb100.c | 207 +-
drivers/hwmon/atxp1.c | 109 +-
drivers/hwmon/ds1621.c | 99 +-
drivers/hwmon/f75375s.c | 89 +-
drivers/hwmon/fscher.c | 93 +-
drivers/hwmon/fschmd.c | 112 +-
drivers/hwmon/fscpos.c | 94 +-
drivers/hwmon/gl518sm.c | 99 +-
drivers/hwmon/gl520sm.c | 91 +-
drivers/hwmon/hdaps.c | 2 +
drivers/hwmon/hwmon.c | 3 +-
drivers/hwmon/lm63.c | 99 +-
drivers/hwmon/lm77.c | 102 +-
drivers/hwmon/lm80.c | 94 +-
drivers/hwmon/lm83.c | 104 +-
drivers/hwmon/lm87.c | 99 +-
drivers/hwmon/lm90.c | 119 +-
drivers/hwmon/lm92.c | 98 +-
drivers/hwmon/lm93.c | 126 +-
drivers/hwmon/max1619.c | 101 +-
drivers/hwmon/max6650.c | 102 +-
drivers/hwmon/smsc47m192.c | 102 +-
drivers/hwmon/thmc50.c | 107 +-
drivers/hwmon/w83791d.c | 205 +-
drivers/hwmon/w83792d.c | 214 +-
drivers/hwmon/w83793.c | 227 +-
drivers/hwmon/w83l785ts.c | 117 +-
drivers/hwmon/w83l786ng.c | 98 +-
drivers/i2c/algos/i2c-algo-bit.c | 4 +-
drivers/i2c/algos/i2c-algo-pca.c | 2 +-
drivers/i2c/algos/i2c-algo-pcf.c | 48 +-
drivers/i2c/busses/Kconfig | 715 +-
drivers/i2c/busses/Makefile | 57 +-
drivers/i2c/busses/i2c-ali1535.c | 38 +-
drivers/i2c/busses/i2c-ali1563.c | 38 +-
drivers/i2c/busses/i2c-ali15x3.c | 32 +-
drivers/i2c/busses/i2c-amd756-s4882.c | 31 +-
drivers/i2c/busses/i2c-amd756.c | 35 +-
drivers/i2c/busses/i2c-amd8111.c | 54 +-
drivers/i2c/busses/i2c-au1550.c | 130 +-
drivers/i2c/busses/i2c-cpm.c | 745 +
drivers/i2c/busses/i2c-davinci.c | 89 +-
drivers/i2c/busses/i2c-elektor.c | 4 +-
drivers/i2c/busses/i2c-gpio.c | 2 +-
drivers/i2c/busses/i2c-hydra.c | 3 -
drivers/i2c/busses/i2c-i801.c | 284 +-
drivers/i2c/busses/i2c-i810.c | 260 -
drivers/i2c/busses/i2c-ibm_iic.c | 206 +-
drivers/i2c/busses/i2c-iop3xx.c | 2 +-
drivers/i2c/busses/i2c-isch.c | 339 +
drivers/i2c/busses/i2c-mpc.c | 106 +-
drivers/i2c/busses/i2c-mv64xxx.c | 2 +-
drivers/i2c/busses/i2c-nforce2-s4985.c | 256 +
drivers/i2c/busses/i2c-nforce2.c | 49 +-
drivers/i2c/busses/i2c-ocores.c | 44 +-
drivers/i2c/busses/i2c-pasemi.c | 2 +-
drivers/i2c/busses/i2c-pca-platform.c | 2 +-
drivers/i2c/busses/i2c-piix4.c | 73 +-
drivers/i2c/busses/i2c-pmcmsp.c | 2 +-
drivers/i2c/busses/i2c-prosavage.c | 325 -
drivers/i2c/busses/i2c-pxa.c | 32 +-
drivers/i2c/busses/i2c-s3c2410.c | 2 +-
drivers/i2c/busses/i2c-savage4.c | 185 -
drivers/i2c/busses/i2c-sibyte.c | 8 +-
drivers/i2c/busses/i2c-sis5595.c | 29 +-
drivers/i2c/busses/i2c-sis630.c | 59 +-
drivers/i2c/busses/i2c-sis96x.c | 37 +-
drivers/i2c/busses/i2c-stub.c | 6 +-
drivers/i2c/busses/i2c-taos-evm.c | 5 +-
drivers/i2c/busses/i2c-via.c | 5 +-
drivers/i2c/busses/i2c-viapro.c | 31 +-
drivers/i2c/busses/i2c-voodoo3.c | 2 -
drivers/i2c/busses/scx200_acb.c | 2 +-
drivers/i2c/chips/Kconfig | 45 +-
drivers/i2c/chips/Makefile | 1 +
drivers/i2c/chips/at24.c | 583 +
drivers/i2c/chips/eeprom.c | 143 +-
drivers/i2c/chips/isp1301_omap.c | 163 +-
drivers/i2c/chips/max6875.c | 122 +-
drivers/i2c/chips/pca9539.c | 110 +-
drivers/i2c/chips/pcf8574.c | 115 +-
drivers/i2c/chips/pcf8575.c | 96 +-
drivers/i2c/chips/pcf8591.c | 111 +-
drivers/i2c/chips/tps65010.c | 2 +
drivers/i2c/i2c-core.c | 581 +-
drivers/i2c/i2c-dev.c | 40 +-
drivers/ide/Kconfig | 98 +-
drivers/ide/Makefile | 20 +-
drivers/ide/arm/Makefile | 1 -
drivers/ide/arm/bast-ide.c | 90 -
drivers/ide/arm/icside.c | 140 +-
drivers/ide/arm/ide_arm.c | 14 +-
drivers/ide/arm/palm_bk3710.c | 45 +-
drivers/ide/arm/rapide.c | 45 +-
drivers/ide/h8300/ide-h8300.c | 65 +-
drivers/ide/ide-acpi.c | 6 +-
drivers/ide/ide-atapi.c | 314 +
drivers/ide/ide-cd.c | 474 +-
drivers/ide/ide-cd.h | 42 +-
drivers/ide/ide-cd_ioctl.c | 140 +-
drivers/ide/ide-disk.c | 28 +-
drivers/ide/ide-dma.c | 109 +-
drivers/ide/ide-floppy.c | 473 +-
drivers/ide/ide-generic.c | 107 +-
drivers/ide/ide-io.c | 224 +-
drivers/ide/ide-iops.c | 274 +-
drivers/ide/ide-lib.c | 168 +-
drivers/ide/ide-pio-blacklist.c | 94 +
drivers/ide/ide-pnp.c | 33 +-
drivers/ide/ide-probe.c | 440 +-
drivers/ide/ide-proc.c | 8 +-
drivers/ide/ide-tape.c | 698 +-
drivers/ide/ide-taskfile.c | 113 +-
drivers/ide/ide-timing.h | 218 -
drivers/ide/ide-timings.c | 205 +
drivers/ide/ide.c | 508 +-
drivers/ide/legacy/ali14xx.c | 5 +-
drivers/ide/legacy/buddha.c | 25 +-
drivers/ide/legacy/falconide.c | 57 +-
drivers/ide/legacy/gayle.c | 48 +-
drivers/ide/legacy/hd.c | 815 -
drivers/ide/legacy/ht6560b.c | 41 +-
drivers/ide/legacy/ide-4drives.c | 43 +-
drivers/ide/legacy/ide-cs.c | 69 +-
drivers/ide/legacy/ide_platform.c | 39 +-
drivers/ide/legacy/macide.c | 16 +-
drivers/ide/legacy/q40ide.c | 48 +-
drivers/ide/legacy/qd65xx.c | 23 +-
drivers/ide/mips/au1xxx-ide.c | 69 +-
drivers/ide/mips/swarm.c | 36 +-
drivers/ide/pci/aec62xx.c | 81 +-
drivers/ide/pci/alim15x3.c | 38 +-
drivers/ide/pci/amd74xx.c | 170 +-
drivers/ide/pci/atiixp.c | 20 +-
drivers/ide/pci/cmd640.c | 156 +-
drivers/ide/pci/cmd64x.c | 72 +-
drivers/ide/pci/cs5520.c | 63 +-
drivers/ide/pci/cs5530.c | 20 +-
drivers/ide/pci/cs5535.c | 20 +-
drivers/ide/pci/cy82c693.c | 46 +-
drivers/ide/pci/delkin_cb.c | 26 +-
drivers/ide/pci/generic.c | 78 +-
drivers/ide/pci/hpt34x.c | 22 +-
drivers/ide/pci/hpt366.c | 209 +-
drivers/ide/pci/it8213.c | 35 +-
drivers/ide/pci/it821x.c | 80 +-
drivers/ide/pci/jmicron.c | 13 +-
drivers/ide/pci/ns87415.c | 130 +-
drivers/ide/pci/opti621.c | 13 +-
drivers/ide/pci/pdc202xx_new.c | 78 +-
drivers/ide/pci/pdc202xx_old.c | 52 +-
drivers/ide/pci/piix.c | 122 +-
drivers/ide/pci/rz1000.c | 13 +-
drivers/ide/pci/sc1200.c | 50 +-
drivers/ide/pci/scc_pata.c | 153 +-
drivers/ide/pci/serverworks.c | 44 +-
drivers/ide/pci/sgiioc4.c | 83 +-
drivers/ide/pci/siimage.c | 195 +-
drivers/ide/pci/sis5513.c | 40 +-
drivers/ide/pci/sl82c105.c | 24 +-
drivers/ide/pci/slc90e66.c | 13 +-
drivers/ide/pci/tc86c001.c | 73 +-
drivers/ide/pci/triflex.c | 13 +-
drivers/ide/pci/trm290.c | 17 +-
drivers/ide/pci/via82cxxx.c | 154 +-
drivers/ide/ppc/Makefile | 1 -
drivers/ide/ppc/mpc8xx.c | 851 -
drivers/ide/ppc/pmac.c | 243 +-
drivers/ide/setup-pci.c | 348 +-
drivers/ieee1394/csr1212.c | 32 +-
drivers/ieee1394/dma.c | 2 +-
drivers/ieee1394/dv1394.c | 7 +-
drivers/ieee1394/highlevel.c | 4 +-
drivers/ieee1394/highlevel.h | 13 +-
drivers/ieee1394/iso.c | 1 +
drivers/ieee1394/nodemgr.c | 23 +-
drivers/ieee1394/raw1394.c | 24 +-
drivers/ieee1394/sbp2.c | 22 +-
drivers/ieee1394/sbp2.h | 1 +
drivers/ieee1394/video1394.c | 8 +-
drivers/infiniband/core/addr.c | 42 +-
drivers/infiniband/core/agent.h | 2 -
drivers/infiniband/core/cache.c | 2 -
drivers/infiniband/core/cm.c | 74 +-
drivers/infiniband/core/cma.c | 259 +-
drivers/infiniband/core/core_priv.h | 2 -
drivers/infiniband/core/device.c | 2 -
drivers/infiniband/core/fmr_pool.c | 2 -
drivers/infiniband/core/iwcm.c | 3 +-
drivers/infiniband/core/mad_priv.h | 2 -
drivers/infiniband/core/mad_rmpp.c | 2 -
drivers/infiniband/core/mad_rmpp.h | 2 -
drivers/infiniband/core/packer.c | 2 -
drivers/infiniband/core/sa_query.c | 27 +-
drivers/infiniband/core/sysfs.c | 122 +-
drivers/infiniband/core/ucm.c | 4 +-
drivers/infiniband/core/ucma.c | 3 +
drivers/infiniband/core/ud_header.c | 2 -
drivers/infiniband/core/umem.c | 2 -
drivers/infiniband/core/user_mad.c | 15 +-
drivers/infiniband/core/uverbs.h | 2 -
drivers/infiniband/core/uverbs_cmd.c | 4 +-
drivers/infiniband/core/uverbs_main.c | 15 +-
drivers/infiniband/core/verbs.c | 49 +-
drivers/infiniband/hw/amso1100/c2_rnic.c | 2 +-
drivers/infiniband/hw/cxgb3/cxio_hal.c | 27 +-
drivers/infiniband/hw/cxgb3/cxio_hal.h | 5 +-
drivers/infiniband/hw/cxgb3/cxio_wr.h | 103 +-
drivers/infiniband/hw/cxgb3/iwch.c | 8 +-
drivers/infiniband/hw/cxgb3/iwch.h | 2 -
drivers/infiniband/hw/cxgb3/iwch_cq.c | 15 +-
drivers/infiniband/hw/cxgb3/iwch_provider.c | 199 +-
drivers/infiniband/hw/cxgb3/iwch_provider.h | 8 -
drivers/infiniband/hw/cxgb3/iwch_qp.c | 261 +-
drivers/infiniband/hw/ehca/ehca_classes.h | 1 +
drivers/infiniband/hw/ehca/ehca_hca.c | 4 +-
drivers/infiniband/hw/ehca/ehca_irq.c | 17 +-
drivers/infiniband/hw/ehca/ehca_main.c | 1 +
drivers/infiniband/hw/ehca/ehca_qp.c | 2 +
drivers/infiniband/hw/ehca/ehca_reqs.c | 14 +-
drivers/infiniband/hw/ehca/hcp_if.c | 10 +
drivers/infiniband/hw/ehca/hcp_if.h | 1 +
drivers/infiniband/hw/ehca/ipz_pt_fn.c | 1 +
drivers/infiniband/hw/ipath/ipath_cq.c | 2 +-
drivers/infiniband/hw/ipath/ipath_file_ops.c | 4 +-
drivers/infiniband/hw/ipath/ipath_iba7220.c | 4 +-
drivers/infiniband/hw/ipath/ipath_mad.c | 6 +-
drivers/infiniband/hw/ipath/ipath_rc.c | 4 +-
drivers/infiniband/hw/ipath/ipath_ruc.c | 4 +-
drivers/infiniband/hw/ipath/ipath_uc.c | 8 +-
drivers/infiniband/hw/ipath/ipath_ud.c | 8 +-
drivers/infiniband/hw/ipath/ipath_verbs.c | 4 +-
drivers/infiniband/hw/ipath/ipath_verbs_mcast.c | 3 +-
drivers/infiniband/hw/mlx4/cq.c | 24 +-
drivers/infiniband/hw/mlx4/mad.c | 3 +-
drivers/infiniband/hw/mlx4/main.c | 18 +-
drivers/infiniband/hw/mlx4/mlx4_ib.h | 18 +-
drivers/infiniband/hw/mlx4/mr.c | 70 +
drivers/infiniband/hw/mlx4/qp.c | 147 +-
drivers/infiniband/hw/mthca/mthca_allocator.c | 2 -
drivers/infiniband/hw/mthca/mthca_av.c | 2 -
drivers/infiniband/hw/mthca/mthca_catas.c | 17 +-
drivers/infiniband/hw/mthca/mthca_cmd.c | 2 -
drivers/infiniband/hw/mthca/mthca_cmd.h | 2 -
drivers/infiniband/hw/mthca/mthca_config_reg.h | 2 -
drivers/infiniband/hw/mthca/mthca_cq.c | 6 +-
drivers/infiniband/hw/mthca/mthca_dev.h | 4 +-
drivers/infiniband/hw/mthca/mthca_doorbell.h | 2 -
drivers/infiniband/hw/mthca/mthca_eq.c | 2 -
drivers/infiniband/hw/mthca/mthca_mad.c | 2 -
drivers/infiniband/hw/mthca/mthca_main.c | 2 -
drivers/infiniband/hw/mthca/mthca_mcg.c | 2 -
drivers/infiniband/hw/mthca/mthca_memfree.c | 2 -
drivers/infiniband/hw/mthca/mthca_memfree.h | 2 -
drivers/infiniband/hw/mthca/mthca_mr.c | 28 +-
drivers/infiniband/hw/mthca/mthca_pd.c | 2 -
drivers/infiniband/hw/mthca/mthca_profile.c | 2 -
drivers/infiniband/hw/mthca/mthca_profile.h | 2 -
drivers/infiniband/hw/mthca/mthca_provider.c | 2 -
drivers/infiniband/hw/mthca/mthca_provider.h | 2 -
drivers/infiniband/hw/mthca/mthca_qp.c | 32 +-
drivers/infiniband/hw/mthca/mthca_reset.c | 2 -
drivers/infiniband/hw/mthca/mthca_srq.c | 2 -
drivers/infiniband/hw/mthca/mthca_uar.c | 2 -
drivers/infiniband/hw/mthca/mthca_user.h | 1 -
drivers/infiniband/hw/mthca/mthca_wqe.h | 2 -
drivers/infiniband/hw/nes/nes.c | 2 +-
drivers/infiniband/hw/nes/nes.h | 9 +-
drivers/infiniband/hw/nes/nes_cm.c | 1 -
drivers/infiniband/hw/nes/nes_hw.c | 68 +-
drivers/infiniband/hw/nes/nes_hw.h | 2 +-
drivers/infiniband/hw/nes/nes_utils.c | 33 +-
drivers/infiniband/hw/nes/nes_verbs.c | 207 +-
drivers/infiniband/ulp/ipoib/Kconfig | 1 +
drivers/infiniband/ulp/ipoib/ipoib.h | 48 +-
drivers/infiniband/ulp/ipoib/ipoib_cm.c | 104 +-
drivers/infiniband/ulp/ipoib/ipoib_ethtool.c | 46 +
drivers/infiniband/ulp/ipoib/ipoib_fs.c | 2 -
drivers/infiniband/ulp/ipoib/ipoib_ib.c | 52 +-
drivers/infiniband/ulp/ipoib/ipoib_main.c | 117 +-
drivers/infiniband/ulp/ipoib/ipoib_multicast.c | 31 +-
drivers/infiniband/ulp/ipoib/ipoib_verbs.c | 69 +-
drivers/infiniband/ulp/ipoib/ipoib_vlan.c | 2 -
drivers/infiniband/ulp/iser/iscsi_iser.c | 359 +-
drivers/infiniband/ulp/iser/iscsi_iser.h | 46 +-
drivers/infiniband/ulp/iser/iser_initiator.c | 211 +-
drivers/infiniband/ulp/iser/iser_memory.c | 79 +-
drivers/infiniband/ulp/iser/iser_verbs.c | 31 +-
drivers/infiniband/ulp/srp/ib_srp.c | 15 +-
drivers/infiniband/ulp/srp/ib_srp.h | 2 -
drivers/input/evbug.c | 12 +-
drivers/input/evdev.c | 101 +-
drivers/input/ff-memless.c | 4 +-
drivers/input/gameport/emu10k1-gp.c | 2 -
drivers/input/gameport/gameport.c | 22 -
drivers/input/gameport/lightning.c | 2 -
drivers/input/gameport/ns558.c | 2 -
drivers/input/input.c | 18 +-
drivers/input/joystick/a3d.c | 2 -
drivers/input/joystick/amijoy.c | 2 -
drivers/input/joystick/cobra.c | 2 -
drivers/input/joystick/db9.c | 2 -
drivers/input/joystick/gf2k.c | 2 -
drivers/input/joystick/grip.c | 2 -
drivers/input/joystick/grip_mp.c | 2 -
drivers/input/joystick/guillemot.c | 2 -
drivers/input/joystick/iforce/iforce-ff.c | 2 -
drivers/input/joystick/iforce/iforce-main.c | 2 -
drivers/input/joystick/iforce/iforce-packets.c | 2 -
drivers/input/joystick/iforce/iforce-serio.c | 2 -
drivers/input/joystick/iforce/iforce-usb.c | 8 +-
drivers/input/joystick/iforce/iforce.h | 2 -
drivers/input/joystick/interact.c | 2 -
drivers/input/joystick/joydump.c | 2 -
drivers/input/joystick/magellan.c | 2 -
drivers/input/joystick/spaceball.c | 2 -
drivers/input/joystick/spaceorb.c | 2 -
drivers/input/joystick/stinger.c | 2 -
drivers/input/joystick/tmdc.c | 2 -
drivers/input/joystick/turbografx.c | 2 -
drivers/input/joystick/twidjoy.c | 4 -
drivers/input/joystick/warrior.c | 2 -
drivers/input/joystick/xpad.c | 12 +-
drivers/input/keyboard/amikbd.c | 2 -
drivers/input/keyboard/atakbd.c | 2 +-
drivers/input/keyboard/atkbd.c | 46 +-
drivers/input/keyboard/gpio_keys.c | 89 +-
drivers/input/keyboard/hil_kbd.c | 1 +
drivers/input/keyboard/lkkbd.c | 6 +-
drivers/input/keyboard/pxa27x_keypad.c | 15 +-
drivers/input/keyboard/sunkbd.c | 2 -
drivers/input/keyboard/tosakbd.c | 2 -
drivers/input/keyboard/xtkbd.c | 2 -
drivers/input/misc/Kconfig | 10 +
drivers/input/misc/Makefile | 1 +
drivers/input/misc/ati_remote.c | 18 +-
drivers/input/misc/ati_remote2.c | 18 +-
drivers/input/misc/hp_sdc_rtc.c | 3 +
drivers/input/misc/keyspan_remote.c | 20 +-
drivers/input/misc/powermate.c | 6 +-
drivers/input/misc/sgi_btns.c | 178 +
drivers/input/misc/uinput.c | 3 +
drivers/input/misc/wistron_btns.c | 19 +-
drivers/input/misc/yealink.c | 50 +-
drivers/input/mouse/appletouch.c | 299 +-
drivers/input/mouse/atarimouse.c | 27 +-
drivers/input/mouse/hil_ptr.c | 37 +-
drivers/input/mouse/inport.c | 2 -
drivers/input/mouse/logibm.c | 2 -
drivers/input/mouse/pc110pad.c | 2 -
drivers/input/mouse/sermouse.c | 2 -
drivers/input/mousedev.c | 12 +-
drivers/input/serio/Kconfig | 10 +
drivers/input/serio/Makefile | 1 +
drivers/input/serio/ct82c710.c | 2 -
drivers/input/serio/hil_mlc.c | 6 +-
drivers/input/serio/hp_sdc.c | 11 +-
drivers/input/serio/hp_sdc_mlc.c | 2 +-
drivers/input/serio/i8042-x86ia64io.h | 67 +-
drivers/input/serio/libps2.c | 52 -
drivers/input/serio/q40kbd.c | 4 +-
drivers/input/serio/rpckbd.c | 2 -
drivers/input/serio/serio.c | 9 +-
drivers/input/serio/serio_raw.c | 6 +-
drivers/input/serio/serport.c | 2 +-
drivers/input/serio/xilinx_ps2.c | 380 +
drivers/input/tablet/acecad.c | 4 +-
drivers/input/tablet/aiptek.c | 6 +-
drivers/input/tablet/gtco.c | 2 +-
drivers/input/tablet/kbtab.c | 6 +-
drivers/input/tablet/wacom.h | 2 +-
drivers/input/tablet/wacom_sys.c | 6 +-
drivers/input/tablet/wacom_wac.c | 39 +-
drivers/input/touchscreen/Kconfig | 46 +
drivers/input/touchscreen/Makefile | 4 +
drivers/input/touchscreen/gunze.c | 2 -
drivers/input/touchscreen/h3600_ts_input.c | 2 -
drivers/input/touchscreen/htcpen.c | 255 +
drivers/input/touchscreen/inexio.c | 207 +
drivers/input/touchscreen/migor_ts.c | 250 +
drivers/input/touchscreen/touchit213.c | 234 +
drivers/input/touchscreen/usbtouchscreen.c | 42 +-
drivers/input/touchscreen/wm9712.c | 18 +-
drivers/input/xen-kbdfront.c | 20 +-
drivers/isdn/capi/capi.c | 27 +-
drivers/isdn/gigaset/asyncdata.c | 3 +-
drivers/isdn/gigaset/bas-gigaset.c | 12 +-
drivers/isdn/gigaset/common.c | 2 +-
drivers/isdn/gigaset/gigaset.h | 3 -
drivers/isdn/gigaset/i4l.c | 56 +-
drivers/isdn/gigaset/interface.c | 25 +-
drivers/isdn/gigaset/ser-gigaset.c | 2 +-
drivers/isdn/gigaset/usb-gigaset.c | 7 +-
drivers/isdn/hardware/eicon/divamnt.c | 16 +-
drivers/isdn/hardware/eicon/divasi.c | 2 +
drivers/isdn/hardware/eicon/divasmain.c | 2 +
drivers/isdn/hisax/st5481.h | 4 +-
drivers/isdn/hisax/st5481_b.c | 4 +-
drivers/isdn/hisax/st5481_d.c | 6 +-
drivers/isdn/hisax/st5481_usb.c | 18 +-
drivers/isdn/i4l/isdn_common.c | 3 +-
drivers/isdn/i4l/isdn_net.c | 2 +-
drivers/leds/Kconfig | 16 +
drivers/leds/Makefile | 2 +
drivers/leds/led-triggers.c | 3 +-
drivers/leds/leds-atmel-pwm.c | 2 +-
drivers/leds/leds-h1940.c | 9 +-
drivers/leds/leds-pca9532.c | 337 +
drivers/leds/leds-pca955x.c | 384 +
drivers/lguest/Kconfig | 2 +-
drivers/lguest/lg.h | 1 -
drivers/lguest/lguest_device.c | 14 +-
drivers/lguest/x86/core.c | 4 +-
drivers/macintosh/adb.c | 26 +-
drivers/macintosh/adbhid.c | 63 +-
drivers/macintosh/ans-lcd.c | 2 +
drivers/macintosh/macio_sysfs.c | 12 +-
drivers/macintosh/mediabay.c | 27 +-
drivers/macintosh/smu.c | 41 +-
drivers/macintosh/therm_adt746x.c | 2 +-
drivers/macintosh/therm_pm72.c | 4 +-
drivers/macintosh/therm_windtunnel.c | 18 +-
drivers/macintosh/via-pmu.c | 3 +
drivers/macintosh/via-pmu68k.c | 5 +-
drivers/mca/mca-bus.c | 2 +-
drivers/md/Kconfig | 23 +-
drivers/md/Makefile | 7 +-
drivers/md/bitmap.c | 54 +-
drivers/md/dm-crypt.c | 18 +-
drivers/md/dm-emc.c | 345 -
drivers/md/dm-hw-handler.c | 213 -
drivers/md/dm-hw-handler.h | 63 -
drivers/md/dm-linear.c | 38 +-
drivers/md/dm-log.c | 4 +-
drivers/md/dm-mpath-hp-sw.c | 247 -
drivers/md/dm-mpath-rdac.c | 700 -
drivers/md/dm-mpath.c | 173 +-
drivers/md/dm-mpath.h | 1 -
drivers/md/dm-snap.c | 163 +-
drivers/md/dm-snap.h | 11 +
drivers/md/dm-table.c | 13 +-
drivers/md/dm.c | 46 +-
drivers/md/dm.h | 6 -
drivers/md/faulty.c | 2 +-
drivers/md/linear.c | 30 +-
drivers/md/md.c | 615 +-
drivers/md/multipath.c | 17 +-
drivers/md/raid0.c | 18 +-
drivers/md/raid1.c | 30 +-
drivers/md/raid10.c | 37 +-
drivers/md/raid5.c | 755 +-
drivers/media/Kconfig | 5 +-
drivers/media/common/ir-functions.c | 26 +-
drivers/media/common/saa7146_core.c | 4 +-
drivers/media/common/saa7146_hlp.c | 2 +-
drivers/media/common/saa7146_i2c.c | 34 +-
drivers/media/common/saa7146_video.c | 4 +-
drivers/media/common/tuners/Kconfig | 1 +
drivers/media/common/tuners/tda18271-maps.c | 2 +-
drivers/media/common/tuners/tuner-xc2028.c | 27 +-
drivers/media/common/tuners/xc5000.c | 9 +-
drivers/media/dvb/Kconfig | 1 +
drivers/media/dvb/Makefile | 2 +-
drivers/media/dvb/bt8xx/bt878.h | 2 +-
drivers/media/dvb/dvb-core/demux.h | 2 +-
drivers/media/dvb/dvb-core/dmxdev.c | 2 +-
drivers/media/dvb/dvb-core/dvb_ca_en50221.c | 8 +-
drivers/media/dvb/dvb-core/dvb_demux.c | 17 +-
drivers/media/dvb/dvb-core/dvb_net.c | 6 +-
drivers/media/dvb/dvb-core/dvb_ringbuffer.c | 78 +-
drivers/media/dvb/dvb-core/dvb_ringbuffer.h | 12 +-
drivers/media/dvb/dvb-core/dvbdev.c | 8 +-
drivers/media/dvb/dvb-usb/Kconfig | 15 +
drivers/media/dvb/dvb-usb/Makefile | 3 +
drivers/media/dvb/dvb-usb/anysee.c | 553 +
drivers/media/dvb/dvb-usb/anysee.h | 304 +
drivers/media/dvb/dvb-usb/au6610.c | 83 +-
drivers/media/dvb/dvb-usb/au6610.h | 22 +-
drivers/media/dvb/dvb-usb/cxusb.c | 167 +-
drivers/media/dvb/dvb-usb/cxusb.h | 3 +
drivers/media/dvb/dvb-usb/dib0700_devices.c | 7 +-
drivers/media/dvb/dvb-usb/dvb-usb-i2c.c | 4 -
drivers/media/dvb/dvb-usb/dvb-usb-ids.h | 8 +
drivers/media/dvb/dvb-usb/gl861.c | 38 +-
drivers/media/dvb/dvb-usb/gl861.h | 2 +-
drivers/media/dvb/dvb-usb/gp8psk.c | 3 +-
drivers/media/dvb/frontends/au8522.c | 1 -
drivers/media/dvb/frontends/bcm3510.c | 5 +-
drivers/media/dvb/frontends/dvb-pll.c | 47 +
drivers/media/dvb/frontends/dvb-pll.h | 1 +
drivers/media/dvb/frontends/lgdt330x.c | 24 +-
drivers/media/dvb/frontends/nxt200x.c | 3 +-
drivers/media/dvb/frontends/or51211.c | 4 +-
drivers/media/dvb/frontends/s5h1409.c | 1 -
drivers/media/dvb/frontends/s5h1411.c | 1 -
drivers/media/dvb/frontends/sp8870.c | 2 +-
drivers/media/dvb/frontends/sp887x.c | 2 +-
drivers/media/dvb/frontends/tda10023.c | 197 +-
drivers/media/dvb/frontends/tda1002x.h | 41 +-
drivers/media/dvb/frontends/tda10048.c | 2 +-
drivers/media/dvb/frontends/tda1004x.c | 2 +-
drivers/media/dvb/pluto2/pluto2.c | 2 +-
drivers/media/dvb/siano/Kconfig | 26 +
drivers/media/dvb/siano/Makefile | 8 +
drivers/media/dvb/siano/sms-cards.c | 102 +
drivers/media/dvb/siano/sms-cards.h | 45 +
drivers/media/dvb/siano/smscoreapi.c | 1251 ++
drivers/media/dvb/siano/smscoreapi.h | 434 +
drivers/media/dvb/siano/smsdvb.c | 449 +
drivers/media/dvb/siano/smsusb.c | 459 +
drivers/media/dvb/ttpci/Kconfig | 2 +
drivers/media/dvb/ttpci/Makefile | 7 +-
drivers/media/dvb/ttpci/av7110.c | 47 +-
drivers/media/dvb/ttpci/av7110.h | 1 -
drivers/media/dvb/ttpci/av7110_av.c | 2 +-
drivers/media/dvb/ttpci/av7110_ca.c | 2 +-
drivers/media/dvb/ttpci/av7110_hw.h | 3 -
drivers/media/dvb/ttpci/budget-av.c | 12 +-
drivers/media/dvb/ttpci/budget-ci.c | 24 +
drivers/media/dvb/ttpci/budget-core.c | 4 -
drivers/media/dvb/ttpci/budget-patch.c | 44 +-
drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | 38 +-
.../media/dvb/ttusb-budget/dvb-ttusb-dspbootcode.h | 1644 --
drivers/media/dvb/ttusb-dec/ttusb_dec.c | 2 +-
drivers/media/radio/miropcm20-rds.c | 4 +
drivers/media/radio/radio-si470x.c | 483 +-
drivers/media/video/Kconfig | 99 +-
drivers/media/video/Makefile | 5 +
drivers/media/video/bt819.c | 2 +-
drivers/media/video/bt8xx/bt832.c | 1 -
drivers/media/video/bt8xx/bttv-cards.c | 3 +-
drivers/media/video/bt8xx/bttv-driver.c | 51 +-
drivers/media/video/bt8xx/bttv-i2c.c | 49 +-
drivers/media/video/bt8xx/bttv-vbi.c | 6 +-
drivers/media/video/bt8xx/bttv.h | 1 -
drivers/media/video/bt8xx/bttvp.h | 9 +-
drivers/media/video/cafe_ccic.c | 18 +-
drivers/media/video/compat_ioctl32.c | 1 +
drivers/media/video/cpia2/cpia2_core.c | 46 +-
drivers/media/video/cpia2/cpia2patch.h | 233 -
drivers/media/video/cs5345.c | 1 -
drivers/media/video/cs53l32a.c | 2 -
drivers/media/video/cx18/cx18-audio.c | 15 +-
drivers/media/video/cx18/cx18-av-audio.c | 12 +-
drivers/media/video/cx18/cx18-av-core.c | 225 +-
drivers/media/video/cx18/cx18-av-core.h | 16 +-
drivers/media/video/cx18/cx18-av-firmware.c | 74 +-
drivers/media/video/cx18/cx18-av-vbi.c | 152 +-
drivers/media/video/cx18/cx18-cards.c | 89 +-
drivers/media/video/cx18/cx18-cards.h | 9 +
drivers/media/video/cx18/cx18-controls.c | 216 +-
drivers/media/video/cx18/cx18-controls.h | 7 +-
drivers/media/video/cx18/cx18-driver.c | 21 +-
drivers/media/video/cx18/cx18-driver.h | 7 +-
drivers/media/video/cx18/cx18-firmware.c | 10 +-
drivers/media/video/cx18/cx18-gpio.c | 90 +-
drivers/media/video/cx18/cx18-gpio.h | 2 +
drivers/media/video/cx18/cx18-i2c.c | 25 +-
drivers/media/video/cx18/cx18-ioctl.c | 1179 +-
drivers/media/video/cx18/cx18-ioctl.h | 6 +-
drivers/media/video/cx18/cx18-mailbox.c | 1 +
drivers/media/video/cx18/cx18-streams.c | 12 +-
drivers/media/video/cx18/cx23418.h | 5 +
drivers/media/video/cx2341x.c | 180 +-
drivers/media/video/cx23885/Kconfig | 2 +
drivers/media/video/cx23885/cx23885-417.c | 701 +-
drivers/media/video/cx23885/cx23885-cards.c | 13 +
drivers/media/video/cx23885/cx23885-core.c | 10 +-
drivers/media/video/cx23885/cx23885-dvb.c | 42 +
drivers/media/video/cx23885/cx23885-video.c | 24 +-
drivers/media/video/cx23885/cx23885.h | 1 +
drivers/media/video/cx25840/cx25840-core.c | 158 +-
drivers/media/video/cx25840/cx25840-core.h | 3 +-
drivers/media/video/cx25840/cx25840-firmware.c | 27 +-
drivers/media/video/cx25840/cx25840-vbi.c | 152 +-
drivers/media/video/cx88/cx88-alsa.c | 1 -
drivers/media/video/cx88/cx88-blackbird.c | 19 +-
drivers/media/video/cx88/cx88-i2c.c | 1 -
drivers/media/video/cx88/cx88-video.c | 24 +-
drivers/media/video/cx88/cx88-vp3054-i2c.c | 1 -
drivers/media/video/dabfirmware.h | 1415 --
drivers/media/video/dabusb.c | 44 +-
drivers/media/video/em28xx/em28xx-cards.c | 74 +-
drivers/media/video/em28xx/em28xx-dvb.c | 25 +
drivers/media/video/em28xx/em28xx-i2c.c | 1 -
drivers/media/video/em28xx/em28xx-input.c | 87 +
drivers/media/video/em28xx/em28xx-video.c | 32 +-
drivers/media/video/em28xx/em28xx.h | 12 +
drivers/media/video/gspca/Kconfig | 13 +
drivers/media/video/gspca/Makefile | 29 +
drivers/media/video/gspca/conex.c | 1051 ++
drivers/media/video/gspca/etoms.c | 956 +
drivers/media/video/gspca/gspca.c | 1905 ++
drivers/media/video/gspca/gspca.h | 176 +
drivers/media/video/gspca/jpeg.h | 301 +
drivers/media/video/gspca/mars.c | 464 +
drivers/media/video/gspca/ov519.c | 2186 +++
drivers/media/video/gspca/pac207.c | 622 +
drivers/media/video/gspca/pac7311.c | 760 +
drivers/media/video/gspca/sonixb.c | 1477 ++
drivers/media/video/gspca/sonixj.c | 1671 ++
drivers/media/video/gspca/spca500.c | 1216 ++
drivers/media/video/gspca/spca501.c | 2229 +++
drivers/media/video/gspca/spca505.c | 951 +
drivers/media/video/gspca/spca506.c | 847 +
drivers/media/video/gspca/spca508.c | 1791 ++
drivers/media/video/gspca/spca561.c | 1052 ++
drivers/media/video/gspca/stk014.c | 592 +
drivers/media/video/gspca/sunplus.c | 1677 ++
drivers/media/video/gspca/t613.c | 1038 ++
drivers/media/video/gspca/tv8532.c | 670 +
drivers/media/video/gspca/vc032x.c | 1818 ++
drivers/media/video/gspca/zc3xx-reg.h | 261 +
drivers/media/video/gspca/zc3xx.c | 7623 ++++++++
drivers/media/video/ir-kbd-i2c.c | 82 -
drivers/media/video/ivtv/ivtv-cards.c | 75 +-
drivers/media/video/ivtv/ivtv-cards.h | 3 +-
drivers/media/video/ivtv/ivtv-controls.c | 225 +-
drivers/media/video/ivtv/ivtv-controls.h | 6 +-
drivers/media/video/ivtv/ivtv-driver.c | 19 +-
drivers/media/video/ivtv/ivtv-driver.h | 1 -
drivers/media/video/ivtv/ivtv-fileops.c | 25 +-
drivers/media/video/ivtv/ivtv-gpio.c | 11 +-
drivers/media/video/ivtv/ivtv-i2c.c | 6 +-
drivers/media/video/ivtv/ivtv-ioctl.c | 2184 ++--
drivers/media/video/ivtv/ivtv-ioctl.h | 9 +-
drivers/media/video/ivtv/ivtv-streams.c | 3 +-
drivers/media/video/ivtv/ivtvfb.c | 86 +
drivers/media/video/m52790.c | 1 -
drivers/media/video/meye.c | 18 +-
drivers/media/video/msp3400-driver.c | 3 +-
drivers/media/video/msp3400-kthreads.c | 1 -
drivers/media/video/mt9v022.c | 1 -
drivers/media/video/ov7670.c | 28 +-
drivers/media/video/ovcamchip/ovcamchip_core.c | 1 -
drivers/media/video/pvrusb2/pvrusb2-audio.c | 1 -
drivers/media/video/pvrusb2/pvrusb2-audio.h | 1 -
drivers/media/video/pvrusb2/pvrusb2-context.c | 1 -
drivers/media/video/pvrusb2/pvrusb2-context.h | 1 -
drivers/media/video/pvrusb2/pvrusb2-ctrl.c | 1 -
drivers/media/video/pvrusb2/pvrusb2-ctrl.h | 1 -
drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c | 1 -
drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.h | 1 -
drivers/media/video/pvrusb2/pvrusb2-debug.h | 1 -
drivers/media/video/pvrusb2/pvrusb2-debugifc.c | 1 -
drivers/media/video/pvrusb2/pvrusb2-debugifc.h | 1 -
drivers/media/video/pvrusb2/pvrusb2-devattr.c | 11 +-
drivers/media/video/pvrusb2/pvrusb2-devattr.h | 1 -
drivers/media/video/pvrusb2/pvrusb2-dvb.c | 1 +
drivers/media/video/pvrusb2/pvrusb2-eeprom.c | 1 -
drivers/media/video/pvrusb2/pvrusb2-eeprom.h | 1 -
drivers/media/video/pvrusb2/pvrusb2-encoder.c | 1 -
drivers/media/video/pvrusb2/pvrusb2-encoder.h | 1 -
drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h | 1 -
drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | 1 -
drivers/media/video/pvrusb2/pvrusb2-hdw.c | 75 +-
drivers/media/video/pvrusb2/pvrusb2-hdw.h | 1 -
.../media/video/pvrusb2/pvrusb2-i2c-chips-v4l2.c | 1 -
drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c | 1 -
drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.h | 1 -
drivers/media/video/pvrusb2/pvrusb2-i2c-core.c | 1 -
drivers/media/video/pvrusb2/pvrusb2-i2c-core.h | 1 -
drivers/media/video/pvrusb2/pvrusb2-io.c | 1 -
drivers/media/video/pvrusb2/pvrusb2-io.h | 1 -
drivers/media/video/pvrusb2/pvrusb2-ioread.c | 2 +-
drivers/media/video/pvrusb2/pvrusb2-ioread.h | 1 -
drivers/media/video/pvrusb2/pvrusb2-main.c | 1 -
drivers/media/video/pvrusb2/pvrusb2-std.c | 1 -
drivers/media/video/pvrusb2/pvrusb2-std.h | 1 -
drivers/media/video/pvrusb2/pvrusb2-sysfs.c | 461 +-
drivers/media/video/pvrusb2/pvrusb2-sysfs.h | 1 -
drivers/media/video/pvrusb2/pvrusb2-tuner.c | 1 -
drivers/media/video/pvrusb2/pvrusb2-tuner.h | 1 -
drivers/media/video/pvrusb2/pvrusb2-util.h | 1 -
drivers/media/video/pvrusb2/pvrusb2-v4l2.c | 1 -
drivers/media/video/pvrusb2/pvrusb2-v4l2.h | 1 -
drivers/media/video/pvrusb2/pvrusb2-video-v4l.c | 1 -
drivers/media/video/pvrusb2/pvrusb2-video-v4l.h | 1 -
drivers/media/video/pvrusb2/pvrusb2-wm8775.c | 1 -
drivers/media/video/pvrusb2/pvrusb2-wm8775.h | 1 -
drivers/media/video/pvrusb2/pvrusb2.h | 1 -
drivers/media/video/pwc/pwc-ctrl.c | 2 -
drivers/media/video/pwc/pwc-ioctl.h | 1 -
drivers/media/video/pxa_camera.c | 27 +-
drivers/media/video/s2255drv.c | 2495 +++
drivers/media/video/saa5246a.c | 1 +
drivers/media/video/saa5249.c | 1 +
drivers/media/video/saa6588.c | 1 -
drivers/media/video/saa7115.c | 4 +-
drivers/media/video/saa711x.c | 584 -
drivers/media/video/saa7127.c | 43 +-
drivers/media/video/saa7134/saa6752hs.c | 105 +-
drivers/media/video/saa7134/saa7134-alsa.c | 4 -
drivers/media/video/saa7134/saa7134-cards.c | 181 +-
drivers/media/video/saa7134/saa7134-core.c | 1 -
drivers/media/video/saa7134/saa7134-dvb.c | 10 +
drivers/media/video/saa7134/saa7134-empress.c | 86 +-
drivers/media/video/saa7134/saa7134-i2c.c | 2 +
drivers/media/video/saa7134/saa7134-input.c | 81 +
drivers/media/video/saa7134/saa7134-reg.h | 1 +
drivers/media/video/saa7134/saa7134-tvaudio.c | 35 +-
drivers/media/video/saa7134/saa7134-video.c | 82 +-
drivers/media/video/saa7134/saa7134.h | 6 +-
drivers/media/video/sh_mobile_ceu_camera.c | 657 +
drivers/media/video/sn9c102/sn9c102_devtable.h | 2 -
drivers/media/video/soc_camera.c | 64 +-
drivers/media/video/soc_camera_platform.c | 198 +
drivers/media/video/stk-webcam.c | 18 +-
drivers/media/video/tcm825x.c | 6 +
drivers/media/video/tcm825x.h | 1 +
drivers/media/video/tda7432.c | 1 +
drivers/media/video/tda9840.c | 1 +
drivers/media/video/tda9875.c | 2 +-
drivers/media/video/tea6415c.c | 1 +
drivers/media/video/tea6420.c | 1 +
drivers/media/video/tlv320aic23b.c | 1 -
drivers/media/video/tuner-core.c | 1 -
drivers/media/video/tvaudio.c | 13 -
drivers/media/video/usbvideo/vicam.c | 317 +-
drivers/media/video/usbvision/usbvision-core.c | 4 -
drivers/media/video/usbvision/usbvision-i2c.c | 5 -
drivers/media/video/usbvision/usbvision-video.c | 30 +-
drivers/media/video/uvc/Kconfig | 17 +
drivers/media/video/uvc/uvc_ctrl.c | 1 +
drivers/media/video/uvc/uvc_driver.c | 31 +-
drivers/media/video/uvc/uvc_queue.c | 2 +
drivers/media/video/uvc/uvc_status.c | 20 +-
drivers/media/video/uvc/uvc_v4l2.c | 3 +-
drivers/media/video/uvc/uvc_video.c | 117 +-
drivers/media/video/uvc/uvcvideo.h | 3 +
drivers/media/video/videobuf-core.c | 1 +
drivers/media/video/videobuf-dma-contig.c | 418 +
drivers/media/video/videobuf-dma-sg.c | 8 +-
drivers/media/video/videobuf-dvb.c | 2 -
drivers/media/video/videobuf-vmalloc.c | 2 +-
drivers/media/video/videodev.c | 739 +-
drivers/media/video/vivi.c | 37 +-
drivers/media/video/vp27smpx.c | 1 -
drivers/media/video/wm8739.c | 1 -
drivers/media/video/wm8775.c | 2 -
drivers/media/video/zoran_card.c | 34 +-
drivers/media/video/zoran_driver.c | 5 +-
drivers/media/video/zr364xx.c | 16 +-
drivers/memstick/host/jmb38x_ms.c | 4 +-
drivers/message/fusion/lsi/mpi.h | 2 +-
drivers/message/fusion/lsi/mpi_cnfg.h | 2 +-
drivers/message/fusion/mptbase.c | 92 +-
drivers/message/fusion/mptbase.h | 19 +-
drivers/message/fusion/mptctl.c | 10 +-
drivers/message/fusion/mptctl.h | 2 +-
drivers/message/fusion/mptdebug.h | 2 +-
drivers/message/fusion/mptfc.c | 6 +-
drivers/message/fusion/mptlan.c | 2 +-
drivers/message/fusion/mptlan.h | 2 +-
drivers/message/fusion/mptsas.c | 2 +-
drivers/message/fusion/mptsas.h | 2 +-
drivers/message/fusion/mptscsih.c | 2 +-
drivers/message/fusion/mptscsih.h | 2 +-
drivers/message/fusion/mptspi.c | 3 +-
drivers/message/i2o/device.c | 54 +-
drivers/message/i2o/i2o_config.c | 12 +-
drivers/mfd/Kconfig | 23 +-
drivers/mfd/Makefile | 4 +
drivers/mfd/asic3.c | 388 +-
drivers/mfd/htc-egpio.c | 2 +
drivers/mfd/htc-pasic3.c | 2 +
drivers/mfd/mcp-sa11x0.c | 2 +
drivers/mfd/mfd-core.c | 114 +
drivers/mfd/sm501.c | 439 +-
drivers/mfd/tc6393xb.c | 600 +
drivers/misc/Kconfig | 63 +-
drivers/misc/Makefile | 7 +-
drivers/misc/acer-wmi.c | 145 +-
drivers/misc/atmel_pwm.c | 5 +-
drivers/misc/compal-laptop.c | 404 +
drivers/misc/eeepc-laptop.c | 4 +-
drivers/misc/fujitsu-laptop.c | 825 +-
drivers/misc/hdpuftrs/hdpu_cpustate.c | 9 +-
drivers/misc/hp-wmi.c | 494 +
drivers/misc/hpilo.c | 768 +
drivers/misc/hpilo.h | 189 +
drivers/misc/phantom.c | 16 +-
drivers/misc/sgi-xp/xpc_main.c | 3 +-
drivers/misc/sony-laptop.c | 3 +
drivers/misc/thinkpad_acpi.c | 475 +-
drivers/mmc/card/block.c | 60 +-
drivers/mmc/card/mmc_test.c | 788 +-
drivers/mmc/card/queue.c | 97 +-
drivers/mmc/card/sdio_uart.c | 9 +-
drivers/mmc/core/core.c | 41 +-
drivers/mmc/core/mmc.c | 2 +-
drivers/mmc/core/sd.c | 6 +-
drivers/mmc/core/sdio_cis.c | 6 +
drivers/mmc/core/sdio_io.c | 167 +-
drivers/mmc/host/Kconfig | 50 +-
drivers/mmc/host/Makefile | 4 +
drivers/mmc/host/at91_mci.c | 257 +-
drivers/mmc/host/atmel-mci-regs.h | 91 +
drivers/mmc/host/atmel-mci.c | 981 +
drivers/mmc/host/au1xmmc.c | 824 +-
drivers/mmc/host/au1xmmc.h | 96 -
drivers/mmc/host/imxmmc.c | 32 +-
drivers/mmc/host/mmc_spi.c | 33 +-
drivers/mmc/host/mmci.c | 1 -
drivers/mmc/host/omap.c | 2 +-
drivers/mmc/host/pxamci.c | 11 +-
drivers/mmc/host/s3cmci.c | 1458 ++
drivers/mmc/host/s3cmci.h | 70 +
drivers/mmc/host/sdhci-pci.c | 732 +
drivers/mmc/host/sdhci.c | 1153 +-
drivers/mmc/host/sdhci.h | 127 +-
drivers/mmc/host/sdricoh_cs.c | 575 +
drivers/mmc/host/tifm_sd.c | 2 +-
drivers/mmc/host/wbsd.c | 38 +-
drivers/mtd/devices/block2mtd.c | 8 +-
drivers/mtd/ftl.c | 4 -
drivers/mtd/maps/Kconfig | 7 -
drivers/mtd/maps/Makefile | 1 -
drivers/mtd/maps/mtx-1_flash.c | 95 -
drivers/mtd/maps/omap_nor.c | 23 +-
drivers/mtd/maps/pcmciamtd.c | 9 +-
drivers/mtd/maps/uclinux.c | 1 +
drivers/mtd/mtdchar.c | 31 +-
drivers/mtd/nand/cmx270_nand.c | 79 +-
drivers/mtd/nand/orion_nand.c | 3 +
drivers/mtd/ubi/build.c | 99 +-
drivers/mtd/ubi/cdev.c | 241 +-
drivers/mtd/ubi/debug.c | 158 +-
drivers/mtd/ubi/debug.h | 74 +-
drivers/mtd/ubi/eba.c | 77 +-
drivers/mtd/ubi/gluebi.c | 16 +-
drivers/mtd/ubi/io.c | 48 +-
drivers/mtd/ubi/kapi.c | 50 +-
drivers/mtd/ubi/misc.c | 2 +-
drivers/mtd/ubi/scan.c | 136 +-
drivers/mtd/ubi/scan.h | 21 +-
drivers/mtd/ubi/ubi-media.h | 38 +-
drivers/mtd/ubi/ubi.h | 75 +-
drivers/mtd/ubi/upd.c | 32 +-
drivers/mtd/ubi/vmt.c | 148 +-
drivers/mtd/ubi/vtbl.c | 127 +-
drivers/mtd/ubi/wl.c | 208 +-
drivers/net/3c503.c | 14 +-
drivers/net/3c515.c | 4 +
drivers/net/3c523.c | 37 +-
drivers/net/3c527.c | 45 +-
drivers/net/3c59x.c | 2 +-
drivers/net/8139cp.c | 44 +-
drivers/net/8139too.c | 204 +-
drivers/net/8390.h | 19 +-
drivers/net/8390p.c | 66 +
drivers/net/Kconfig | 228 +-
drivers/net/Makefile | 17 +-
drivers/net/a2065.c | 4 -
drivers/net/acenic.c | 21 +-
drivers/net/acenic.h | 1 -
drivers/net/amd8111e.c | 137 +-
drivers/net/ariadne.c | 47 +-
drivers/net/arm/at91_ether.c | 41 +-
drivers/net/arm/at91_ether.h | 1 -
drivers/net/arm/ep93xx_eth.c | 2 +-
drivers/net/arm/etherh.c | 8 +-
drivers/net/arm/ixp4xx_eth.c | 3 +-
drivers/net/atarilance.c | 2 +-
drivers/net/atl1e/Makefile | 2 +
drivers/net/atl1e/atl1e.h | 503 +
drivers/net/atl1e/atl1e_ethtool.c | 405 +
drivers/net/atl1e/atl1e_hw.c | 664 +
drivers/net/atl1e/atl1e_hw.h | 793 +
drivers/net/atl1e/atl1e_main.c | 2599 +++
drivers/net/atl1e/atl1e_param.c | 263 +
drivers/net/atlx/atl1.c | 6 +-
drivers/net/au1000_eth.c | 5 +-
drivers/net/b44.c | 140 +-
drivers/net/bfin_mac.c | 1 -
drivers/net/bnx2.c | 1339 +-
drivers/net/bnx2.h | 115 +-
drivers/net/bnx2_fw.h | 80 +
drivers/net/bnx2_fw2.h | 8858 +++++-----
drivers/net/bnx2x.c | 9988 ----------
drivers/net/bnx2x.h | 1585 +-
drivers/net/bnx2x_fw_defs.h | 483 +-
drivers/net/bnx2x_hsi.h | 1101 +-
drivers/net/bnx2x_init.h | 352 +-
drivers/net/bnx2x_init_values.h |19186 ++++++++++++++------
drivers/net/bnx2x_link.c | 4527 +++++
drivers/net/bnx2x_link.h | 168 +
drivers/net/bnx2x_main.c |10294 +++++++++++
drivers/net/bnx2x_reg.h | 1969 ++-
drivers/net/bonding/bond_alb.c | 6 +-
drivers/net/bonding/bond_main.c | 827 +-
drivers/net/bonding/bond_sysfs.c | 103 +-
drivers/net/bonding/bonding.h | 17 +-
drivers/net/chelsio/cxgb2.c | 2 -
drivers/net/chelsio/sge.c | 70 +-
drivers/net/cpmac.c | 33 +-
drivers/net/cxgb3/adapter.h | 18 +
drivers/net/cxgb3/common.h | 6 +-
drivers/net/cxgb3/cxgb3_ctl_defs.h | 6 +-
drivers/net/cxgb3/cxgb3_ioctl.h | 1 +
drivers/net/cxgb3/cxgb3_main.c | 19 +
drivers/net/cxgb3/cxgb3_offload.c | 39 +-
drivers/net/cxgb3/l2t.c | 2 +-
drivers/net/cxgb3/regs.h | 10 +-
drivers/net/cxgb3/sge.c | 391 +-
drivers/net/cxgb3/t3_cpl.h | 51 +
drivers/net/cxgb3/t3_hw.c | 7 +-
drivers/net/cxgb3/t3cdev.h | 4 +-
drivers/net/cxgb3/version.h | 2 +-
drivers/net/declance.c | 4 -
drivers/net/dl2k.c | 10 +-
drivers/net/dm9000.c | 1176 +-
drivers/net/dm9000.h | 11 +
drivers/net/e1000/e1000.h | 71 +-
drivers/net/e1000/e1000_ethtool.c | 558 +-
drivers/net/e1000/e1000_hw.c | 1373 +-
drivers/net/e1000/e1000_main.c | 1550 +-
drivers/net/e1000/e1000_osdep.h | 14 +-
drivers/net/e1000/e1000_param.c | 16 +-
drivers/net/e1000e/e1000.h | 4 +
drivers/net/e1000e/netdev.c | 86 +-
drivers/net/fealnx.c | 43 +-
drivers/net/fec.c | 54 +-
drivers/net/fec_8xx/Kconfig | 20 -
drivers/net/fec_8xx/Makefile | 12 -
drivers/net/fec_8xx/fec_8xx-netta.c | 151 -
drivers/net/fec_8xx/fec_8xx.h | 220 -
drivers/net/fec_8xx/fec_main.c | 1264 --
drivers/net/fec_8xx/fec_mii.c | 418 -
drivers/net/fec_mpc52xx.c | 5 -
drivers/net/forcedeth.c | 82 +-
drivers/net/fs_enet/Makefile | 5 -
drivers/net/fs_enet/fs_enet-main.c | 348 +-
drivers/net/fs_enet/fs_enet.h | 4 -
drivers/net/fs_enet/mac-fcc.c | 67 +-
drivers/net/fs_enet/mac-fec.c | 23 +-
drivers/net/fs_enet/mac-scc.c | 37 +-
drivers/net/fs_enet/mii-bitbang.c | 107 -
drivers/net/fs_enet/mii-fec.c | 144 +-
drivers/net/gianfar.c | 203 +-
drivers/net/gianfar.h | 23 +-
drivers/net/gianfar_ethtool.c | 41 +-
drivers/net/hamachi.c | 12 +-
drivers/net/hamradio/6pack.c | 28 +-
drivers/net/hamradio/bpqether.c | 16 +-
drivers/net/hamradio/hdlcdrv.c | 1 +
drivers/net/hamradio/mkiss.c | 4 +-
drivers/net/hp-plus.c | 2 +-
drivers/net/hp.c | 16 +-
drivers/net/hplance.c | 4 +-
drivers/net/ibm_emac/Kconfig | 70 -
drivers/net/ibm_emac/Makefile | 11 -
drivers/net/ibm_emac/ibm_emac.h | 329 -
drivers/net/ibm_emac/ibm_emac_core.c | 2263 ---
drivers/net/ibm_emac/ibm_emac_core.h | 222 -
drivers/net/ibm_emac/ibm_emac_debug.c | 211 -
drivers/net/ibm_emac/ibm_emac_debug.h | 62 -
drivers/net/ibm_emac/ibm_emac_mal.c | 570 -
drivers/net/ibm_emac/ibm_emac_mal.h | 267 -
drivers/net/ibm_emac/ibm_emac_phy.c | 398 -
drivers/net/ibm_emac/ibm_emac_phy.h | 80 -
drivers/net/ibm_emac/ibm_emac_rgmii.c | 200 -
drivers/net/ibm_emac/ibm_emac_rgmii.h | 64 -
drivers/net/ibm_emac/ibm_emac_tah.c | 110 -
drivers/net/ibm_emac/ibm_emac_tah.h | 87 -
drivers/net/ibm_emac/ibm_emac_zmii.c | 253 -
drivers/net/ibm_emac/ibm_emac_zmii.h | 82 -
drivers/net/ibm_newemac/core.c | 65 +-
drivers/net/ibm_newemac/core.h | 85 +-
drivers/net/ibm_newemac/debug.c | 52 +-
drivers/net/ibm_newemac/emac.h | 101 +-
drivers/net/ibm_newemac/rgmii.c | 6 +
drivers/net/ibmveth.c | 189 +-
drivers/net/ibmveth.h | 5 +
drivers/net/ifb.c | 14 -
drivers/net/igb/e1000_82575.c | 446 +-
drivers/net/igb/e1000_82575.h | 36 +-
drivers/net/igb/e1000_defines.h | 38 +-
drivers/net/igb/e1000_hw.h | 16 +-
drivers/net/igb/e1000_mac.c | 144 +-
drivers/net/igb/e1000_mac.h | 1 +
drivers/net/igb/e1000_nvm.c | 52 +-
drivers/net/igb/e1000_phy.c | 138 +-
drivers/net/igb/e1000_regs.h | 9 +-
drivers/net/igb/igb.h | 51 +-
drivers/net/igb/igb_ethtool.c | 203 +-
drivers/net/igb/igb_main.c | 1284 +-
drivers/net/ipg.c | 105 +-
drivers/net/ipg.h | 83 +-
drivers/net/irda/ali-ircc.h | 2 -
drivers/net/irda/au1000_ircc.h | 1 -
drivers/net/irda/donauboe.c | 6 +-
drivers/net/irda/irda-usb.c | 12 +-
drivers/net/irda/irtty-sir.c | 2 +-
drivers/net/irda/pxaficp_ir.c | 24 -
drivers/net/irda/smsc-ircc2.c | 1 -
drivers/net/irda/smsc-ircc2.h | 1 -
drivers/net/irda/via-ircc.h | 1 -
drivers/net/ixgb/Makefile | 2 +-
drivers/net/ixgb/ixgb.h | 21 +-
drivers/net/ixgb/ixgb_ee.c | 28 +-
drivers/net/ixgb/ixgb_ee.h | 12 +-
drivers/net/ixgb/ixgb_ethtool.c | 120 +-
drivers/net/ixgb/ixgb_hw.c | 40 +-
drivers/net/ixgb/ixgb_hw.h | 2 +-
drivers/net/ixgb/ixgb_ids.h | 10 +-
drivers/net/ixgb/ixgb_main.c | 499 +-
drivers/net/ixgb/ixgb_osdep.h | 4 +-
drivers/net/ixgb/ixgb_param.c | 44 +-
drivers/net/ixgbe/ixgbe.h | 9 +
drivers/net/ixgbe/ixgbe_ethtool.c | 27 +-
drivers/net/ixgbe/ixgbe_main.c | 193 +-
drivers/net/ixp2000/ixpdev.c | 4 +-
drivers/net/lib8390.c | 100 +-
drivers/net/loopback.c | 8 +-
drivers/net/mac8390.c | 8 +-
drivers/net/macb.c | 47 +-
drivers/net/macsonic.c | 19 +-
drivers/net/macvlan.c | 35 +-
drivers/net/meth.c | 2 +-
drivers/net/mlx4/cmd.c | 3 +
drivers/net/mlx4/eq.c | 1 +
drivers/net/mlx4/fw.c | 46 +-
drivers/net/mlx4/fw.h | 8 +-
drivers/net/mlx4/main.c | 9 +
drivers/net/mlx4/mcg.c | 17 +-
drivers/net/mlx4/mlx4.h | 1 +
drivers/net/mlx4/mr.c | 49 +-
drivers/net/mlx4/pd.c | 7 +
drivers/net/mv643xx_eth.c | 4557 ++---
drivers/net/myri10ge/myri10ge.c | 1123 +-
drivers/net/natsemi.c | 4 +-
drivers/net/ne.c | 16 +-
drivers/net/ne2.c | 18 +-
drivers/net/netconsole.c | 2 +-
drivers/net/netxen/Makefile | 2 +-
drivers/net/netxen/netxen_nic.h | 575 +-
drivers/net/netxen/netxen_nic_ctx.c | 710 +
drivers/net/netxen/netxen_nic_ethtool.c | 168 +-
drivers/net/netxen/netxen_nic_hdr.h | 251 +-
drivers/net/netxen/netxen_nic_hw.c | 2196 ++-
drivers/net/netxen/netxen_nic_hw.h | 60 +-
drivers/net/netxen/netxen_nic_init.c | 806 +-
drivers/net/netxen/netxen_nic_isr.c | 220 -
drivers/net/netxen/netxen_nic_main.c | 1169 +-
drivers/net/netxen/netxen_nic_niu.c | 114 +-
drivers/net/netxen/netxen_nic_phan_reg.h | 31 +-
drivers/net/niu.c | 203 +-
drivers/net/niu.h | 2 +-
drivers/net/ns83820.c | 9 +-
drivers/net/pci-skeleton.c | 1 -
drivers/net/pcmcia/3c574_cs.c | 47 +-
drivers/net/pcmcia/3c589_cs.c | 49 +-
drivers/net/pcmcia/axnet_cs.c | 70 +-
drivers/net/pcnet32.c | 6 +-
drivers/net/phy/Kconfig | 9 +-
drivers/net/phy/Makefile | 1 +
drivers/net/phy/broadcom.c | 201 +-
drivers/net/phy/marvell.c | 7 +-
drivers/net/phy/mdio-bitbang.c | 2 +
drivers/net/phy/mdio-ofgpio.c | 205 +
drivers/net/ppp_async.c | 2 +-
drivers/net/ppp_generic.c | 27 +-
drivers/net/ppp_synctty.c | 2 +-
drivers/net/ps3_gelic_net.c | 10 +-
drivers/net/ps3_gelic_net.h | 2 +-
drivers/net/ps3_gelic_wireless.c | 236 +-
drivers/net/ps3_gelic_wireless.h | 7 +-
drivers/net/qla3xxx.c | 4 +-
drivers/net/r6040.c | 445 +-
drivers/net/r8169.c | 159 +-
drivers/net/s2io.c | 183 +-
drivers/net/s2io.h | 3 +-
drivers/net/saa9730.c | 1139 --
drivers/net/saa9730.h | 384 -
drivers/net/sb1250-mac.c | 2 +-
drivers/net/sfc/Kconfig | 2 +
drivers/net/sfc/Makefile | 2 +-
drivers/net/sfc/boards.c | 2 +-
drivers/net/sfc/boards.h | 3 +-
drivers/net/sfc/efx.c | 45 +-
drivers/net/sfc/falcon.c | 68 +-
drivers/net/sfc/i2c-direct.c | 381 -
drivers/net/sfc/i2c-direct.h | 91 -
drivers/net/sfc/net_driver.h | 16 +-
drivers/net/sfc/sfe4001.c | 126 +-
drivers/net/sh_eth.c | 1169 ++
drivers/net/sh_eth.h | 464 +
drivers/net/sis190.c | 2 +-
drivers/net/sis900.c | 2 +-
drivers/net/sky2.c | 246 +-
drivers/net/sky2.h | 24 +-
drivers/net/slip.c | 2 +-
drivers/net/smc911x.c | 422 +-
drivers/net/smc911x.h | 494 +-
drivers/net/smc91x.c | 94 +-
drivers/net/smc91x.h | 76 +-
drivers/net/spider_net.c | 4 +-
drivers/net/starfire.c | 111 +-
drivers/net/sunhme.c | 4 -
drivers/net/sunlance.c | 4 -
drivers/net/tc35815.c | 1 -
drivers/net/tehuti.c | 2 +-
drivers/net/tehuti.h | 1 +
drivers/net/tg3.c | 1268 +-
drivers/net/tg3.h | 40 +-
drivers/net/tlan.c | 490 +-
drivers/net/tlan.h | 26 +-
drivers/net/tokenring/3c359.c | 20 +-
drivers/net/tokenring/3c359.h | 2 -
drivers/net/tokenring/smctr.c | 56 +-
drivers/net/tokenring/smctr.h | 2 -
drivers/net/tokenring/smctr_firmware.h | 978 -
drivers/net/tsi108_eth.c | 11 +-
drivers/net/tulip/21142.c | 6 +-
drivers/net/tulip/de2104x.c | 10 +-
drivers/net/tulip/de4x5.c | 16 -
drivers/net/tulip/de4x5.h | 3 +-
drivers/net/tulip/eeprom.c | 6 +-
drivers/net/tulip/interrupt.c | 5 +-
drivers/net/tulip/media.c | 5 +-
drivers/net/tulip/pnic.c | 5 +-
drivers/net/tulip/pnic2.c | 5 +-
drivers/net/tulip/timer.c | 6 +-
drivers/net/tulip/tulip.h | 4 +-
drivers/net/tulip/tulip_core.c | 8 +-
drivers/net/tun.c | 471 +-
drivers/net/typhoon.c | 3 -
drivers/net/ucc_geth.c | 34 +-
drivers/net/ucc_geth_ethtool.c | 4 +-
drivers/net/ucc_geth_mii.c | 2 +-
drivers/net/usb/Kconfig | 10 +
drivers/net/usb/Makefile | 1 +
drivers/net/usb/cdc_ether.c | 11 +-
drivers/net/usb/hso.c | 2836 +++
drivers/net/usb/kaweth.c | 43 +-
drivers/net/usb/kawethfw.h | 557 -
drivers/net/usb/rndis_host.c | 18 +-
drivers/net/via-rhine.c | 27 +-
drivers/net/via-velocity.c | 183 +-
drivers/net/via-velocity.h | 5 -
drivers/net/virtio_net.c | 117 +-
drivers/net/wan/Kconfig | 3 +-
drivers/net/wan/c101.c | 6 +-
drivers/net/wan/cosa.c | 28 +-
drivers/net/wan/dscc4.c | 22 +-
drivers/net/wan/farsync.c | 70 +-
drivers/net/wan/hd6457x.c | 33 +-
drivers/net/wan/hdlc.c | 2 +-
drivers/net/wan/hdlc_cisco.c | 4 +-
drivers/net/wan/hdlc_fr.c | 54 +-
drivers/net/wan/hdlc_raw_eth.c | 2 +-
drivers/net/wan/hdlc_x25.c | 6 +-
drivers/net/wan/pc300_drv.c | 71 +-
drivers/net/wan/pc300_tty.c | 10 +-
drivers/net/wan/wanxl.c | 26 +-
drivers/net/wan/x25_asy.c | 2 +-
drivers/net/wireless/Kconfig | 25 +-
drivers/net/wireless/Makefile | 2 +
drivers/net/wireless/adm8211.c | 58 +-
drivers/net/wireless/adm8211.h | 1 -
drivers/net/wireless/airo.c | 156 +-
drivers/net/wireless/arlan-main.c | 40 +-
drivers/net/wireless/arlan.h | 1 -
drivers/net/wireless/ath5k/Kconfig | 3 +
drivers/net/wireless/ath5k/base.c | 377 +-
drivers/net/wireless/ath5k/base.h | 36 +-
drivers/net/wireless/ath5k/hw.c | 4 +-
drivers/net/wireless/atmel.c | 76 +-
drivers/net/wireless/b43/b43.h | 49 +-
drivers/net/wireless/b43/debugfs.c | 436 +-
drivers/net/wireless/b43/debugfs.h | 24 +-
drivers/net/wireless/b43/dma.c | 119 +-
drivers/net/wireless/b43/dma.h | 3 +-
drivers/net/wireless/b43/lo.c | 731 +-
drivers/net/wireless/b43/lo.h | 115 +-
drivers/net/wireless/b43/main.c | 450 +-
drivers/net/wireless/b43/main.h | 7 +
drivers/net/wireless/b43/nphy.c | 2 -
drivers/net/wireless/b43/phy.c | 291 +-
drivers/net/wireless/b43/phy.h | 16 +-
drivers/net/wireless/b43/pio.c | 44 +-
drivers/net/wireless/b43/pio.h | 8 +-
drivers/net/wireless/b43/rfkill.c | 27 +-
drivers/net/wireless/b43/xmit.c | 88 +-
drivers/net/wireless/b43/xmit.h | 4 +-
drivers/net/wireless/b43legacy/b43legacy.h | 17 -
drivers/net/wireless/b43legacy/dma.c | 172 +-
drivers/net/wireless/b43legacy/dma.h | 7 +-
drivers/net/wireless/b43legacy/main.c | 72 +-
drivers/net/wireless/b43legacy/phy.c | 14 +-
drivers/net/wireless/b43legacy/pio.c | 27 +-
drivers/net/wireless/b43legacy/pio.h | 7 +-
drivers/net/wireless/b43legacy/radio.c | 12 +-
drivers/net/wireless/b43legacy/rfkill.c | 28 +-
drivers/net/wireless/b43legacy/xmit.c | 70 +-
drivers/net/wireless/b43legacy/xmit.h | 2 +-
drivers/net/wireless/hostap/hostap.h | 3 +-
drivers/net/wireless/hostap/hostap_80211_rx.c | 21 +
drivers/net/wireless/hostap/hostap_ap.c | 32 +-
drivers/net/wireless/hostap/hostap_hw.c | 22 +-
drivers/net/wireless/hostap/hostap_ioctl.c | 63 +-
drivers/net/wireless/hostap/hostap_main.c | 20 +-
drivers/net/wireless/hostap/hostap_wlan.h | 14 +-
drivers/net/wireless/ipw2200.c | 33 +-
drivers/net/wireless/iwlwifi/Kconfig | 32 +-
drivers/net/wireless/iwlwifi/Makefile | 11 +-
drivers/net/wireless/iwlwifi/iwl-3945-hw.h | 13 +-
drivers/net/wireless/iwlwifi/iwl-3945-led.c | 146 +-
drivers/net/wireless/iwlwifi/iwl-3945-led.h | 2 +-
drivers/net/wireless/iwlwifi/iwl-3945-rs.c | 17 +-
drivers/net/wireless/iwlwifi/iwl-3945.c | 131 +-
drivers/net/wireless/iwlwifi/iwl-3945.h | 51 +-
drivers/net/wireless/iwlwifi/iwl-4965-commands.h | 2716 ---
drivers/net/wireless/iwlwifi/iwl-4965-hw.h | 634 +-
drivers/net/wireless/iwlwifi/iwl-4965-rs.c | 1233 +-
drivers/net/wireless/iwlwifi/iwl-4965-rs.h | 105 +-
drivers/net/wireless/iwlwifi/iwl-4965.c | 4004 +----
drivers/net/wireless/iwlwifi/iwl-4965.h | 1262 --
drivers/net/wireless/iwlwifi/iwl-5000-hw.h | 134 +
drivers/net/wireless/iwlwifi/iwl-5000.c | 1580 ++
drivers/net/wireless/iwlwifi/iwl-calib.c | 802 +
drivers/net/wireless/iwlwifi/iwl-calib.h | 84 +
drivers/net/wireless/iwlwifi/iwl-commands.h | 3024 +++
drivers/net/wireless/iwlwifi/iwl-core.c | 1259 ++-
drivers/net/wireless/iwlwifi/iwl-core.h | 219 +-
drivers/net/wireless/iwlwifi/iwl-csr.h | 38 +-
drivers/net/wireless/iwlwifi/iwl-debug.h | 31 +-
drivers/net/wireless/iwlwifi/iwl-debugfs.c | 103 +-
drivers/net/wireless/iwlwifi/iwl-dev.h | 1175 ++
drivers/net/wireless/iwlwifi/iwl-eeprom.c | 171 +-
drivers/net/wireless/iwlwifi/iwl-eeprom.h | 206 +-
drivers/net/wireless/iwlwifi/iwl-fh.h | 391 +
drivers/net/wireless/iwlwifi/iwl-hcmd.c | 15 +-
drivers/net/wireless/iwlwifi/iwl-helpers.h | 92 +-
drivers/net/wireless/iwlwifi/iwl-led.c | 209 +-
drivers/net/wireless/iwlwifi/iwl-led.h | 5 +-
drivers/net/wireless/iwlwifi/iwl-power.c | 423 +
drivers/net/wireless/iwlwifi/iwl-power.h | 76 +
drivers/net/wireless/iwlwifi/iwl-prph.h | 333 +-
drivers/net/wireless/iwlwifi/iwl-rfkill.c | 106 +-
drivers/net/wireless/iwlwifi/iwl-rfkill.h | 6 -
drivers/net/wireless/iwlwifi/iwl-rx.c | 1321 ++
drivers/net/wireless/iwlwifi/iwl-scan.c | 931 +
drivers/net/wireless/iwlwifi/iwl-sta.c | 712 +-
drivers/net/wireless/iwlwifi/iwl-sta.h | 28 +-
drivers/net/wireless/iwlwifi/iwl-tx.c | 1519 ++
drivers/net/wireless/iwlwifi/iwl3945-base.c | 535 +-
drivers/net/wireless/iwlwifi/iwl4965-base.c | 5004 +-----
drivers/net/wireless/libertas/Makefile | 8 +-
drivers/net/wireless/libertas/assoc.c | 8 +-
drivers/net/wireless/libertas/cmd.c | 192 +-
drivers/net/wireless/libertas/cmd.h | 8 +-
drivers/net/wireless/libertas/cmdresp.c | 25 +-
drivers/net/wireless/libertas/decl.h | 8 +-
drivers/net/wireless/libertas/defs.h | 14 +-
drivers/net/wireless/libertas/dev.h | 8 +-
drivers/net/wireless/libertas/host.h | 17 +
drivers/net/wireless/libertas/hostcmd.h | 4 +-
drivers/net/wireless/libertas/if_cs.c | 317 +-
drivers/net/wireless/libertas/if_sdio.c | 24 +-
drivers/net/wireless/libertas/if_usb.c | 26 +-
drivers/net/wireless/libertas/main.c | 254 +-
drivers/net/wireless/libertas/persistcfg.c | 453 +
drivers/net/wireless/libertas/rx.c | 4 +-
drivers/net/wireless/libertas/scan.c | 36 +-
drivers/net/wireless/libertas/types.h | 30 +
drivers/net/wireless/libertas/wext.c | 32 +-
drivers/net/wireless/mac80211_hwsim.c | 521 +
drivers/net/wireless/orinoco.c | 30 +-
drivers/net/wireless/p54/p54.h | 2 +-
drivers/net/wireless/p54/p54common.c | 138 +-
drivers/net/wireless/p54/p54common.h | 1 -
drivers/net/wireless/p54/p54pci.c | 2 +-
drivers/net/wireless/p54/p54usb.c | 5 +-
drivers/net/wireless/prism54/isl_ioctl.c | 49 +-
drivers/net/wireless/rndis_wlan.c | 205 +-
drivers/net/wireless/rt2x00/Kconfig | 63 +-
drivers/net/wireless/rt2x00/rt2400pci.c | 352 +-
drivers/net/wireless/rt2x00/rt2400pci.h | 7 +-
drivers/net/wireless/rt2x00/rt2500pci.c | 312 +-
drivers/net/wireless/rt2x00/rt2500pci.h | 11 +-
drivers/net/wireless/rt2x00/rt2500usb.c | 307 +-
drivers/net/wireless/rt2x00/rt2500usb.h | 47 +-
drivers/net/wireless/rt2x00/rt2x00.h | 109 +-
drivers/net/wireless/rt2x00/rt2x00config.c | 2 +
drivers/net/wireless/rt2x00/rt2x00debug.c | 10 +-
drivers/net/wireless/rt2x00/rt2x00dev.c | 362 +-
drivers/net/wireless/rt2x00/rt2x00firmware.c | 8 +
drivers/net/wireless/rt2x00/rt2x00lib.h | 78 +-
drivers/net/wireless/rt2x00/rt2x00mac.c | 172 +-
drivers/net/wireless/rt2x00/rt2x00pci.c | 231 +-
drivers/net/wireless/rt2x00/rt2x00pci.h | 47 +-
drivers/net/wireless/rt2x00/rt2x00queue.c | 413 +-
drivers/net/wireless/rt2x00/rt2x00queue.h | 136 +-
drivers/net/wireless/rt2x00/rt2x00reg.h | 145 +-
drivers/net/wireless/rt2x00/rt2x00rfkill.c | 114 +-
drivers/net/wireless/rt2x00/rt2x00usb.c | 361 +-
drivers/net/wireless/rt2x00/rt2x00usb.h | 69 +-
drivers/net/wireless/rt2x00/rt61pci.c | 348 +-
drivers/net/wireless/rt2x00/rt61pci.h | 7 +-
drivers/net/wireless/rt2x00/rt73usb.c | 276 +-
drivers/net/wireless/rt2x00/rt73usb.h | 7 +-
drivers/net/wireless/rtl8180_dev.c | 71 +-
drivers/net/wireless/rtl8187.h | 119 +-
drivers/net/wireless/rtl8187_dev.c | 558 +-
drivers/net/wireless/rtl8187_rtl8225.c | 250 +-
drivers/net/wireless/rtl8187_rtl8225.h | 15 +-
drivers/net/wireless/rtl818x.h | 36 +-
drivers/net/wireless/strip.c | 2 +-
drivers/net/wireless/wl3501_cs.c | 10 +-
drivers/net/wireless/zd1201.c | 23 +-
drivers/net/wireless/zd1211rw/zd_mac.c | 262 +-
drivers/net/wireless/zd1211rw/zd_mac.h | 16 -
drivers/net/wireless/zd1211rw/zd_usb.c | 29 +-
drivers/net/xen-netfront.c | 23 +-
drivers/of/Kconfig | 2 +-
drivers/of/device.c | 84 +-
drivers/of/gpio.c | 38 +-
drivers/of/of_i2c.c | 3 +-
drivers/of/platform.c | 3 +
drivers/parisc/eisa_eeprom.c | 3 +
drivers/parport/parport_ax88796.c | 2 +
drivers/pci/Makefile | 2 +-
drivers/pci/dmar.c | 4 +-
drivers/pci/hotplug/acpi_pcihp.c | 85 +-
drivers/pci/hotplug/acpiphp.h | 5 +-
drivers/pci/hotplug/acpiphp_core.c | 25 +-
drivers/pci/hotplug/acpiphp_glue.c | 23 +-
drivers/pci/hotplug/acpiphp_ibm.c | 6 +-
drivers/pci/hotplug/cpci_hotplug_core.c | 2 +-
drivers/pci/hotplug/cpqphp_core.c | 4 +-
drivers/pci/hotplug/fakephp.c | 86 +-
drivers/pci/hotplug/ibmphp_ebda.c | 3 +-
drivers/pci/hotplug/pci_hotplug_core.c | 284 +-
drivers/pci/hotplug/pciehp.h | 16 +-
drivers/pci/hotplug/pciehp_core.c | 127 +-
drivers/pci/hotplug/pciehp_hpc.c | 318 +-
drivers/pci/hotplug/rpadlpar_sysfs.c | 5 +-
drivers/pci/hotplug/rpaphp_slot.c | 44 +-
drivers/pci/hotplug/sgi_hotplug.c | 12 +-
drivers/pci/hotplug/shpchp.h | 14 +-
drivers/pci/hotplug/shpchp_core.c | 37 +-
drivers/pci/hotplug/shpchp_hpc.c | 1 -
drivers/pci/intel-iommu.c | 54 +-
drivers/pci/msi.c | 22 +-
drivers/pci/pci-acpi.c | 277 +-
drivers/pci/pci-driver.c | 388 +-
drivers/pci/pci.c | 491 +-
drivers/pci/pci.h | 48 +-
drivers/pci/pcie/aer/aerdrv.c | 9 +-
drivers/pci/pcie/aer/aerdrv_acpi.c | 8 +-
drivers/pci/pcie/aer/aerdrv_core.c | 24 +-
drivers/pci/pcie/portdrv_bus.c | 1 +
drivers/pci/pcie/portdrv_core.c | 22 +-
drivers/pci/pcie/portdrv_pci.c | 5 +-
drivers/pci/probe.c | 38 +-
drivers/pci/proc.c | 22 +-
drivers/pci/quirks.c | 134 +-
drivers/pci/setup-bus.c | 43 +-
drivers/pci/setup-irq.c | 3 +-
drivers/pci/setup-res.c | 70 +-
drivers/pci/slot.c | 233 +
drivers/pcmcia/Kconfig | 10 +-
drivers/pcmcia/Makefile | 2 +
drivers/pcmcia/au1000_generic.h | 27 +-
drivers/pcmcia/au1000_pb1x00.c | 1 -
drivers/pcmcia/au1000_xxs1500.c | 1 -
drivers/pcmcia/bfin_cf_pcmcia.c | 339 +
drivers/pcmcia/cardbus.c | 2 -
drivers/pcmcia/cistpl.c | 16 +-
drivers/pcmcia/cs.c | 14 +-
drivers/pcmcia/cs_internal.h | 13 -
drivers/pcmcia/ds.c | 12 +-
drivers/pcmcia/electra_cf.c | 3 +-
drivers/pcmcia/hd64465_ss.c | 3 -
drivers/pcmcia/i82092.c | 2 -
drivers/pcmcia/i82092aa.h | 2 -
drivers/pcmcia/i82365.c | 39 +-
drivers/pcmcia/m8xx_pcmcia.c | 7 +-
drivers/pcmcia/omap_cf.c | 25 +-
drivers/pcmcia/pcmcia_ioctl.c | 179 +-
drivers/pcmcia/pcmcia_resource.c | 81 +-
drivers/pcmcia/pxa2xx_base.c | 1 -
drivers/pcmcia/pxa2xx_cm_x270.c | 108 +-
drivers/pcmcia/pxa2xx_mainstone.c | 13 +-
drivers/pcmcia/pxa2xx_palmtx.c | 118 +
drivers/pcmcia/pxa2xx_sharpsl.c | 12 +-
drivers/pcmcia/rsrc_mgr.c | 86 +-
drivers/pcmcia/rsrc_nonstatic.c | 57 +-
drivers/pcmcia/soc_common.h | 1 -
drivers/pcmcia/socket_sysfs.c | 8 +-
drivers/pcmcia/ti113x.h | 4 +-
drivers/pnp/base.h | 148 +-
drivers/pnp/core.c | 29 +-
drivers/pnp/interface.c | 207 +-
drivers/pnp/isapnp/core.c | 253 +-
drivers/pnp/manager.c | 414 +-
drivers/pnp/pnpacpi/core.c | 4 +-
drivers/pnp/pnpacpi/rsparser.c | 492 +-
drivers/pnp/pnpbios/rsparser.c | 274 +-
drivers/pnp/quirks.c | 307 +-
drivers/pnp/resource.c | 454 +-
drivers/pnp/support.c | 171 +-
drivers/pnp/system.c | 4 +-
drivers/power/Kconfig | 6 +
drivers/power/Makefile | 1 +
drivers/power/apm_power.c | 2 +-
drivers/power/ds2760_battery.c | 2 +
drivers/power/palmtx_battery.c | 198 +
drivers/power/pda_power.c | 2 +
drivers/power/power_supply_core.c | 4 +-
drivers/rtc/Kconfig | 38 +-
drivers/rtc/Makefile | 3 +
drivers/rtc/interface.c | 2 +-
drivers/rtc/rtc-at32ap700x.c | 3 +
drivers/rtc/rtc-at91rm9200.c | 20 +-
drivers/rtc/rtc-at91sam9.c | 1 -
drivers/rtc/rtc-cmos.c | 294 +-
drivers/rtc/rtc-dev.c | 70 +-
drivers/rtc/rtc-ds1305.c | 847 +
drivers/rtc/rtc-m41t80.c | 27 +-
drivers/rtc/rtc-m41t94.c | 173 +
drivers/rtc/rtc-omap.c | 22 +-
drivers/rtc/rtc-pcf8583.c | 129 +-
drivers/rtc/rtc-pl030.c | 217 +
drivers/rtc/rtc-pl031.c | 36 +-
drivers/rtc/rtc-s3c.c | 93 +-
drivers/rtc/rtc-sa1100.c | 37 +-
drivers/rtc/rtc-vr41xx.c | 65 +-
drivers/s390/block/dasd.c | 18 +-
drivers/s390/block/dasd_3990_erp.c | 15 +-
drivers/s390/block/dasd_diag.c | 25 +-
drivers/s390/block/dasd_eckd.c | 16 +-
drivers/s390/block/dasd_eer.c | 6 +
drivers/s390/block/dasd_fba.c | 19 +-
drivers/s390/block/dcssblk.c | 22 +-
drivers/s390/block/xpram.c | 18 +-
drivers/s390/char/con3215.c | 38 +-
drivers/s390/char/con3270.c | 6 +-
drivers/s390/char/fs3270.c | 34 +-
drivers/s390/char/monreader.c | 78 +-
drivers/s390/char/monwriter.c | 3 +
drivers/s390/char/raw3270.c | 42 +-
drivers/s390/char/sclp.c | 12 +-
drivers/s390/char/sclp_cmd.c | 343 +-
drivers/s390/char/sclp_con.c | 5 +-
drivers/s390/char/sclp_config.c | 17 +-
drivers/s390/char/sclp_cpi_sys.c | 57 +-
drivers/s390/char/sclp_quiesce.c | 8 +-
drivers/s390/char/sclp_rw.c | 2 -
drivers/s390/char/sclp_sdias.c | 4 +-
drivers/s390/char/sclp_tty.c | 261 +-
drivers/s390/char/sclp_tty.h | 53 -
drivers/s390/char/sclp_vt220.c | 62 +-
drivers/s390/char/tape_34xx.c | 12 +-
drivers/s390/char/tape_3590.c | 21 +-
drivers/s390/char/tape_char.c | 12 +-
drivers/s390/char/tape_class.c | 7 +-
drivers/s390/char/tape_core.c | 15 +-
drivers/s390/char/tty3270.c | 9 +-
drivers/s390/char/vmcp.c | 41 +-
drivers/s390/char/vmlogrdr.c | 37 +-
drivers/s390/char/vmur.c | 32 +-
drivers/s390/char/vmwatchdog.c | 23 +-
drivers/s390/char/zcore.c | 132 +-
drivers/s390/cio/Makefile | 6 +-
drivers/s390/cio/airq.c | 45 +-
drivers/s390/cio/chp.c | 116 +-
drivers/s390/cio/chp.h | 15 +-
drivers/s390/cio/chsc.c | 388 +-
drivers/s390/cio/chsc.h | 28 +-
drivers/s390/cio/chsc_sch.c | 820 +
drivers/s390/cio/chsc_sch.h | 13 +
drivers/s390/cio/cio.c | 282 +-
drivers/s390/cio/cio.h | 14 +-
drivers/s390/cio/cmf.c | 20 +-
drivers/s390/cio/css.c | 283 +-
drivers/s390/cio/css.h | 49 +-
drivers/s390/cio/device.c | 476 +-
drivers/s390/cio/device.h | 7 +-
drivers/s390/cio/device_fsm.c | 210 +-
drivers/s390/cio/device_id.c | 16 +-
drivers/s390/cio/device_ops.c | 134 +-
drivers/s390/cio/device_pgid.c | 26 +-
drivers/s390/cio/device_status.c | 133 +-
drivers/s390/cio/fcx.c | 350 +
drivers/s390/cio/idset.h | 2 +-
drivers/s390/cio/io_sch.h | 48 +-
drivers/s390/cio/ioasm.h | 2 +-
drivers/s390/cio/isc.c | 68 +
drivers/s390/cio/itcw.c | 327 +
drivers/s390/cio/qdio.c | 3934 ----
drivers/s390/cio/qdio.h | 837 +-
drivers/s390/cio/qdio_debug.c | 240 +
drivers/s390/cio/qdio_debug.h | 91 +
drivers/s390/cio/qdio_main.c | 1755 ++
drivers/s390/cio/qdio_perf.c | 151 +
drivers/s390/cio/qdio_perf.h | 54 +
drivers/s390/cio/qdio_setup.c | 521 +
drivers/s390/cio/qdio_thinint.c | 380 +
drivers/s390/cio/schid.h | 26 -
drivers/s390/cio/scsw.c | 843 +
drivers/s390/crypto/ap_bus.c | 63 +-
drivers/s390/crypto/ap_bus.h | 2 +
drivers/s390/crypto/zcrypt_api.c | 27 +-
drivers/s390/crypto/zcrypt_api.h | 28 -
drivers/s390/crypto/zcrypt_cex2a.c | 4 +-
drivers/s390/crypto/zcrypt_error.h | 6 -
drivers/s390/crypto/zcrypt_pcica.c | 3 -
drivers/s390/crypto/zcrypt_pcicc.c | 15 +-
drivers/s390/crypto/zcrypt_pcixcc.c | 69 +-
drivers/s390/kvm/kvm_virtio.c | 34 +-
drivers/s390/net/claw.c | 2142 +--
drivers/s390/net/ctcm_dbug.c | 29 +-
drivers/s390/net/ctcm_dbug.h | 39 +-
drivers/s390/net/ctcm_fsms.c | 412 +-
drivers/s390/net/ctcm_main.c | 532 +-
drivers/s390/net/ctcm_main.h | 31 +-
drivers/s390/net/ctcm_mpc.c | 1110 +-
drivers/s390/net/ctcm_mpc.h | 2 +-
drivers/s390/net/cu3088.c | 2 -
drivers/s390/net/cu3088.h | 3 -
drivers/s390/net/lcs.c | 44 +-
drivers/s390/net/netiucv.c | 61 +-
drivers/s390/net/qeth_core.h | 12 +-
drivers/s390/net/qeth_core_main.c | 102 +-
drivers/s390/net/qeth_l2_main.c | 26 +-
drivers/s390/net/qeth_l3_main.c | 40 +-
drivers/s390/net/smsgiucv.c | 10 +-
drivers/s390/s390mach.c | 106 +-
drivers/s390/s390mach.h | 10 +
drivers/s390/scsi/Makefile | 3 +-
drivers/s390/scsi/zfcp_aux.c | 1689 +--
drivers/s390/scsi/zfcp_ccw.c | 152 +-
drivers/s390/scsi/zfcp_cfdc.c | 259 +
drivers/s390/scsi/zfcp_dbf.c | 102 +-
drivers/s390/scsi/zfcp_dbf.h | 14 +-
drivers/s390/scsi/zfcp_def.h | 341 +-
drivers/s390/scsi/zfcp_erp.c | 3824 ++---
drivers/s390/scsi/zfcp_ext.h | 306 +-
drivers/s390/scsi/zfcp_fc.c | 567 +
drivers/s390/scsi/zfcp_fsf.c | 5573 ++----
drivers/s390/scsi/zfcp_fsf.h | 70 +-
drivers/s390/scsi/zfcp_qdio.c | 799 +-
drivers/s390/scsi/zfcp_scsi.c | 784 +-
drivers/s390/scsi/zfcp_sysfs.c | 496 +
drivers/s390/scsi/zfcp_sysfs_adapter.c | 270 -
drivers/s390/scsi/zfcp_sysfs_driver.c | 106 -
drivers/s390/scsi/zfcp_sysfs_port.c | 295 -
drivers/s390/scsi/zfcp_sysfs_unit.c | 167 -
drivers/sbus/char/bpp.c | 3 +
drivers/sbus/char/cpwatchdog.c | 4 +
drivers/sbus/char/display7seg.c | 1 +
drivers/sbus/char/envctrl.c | 2 +
drivers/sbus/char/flash.c | 6 +-
drivers/sbus/char/jsflash.c | 13 +-
drivers/sbus/char/openprom.c | 3 +
drivers/sbus/char/riowatchdog.c | 2 +
drivers/sbus/char/rtc.c | 3 +
drivers/sbus/char/uctrl.c | 19 +-
drivers/sbus/char/vfc.h | 4 -
drivers/sbus/char/vfc_dev.c | 44 +-
drivers/sbus/char/vfc_i2c.c | 12 +-
drivers/sbus/dvma.c | 2 +-
drivers/sbus/sbus.c | 6 +-
drivers/scsi/3w-9xxx.c | 3 +
drivers/scsi/3w-xxxx.c | 3 +
drivers/scsi/Kconfig | 27 +-
drivers/scsi/Makefile | 2 +
drivers/scsi/a100u2w.c | 49 +-
drivers/scsi/aacraid/commctrl.c | 33 +
drivers/scsi/aacraid/linit.c | 5 +-
drivers/scsi/aic94xx/aic94xx_sds.c | 12 +-
drivers/scsi/aic94xx/aic94xx_sds.h | 4 +-
drivers/scsi/aic94xx/aic94xx_seq.c | 7 +-
drivers/scsi/arm/Kconfig | 2 +-
drivers/scsi/arm/acornscsi-io.S | 15 +-
drivers/scsi/arm/acornscsi.c | 426 +-
drivers/scsi/arm/acornscsi.h | 9 +-
drivers/scsi/ch.c | 4 +
drivers/scsi/device_handler/Kconfig | 32 +
drivers/scsi/device_handler/Makefile | 7 +
drivers/scsi/device_handler/scsi_dh.c | 162 +
drivers/scsi/device_handler/scsi_dh_emc.c | 504 +
drivers/scsi/device_handler/scsi_dh_hp_sw.c | 207 +
drivers/scsi/device_handler/scsi_dh_rdac.c | 696 +
drivers/scsi/dpt_i2o.c | 9 +-
drivers/scsi/esp_scsi.c | 24 +-
drivers/scsi/gdth.c | 3 +
drivers/scsi/hosts.c | 9 +-
drivers/scsi/ibmvscsi/Makefile | 1 +
drivers/scsi/ibmvscsi/ibmvfc.c | 3925 ++++
drivers/scsi/ibmvscsi/ibmvfc.h | 682 +
drivers/scsi/ibmvscsi/ibmvscsi.c | 45 +-
drivers/scsi/ibmvscsi/ibmvscsi.h | 2 +
drivers/scsi/ide-scsi.c | 357 +-
drivers/scsi/iscsi_tcp.c | 514 +-
drivers/scsi/iscsi_tcp.h | 7 +-
drivers/scsi/libiscsi.c | 1359 +-
drivers/scsi/lpfc/lpfc.h | 21 +-
drivers/scsi/lpfc/lpfc_attr.c | 3 +-
drivers/scsi/lpfc/lpfc_crtn.h | 3 +-
drivers/scsi/lpfc/lpfc_ct.c | 22 +-
drivers/scsi/lpfc/lpfc_els.c | 181 +-
drivers/scsi/lpfc/lpfc_hbadisc.c | 120 +-
drivers/scsi/lpfc/lpfc_init.c | 34 +-
drivers/scsi/lpfc/lpfc_nportdisc.c | 145 +-
drivers/scsi/lpfc/lpfc_scsi.c | 232 +-
drivers/scsi/lpfc/lpfc_sli.c | 49 +-
drivers/scsi/lpfc/lpfc_version.h | 2 +-
drivers/scsi/lpfc/lpfc_vport.c | 16 +-
drivers/scsi/megaraid.c | 5 +-
drivers/scsi/megaraid/megaraid_mm.c | 2 +
drivers/scsi/megaraid/megaraid_sas.c | 2 +
drivers/scsi/mesh.c | 8 +-
drivers/scsi/osst.c | 15 +-
drivers/scsi/qla4xxx/ql4_os.c | 8 +-
drivers/scsi/scsi.c | 9 +
drivers/scsi/scsi_debug.c | 110 +-
drivers/scsi/scsi_error.c | 11 +
drivers/scsi/scsi_lib.c | 35 +-
drivers/scsi/scsi_scan.c | 2 +-
drivers/scsi/scsi_sysfs.c | 1 +
drivers/scsi/scsi_tgt_if.c | 2 +
drivers/scsi/scsi_transport_fc.c | 9 +-
drivers/scsi/scsi_transport_iscsi.c | 399 +-
drivers/scsi/sd.c | 12 +-
drivers/scsi/sd.h | 62 +
drivers/scsi/sg.c | 63 +-
drivers/scsi/sr.c | 20 +-
drivers/scsi/st.c | 11 +-
drivers/scsi/sun_esp.c | 1 +
drivers/scsi/sym53c8xx_2/sym_misc.h | 4 +-
drivers/serial/21285.c | 12 +-
drivers/serial/68328serial.c | 30 +-
drivers/serial/68360serial.c | 52 +-
drivers/serial/8250.c | 33 +-
drivers/serial/8250.h | 2 -
drivers/serial/8250_gsc.c | 2 +
drivers/serial/8250_pci.c | 19 +-
drivers/serial/8250_pnp.c | 26 +-
drivers/serial/Kconfig | 74 +-
drivers/serial/Makefile | 6 +-
drivers/serial/amba-pl010.c | 8 +-
drivers/serial/amba-pl011.c | 4 +-
drivers/serial/atmel_serial.c | 38 +-
drivers/serial/bfin_5xx.c | 10 +-
drivers/serial/bfin_sport_uart.c | 4 +-
drivers/serial/clps711x.c | 9 +-
drivers/serial/cpm_uart/cpm_uart.h | 11 +-
drivers/serial/cpm_uart/cpm_uart_core.c | 511 +-
drivers/serial/cpm_uart/cpm_uart_cpm1.c | 170 +-
drivers/serial/cpm_uart/cpm_uart_cpm1.h | 12 +-
drivers/serial/cpm_uart/cpm_uart_cpm2.c | 283 +-
drivers/serial/cpm_uart/cpm_uart_cpm2.h | 12 +-
drivers/serial/crisv10.c | 79 +-
drivers/serial/dz.c | 28 +-
drivers/serial/icom.c | 2 +-
drivers/serial/imx.c | 320 +-
drivers/serial/ioc3_serial.c | 14 +-
drivers/serial/ioc4_serial.c | 21 +-
drivers/serial/ip22zilog.c | 4 +-
drivers/serial/jsm/jsm_neo.c | 2 +-
drivers/serial/jsm/jsm_tty.c | 8 +-
drivers/serial/m32r_sio.c | 6 +-
drivers/serial/mcf.c | 2 +-
drivers/serial/mcfserial.c | 32 +-
drivers/serial/mpc52xx_uart.c | 2 +-
drivers/serial/mpsc.c | 154 +-
drivers/serial/mux.c | 2 +-
drivers/serial/netx-serial.c | 2 +-
drivers/serial/of_serial.c | 2 +-
drivers/serial/pmac_zilog.c | 4 +-
drivers/serial/pnx8xxx_uart.c | 4 +-
drivers/serial/pxa.c | 2 +-
drivers/serial/s3c2400.c | 106 +
drivers/serial/s3c2410.c | 1860 +--
drivers/serial/s3c2412.c | 151 +
drivers/serial/s3c2440.c | 181 +
drivers/serial/sa1100.c | 9 +-
drivers/serial/samsung.c | 1317 ++
drivers/serial/samsung.h | 102 +
drivers/serial/sb1250-duart.c | 2 +-
drivers/serial/sc26xx.c | 2 +-
drivers/serial/serial_core.c | 85 +-
drivers/serial/serial_ks8695.c | 2 +-
drivers/serial/serial_lh7a40x.c | 2 +-
drivers/serial/serial_txx9.c | 2 +-
drivers/serial/sh-sci.c | 8 +-
drivers/serial/sn_console.c | 2 +-
drivers/serial/sunhv.c | 2 +-
drivers/serial/sunsab.c | 2 +-
drivers/serial/sunsu.c | 4 +-
drivers/serial/sunzilog.c | 4 +-
drivers/serial/uartlite.c | 4 +-
drivers/serial/ucc_uart.c | 2 +-
drivers/serial/v850e_uart.c | 4 +-
drivers/serial/vr41xx_siu.c | 2 +-
drivers/serial/zs.c | 23 +-
drivers/spi/Kconfig | 45 +-
drivers/spi/au1550_spi.c | 207 +-
drivers/spi/mpc52xx_psc_spi.c | 2 +-
drivers/spi/spi.c | 6 +-
drivers/spi/spi_imx.c | 54 +-
drivers/spi/spi_mpc83xx.c | 29 +-
drivers/spi/spidev.c | 26 +-
drivers/spi/xilinx_spi.c | 5 +-
drivers/ssb/Kconfig | 2 +-
drivers/ssb/main.c | 75 +-
drivers/ssb/pci.c | 20 +-
drivers/telephony/ixj.c | 17 +-
drivers/telephony/phonedev.c | 3 +
drivers/uio/Kconfig | 10 +-
drivers/uio/Makefile | 1 +
drivers/uio/uio.c | 43 +-
drivers/uio/uio_pdrv.c | 118 +
drivers/usb/atm/cxacru.c | 3 +-
drivers/usb/atm/speedtch.c | 1 -
drivers/usb/atm/ueagle-atm.c | 20 +-
drivers/usb/class/cdc-acm.c | 186 +-
drivers/usb/class/cdc-acm.h | 5 +
drivers/usb/class/cdc-wdm.c | 127 +-
drivers/usb/core/devices.c | 4 -
drivers/usb/core/devio.c | 101 +-
drivers/usb/core/driver.c | 168 +-
drivers/usb/core/endpoint.c | 4 +-
drivers/usb/core/file.c | 18 +-
drivers/usb/core/hcd.c | 6 +-
drivers/usb/core/hcd.h | 4 +-
drivers/usb/core/hub.c | 536 +-
drivers/usb/core/inode.c | 16 +-
drivers/usb/core/message.c | 22 +-
drivers/usb/core/usb.c | 7 +-
drivers/usb/core/usb.h | 19 +-
drivers/usb/gadget/Kconfig | 30 +-
drivers/usb/gadget/Makefile | 15 +-
drivers/usb/gadget/amd5536udc.c | 2 +-
drivers/usb/gadget/at91_udc.c | 17 +-
drivers/usb/gadget/at91_udc.h | 2 +-
drivers/usb/gadget/cdc2.c | 246 +
drivers/usb/gadget/composite.c | 1041 ++
drivers/usb/gadget/config.c | 76 +-
drivers/usb/gadget/dummy_hcd.c | 4 +-
drivers/usb/gadget/epautoconf.c | 1 +
drivers/usb/gadget/ether.c | 2631 +---
drivers/usb/gadget/f_acm.c | 589 +
drivers/usb/gadget/f_ecm.c | 833 +
drivers/usb/gadget/f_loopback.c | 381 +
drivers/usb/gadget/f_rndis.c | 827 +
drivers/usb/gadget/f_serial.c | 296 +
drivers/usb/gadget/f_sourcesink.c | 587 +
drivers/usb/gadget/f_subset.c | 423 +
drivers/usb/gadget/file_storage.c | 18 +-
drivers/usb/gadget/fsl_usb2_udc.c | 4 +-
drivers/usb/gadget/fsl_usb2_udc.h | 2 +-
drivers/usb/gadget/g_zero.h | 25 +
drivers/usb/gadget/gadget_chips.h | 27 +-
drivers/usb/gadget/gmidi.c | 2 -
drivers/usb/gadget/goku_udc.c | 4 +-
drivers/usb/gadget/goku_udc.h | 2 +-
drivers/usb/gadget/inode.c | 27 +-
drivers/usb/gadget/lh7a40x_udc.c | 2 +-
drivers/usb/gadget/m66592-udc.c | 2 +-
drivers/usb/gadget/ndis.h | 10 +-
drivers/usb/gadget/net2280.c | 4 +-
drivers/usb/gadget/net2280.h | 2 +-
drivers/usb/gadget/omap_udc.c | 518 +-
drivers/usb/gadget/omap_udc.h | 63 +-
drivers/usb/gadget/printer.c | 16 +-
drivers/usb/gadget/pxa25x_udc.c | 2390 +++
drivers/usb/gadget/pxa25x_udc.h | 266 +
drivers/usb/gadget/pxa27x_udc.c | 10 +-
drivers/usb/gadget/pxa27x_udc.h | 8 -
drivers/usb/gadget/pxa2xx_udc.c | 2383 ---
drivers/usb/gadget/pxa2xx_udc.h | 267 -
drivers/usb/gadget/rndis.c | 421 +-
drivers/usb/gadget/rndis.h | 9 +-
drivers/usb/gadget/serial.c | 2315 +---
drivers/usb/gadget/u_ether.c | 964 +
drivers/usb/gadget/u_ether.h | 127 +
drivers/usb/gadget/u_serial.c | 1246 ++
drivers/usb/gadget/u_serial.h | 58 +
drivers/usb/gadget/zero.c | 1162 +--
drivers/usb/host/ehci-au1xxx.c | 369 +-
drivers/usb/host/ehci-dbg.c | 4 +-
drivers/usb/host/ehci-fsl.c | 17 +-
drivers/usb/host/ehci-hcd.c | 2 +-
drivers/usb/host/ehci-ixp4xx.c | 8 +-
drivers/usb/host/ehci-orion.c | 8 +-
drivers/usb/host/ehci-ps3.c | 2 +-
drivers/usb/host/ehci-q.c | 17 +-
drivers/usb/host/ehci.h | 5 +-
drivers/usb/host/isp116x-hcd.c | 27 +-
drivers/usb/host/isp116x.h | 2 +-
drivers/usb/host/isp1760-hcd.c | 81 +-
drivers/usb/host/isp1760-hcd.h | 20 +-
drivers/usb/host/isp1760-if.c | 37 +-
drivers/usb/host/ohci-at91.c | 9 +-
drivers/usb/host/ohci-au1xxx.c | 327 +-
drivers/usb/host/ohci-dbg.c | 2 +-
drivers/usb/host/ohci-hcd.c | 2 +-
drivers/usb/host/ohci-omap.c | 7 +-
drivers/usb/host/ohci-pnx4008.c | 28 +-
drivers/usb/host/ohci-ppc-of.c | 2 +-
drivers/usb/host/ohci-ps3.c | 2 +-
drivers/usb/host/ohci-pxa27x.c | 3 +-
drivers/usb/host/ohci-q.c | 3 -
drivers/usb/host/ohci-sm501.c | 2 +-
drivers/usb/host/ohci-ssb.c | 2 +-
drivers/usb/host/r8a66597-hcd.c | 44 +-
drivers/usb/host/sl811-hcd.c | 4 +-
drivers/usb/host/sl811.h | 2 +-
drivers/usb/host/u132-hcd.c | 2 +-
drivers/usb/host/uhci-hub.c | 2 +-
drivers/usb/misc/auerswald.c | 10 +-
drivers/usb/misc/emi26.c | 96 +-
drivers/usb/misc/emi26_fw.h | 5779 ------
drivers/usb/misc/emi62.c | 132 +-
drivers/usb/misc/emi62_fw_m.h | 8853 ---------
drivers/usb/misc/emi62_fw_s.h | 8837 ---------
drivers/usb/misc/ftdi-elan.c | 24 -
drivers/usb/misc/iowarrior.c | 8 +-
drivers/usb/misc/isight_firmware.c | 2 +-
drivers/usb/misc/rio500.c | 8 +-
drivers/usb/misc/sisusbvga/sisusb.c | 13 +-
drivers/usb/misc/usblcd.c | 6 +-
drivers/usb/misc/usbtest.c | 4 +-
drivers/usb/mon/mon_bin.c | 11 +-
drivers/usb/mon/mon_stat.c | 14 +-
drivers/usb/serial/Kconfig | 32 +-
drivers/usb/serial/Makefile | 1 -
drivers/usb/serial/aircable.c | 19 +-
drivers/usb/serial/airprime.c | 353 -
drivers/usb/serial/ark3116.c | 32 +-
drivers/usb/serial/belkin_sa.c | 201 +-
drivers/usb/serial/belkin_sa.h | 15 +-
drivers/usb/serial/bus.c | 20 +-
drivers/usb/serial/ch341.c | 10 +-
drivers/usb/serial/console.c | 136 +-
drivers/usb/serial/cp2101.c | 392 +-
drivers/usb/serial/cyberjack.c | 176 +-
drivers/usb/serial/cypress_m8.c | 703 +-
drivers/usb/serial/cypress_m8.h | 2 +-
drivers/usb/serial/digi_acceleport.c | 460 +-
drivers/usb/serial/empeg.c | 257 +-
drivers/usb/serial/ezusb.c | 22 +-
drivers/usb/serial/ftdi_sio.c | 1247 +-
drivers/usb/serial/ftdi_sio.h | 126 +-
drivers/usb/serial/funsoft.c | 2 +-
drivers/usb/serial/garmin_gps.c | 400 +-
drivers/usb/serial/generic.c | 122 +-
drivers/usb/serial/hp4x.c | 3 +-
drivers/usb/serial/io_edgeport.c | 2133 ++-
drivers/usb/serial/io_fw_boot.h | 556 -
drivers/usb/serial/io_fw_boot2.h | 546 -
drivers/usb/serial/io_fw_down.h | 1229 --
drivers/usb/serial/io_fw_down2.h | 1133 --
drivers/usb/serial/io_fw_down3.h | 847 -
drivers/usb/serial/io_tables.h | 6 +-
drivers/usb/serial/io_ti.c | 1944 +--
drivers/usb/serial/ipaq.c | 146 +-
drivers/usb/serial/ipw.c | 294 +-
drivers/usb/serial/ir-usb.c | 481 +-
drivers/usb/serial/iuu_phoenix.c | 58 +-
drivers/usb/serial/keyspan.c | 1033 +-
drivers/usb/serial/keyspan.h | 128 +-
drivers/usb/serial/keyspan_mpr_fw.h | 286 -
drivers/usb/serial/keyspan_pda.S | 1124 --
drivers/usb/serial/keyspan_pda.c | 284 +-
drivers/usb/serial/keyspan_pda_fw.h | 99 -
drivers/usb/serial/keyspan_usa18x_fw.h | 447 -
drivers/usb/serial/keyspan_usa19_fw.h | 285 -
drivers/usb/serial/keyspan_usa19qi_fw.h | 284 -
drivers/usb/serial/keyspan_usa19qw_fw.h | 448 -
drivers/usb/serial/keyspan_usa19w_fw.h | 446 -
drivers/usb/serial/keyspan_usa28_fw.h | 466 -
drivers/usb/serial/keyspan_usa28x_fw.h | 447 -
drivers/usb/serial/keyspan_usa28xa_fw.h | 449 -
drivers/usb/serial/keyspan_usa28xb_fw.h | 448 -
drivers/usb/serial/keyspan_usa49w_fw.h | 464 -
drivers/usb/serial/keyspan_usa49wlc_fw.h | 476 -
drivers/usb/serial/kl5kusb105.c | 417 +-
drivers/usb/serial/kobil_sct.c | 617 +-
drivers/usb/serial/mct_u232.c | 364 +-
drivers/usb/serial/mos7720.c | 308 +-
drivers/usb/serial/mos7840.c | 557 +-
drivers/usb/serial/navman.c | 10 +-
drivers/usb/serial/omninet.c | 171 +-
drivers/usb/serial/option.c | 168 +-
drivers/usb/serial/oti6858.c | 255 +-
drivers/usb/serial/pl2303.c | 140 +-
drivers/usb/serial/safe_serial.c | 298 +-
drivers/usb/serial/sierra.c | 95 +-
drivers/usb/serial/spcp8x5.c | 73 +-
drivers/usb/serial/ti_fw_3410.h | 885 -
drivers/usb/serial/ti_fw_5052.h | 885 -
drivers/usb/serial/ti_usb_3410_5052.c | 443 +-
drivers/usb/serial/usb-serial.c | 400 +-
drivers/usb/serial/usb_debug.c | 10 +
drivers/usb/serial/visor.c | 384 +-
drivers/usb/serial/whiteheat.c | 518 +-
drivers/usb/serial/whiteheat.h | 78 +-
drivers/usb/serial/whiteheat_fw.h | 1669 --
drivers/usb/serial/xircom_pgs.S | 1192 --
drivers/usb/serial/xircom_pgs_fw.h | 103 -
drivers/usb/storage/datafab.c | 2 -
drivers/usb/storage/debug.c | 2 -
drivers/usb/storage/debug.h | 2 -
drivers/usb/storage/dpcm.c | 2 -
drivers/usb/storage/dpcm.h | 2 -
drivers/usb/storage/freecom.c | 2 -
drivers/usb/storage/freecom.h | 2 -
drivers/usb/storage/initializers.c | 2 -
drivers/usb/storage/initializers.h | 2 -
drivers/usb/storage/isd200.c | 8 +-
drivers/usb/storage/jumpshot.c | 2 -
drivers/usb/storage/protocol.c | 2 -
drivers/usb/storage/protocol.h | 2 -
drivers/usb/storage/scsiglue.c | 53 +-
drivers/usb/storage/scsiglue.h | 2 -
drivers/usb/storage/sddr09.c | 1 -
drivers/usb/storage/sddr09.h | 2 -
drivers/usb/storage/sddr55.c | 2 -
drivers/usb/storage/sddr55.h | 2 -
drivers/usb/storage/shuttle_usbat.c | 2 -
drivers/usb/storage/shuttle_usbat.h | 2 -
drivers/usb/storage/transport.c | 83 +-
drivers/usb/storage/transport.h | 2 -
drivers/usb/storage/unusual_devs.h | 13 +-
drivers/usb/storage/usb.c | 111 +-
drivers/usb/storage/usb.h | 25 +-
drivers/video/Kconfig | 55 +-
drivers/video/Makefile | 5 +
drivers/video/acornfb.c | 1 +
drivers/video/amifb.c | 27 +-
drivers/video/atafb.c | 12 +-
drivers/video/atmel_lcdfb.c | 92 +-
drivers/video/aty/aty128fb.c | 8 +-
drivers/video/aty/atyfb_base.c | 100 +-
drivers/video/aty/radeon_base.c | 20 +-
drivers/video/aty/radeonfb.h | 2 +-
drivers/video/backlight/Kconfig | 52 +
drivers/video/backlight/Makefile | 9 +-
drivers/video/backlight/atmel-pwm-bl.c | 244 +
drivers/video/backlight/backlight.c | 1 +
drivers/video/backlight/ili9320.c | 330 +
drivers/video/backlight/ili9320.h | 80 +
drivers/video/backlight/lcd.c | 2 +-
drivers/video/backlight/mbp_nvidia_bl.c | 116 +
drivers/video/backlight/platform_lcd.c | 172 +
drivers/video/backlight/pwm_bl.c | 185 +
drivers/video/backlight/vgg2432a4.c | 284 +
drivers/video/bf54x-lq043fb.c | 2 +-
drivers/video/bfin-t350mcqb-fb.c | 2 +-
drivers/video/c2p.c | 3 +
drivers/video/carminefb.c | 790 +
drivers/video/carminefb.h | 64 +
drivers/video/carminefb_regs.h | 159 +
drivers/video/cobalt_lcdfb.c | 371 +
drivers/video/console/fbcon.c | 8 +-
drivers/video/console/fbcon.h | 8 +-
drivers/video/console/mdacon.c | 4 +-
drivers/video/fb_ddc.c | 1 +
drivers/video/fbmem.c | 30 +-
drivers/video/fbmon.c | 2 +-
drivers/video/fsl-diu-fb.c | 60 +-
drivers/video/geode/lxfb.h | 2 -
drivers/video/geode/lxfb_ops.c | 28 +-
drivers/video/hgafb.c | 36 +-
drivers/video/imxfb.c | 1 +
drivers/video/intelfb/intelfb_i2c.c | 12 +-
drivers/video/matrox/i2c-matroxfb.c | 20 +-
drivers/video/neofb.c | 215 +-
drivers/video/offb.c | 192 +-
drivers/video/omap/dispc.c | 1 +
drivers/video/omap/omapfb_main.c | 1 +
drivers/video/platinumfb.c | 4 +-
drivers/video/ps3fb.c | 1 +
drivers/video/pxafb.c | 116 +-
drivers/video/pxafb.h | 2 +-
drivers/video/sa1100fb.c | 8 +-
drivers/video/sa1100fb.h | 2 +-
drivers/video/sgivwfb.c | 3 +-
drivers/video/sh7760fb.c | 658 +
drivers/video/sh_mobile_lcdcfb.c | 725 +
drivers/video/sis/init.h | 1 -
drivers/video/sis/init301.h | 1 -
drivers/video/sis/initextlfb.c | 1 -
drivers/video/sis/osdef.h | 1 -
drivers/video/sis/sis.h | 22 +-
drivers/video/sis/sis_accel.c | 1 -
drivers/video/sis/sis_main.c | 44 +-
drivers/video/sis/sis_main.h | 4 +-
drivers/video/sis/vgatypes.h | 4 -
drivers/video/skeletonfb.c | 37 +-
drivers/video/sm501fb.c | 329 +-
drivers/video/tdfxfb.c | 8 +-
drivers/video/tridentfb.c | 1350 +-
drivers/video/uvesafb.c | 4 +-
drivers/video/vfb.c | 14 +-
drivers/video/vga16fb.c | 122 +-
drivers/video/xen-fbfront.c | 211 +-
drivers/virtio/virtio.c | 26 +-
drivers/virtio/virtio_pci.c | 13 +-
drivers/virtio/virtio_ring.c | 23 +-
drivers/w1/masters/ds2482.c | 104 +-
drivers/watchdog/Kconfig | 2 -
drivers/watchdog/Makefile | 2 -
drivers/watchdog/booke_wdt.c | 6 +-
drivers/watchdog/mpc5200_wdt.c | 2 +-
drivers/xen/Makefile | 2 +-
drivers/xen/balloon.c | 11 +-
drivers/xen/events.c | 141 +-
drivers/xen/grant-table.c | 4 +-
drivers/xen/manage.c | 254 +
drivers/xen/xenbus/xenbus_client.c | 2 +-
drivers/xen/xenbus/xenbus_comms.c | 23 +-
drivers/xen/xenbus/xenbus_xs.c | 10 +-
drivers/zorro/proc.c | 4 +-
drivers/zorro/zorro-sysfs.c | 9 +-
drivers/zorro/zorro.c | 2 -
drivers/zorro/zorro.ids | 2 -
firmware/.gitignore | 6 +
firmware/Makefile | 175 +
firmware/WHENCE | 341 +
firmware/atmsar11.HEX | 204 +
firmware/cpia2/stv0672_vp4.bin.ihex | 73 +
firmware/dabusb/bitstream.bin.ihex | 761 +
firmware/dabusb/firmware.HEX | 649 +
firmware/dsp56k/bootstrap.asm | 98 +
firmware/dsp56k/bootstrap.bin.ihex | 26 +
firmware/edgeport/boot.H16 | 29 +
firmware/edgeport/boot2.H16 | 28 +
firmware/edgeport/down.H16 | 29 +
firmware/edgeport/down2.H16 | 29 +
firmware/edgeport/down3.bin.ihex | 815 +
firmware/emi26/bitstream.HEX | 4391 +++++
firmware/emi26/firmware.HEX | 1261 ++
firmware/emi26/loader.HEX | 116 +
firmware/emi62/bitstream.HEX | 4372 +++++
firmware/emi62/loader.HEX | 107 +
firmware/emi62/midi.HEX | 1266 ++
firmware/emi62/spdif.HEX | 1257 ++
firmware/ess/maestro3_assp_kernel.fw.ihex | 120 +
firmware/ess/maestro3_assp_minisrc.fw.ihex | 51 +
firmware/ihex2fw.c | 268 +
firmware/intelliport2.bin.ihex | 2147 +++
firmware/kaweth/new_code.bin.ihex | 206 +
firmware/kaweth/new_code_fix.bin.ihex | 40 +
firmware/kaweth/trigger_code.bin.ihex | 13 +
firmware/kaweth/trigger_code_fix.bin.ihex | 3 +
firmware/keyspan/mpr.HEX | 104 +
firmware/keyspan/usa18x.HEX | 141 +
firmware/keyspan/usa19.HEX | 101 +
firmware/keyspan/usa19qi.HEX | 101 +
firmware/keyspan/usa19qw.HEX | 142 +
firmware/keyspan/usa19w.HEX | 141 +
firmware/keyspan/usa28.HEX | 148 +
firmware/keyspan/usa28x.HEX | 141 +
firmware/keyspan/usa28xa.HEX | 141 +
firmware/keyspan/usa28xb.HEX | 142 +
firmware/keyspan/usa49w.HEX | 145 +
firmware/keyspan/usa49wlc.HEX | 153 +
firmware/keyspan_pda/keyspan_pda.HEX | 83 +
firmware/keyspan_pda/keyspan_pda.S | 1124 ++
firmware/keyspan_pda/xircom_pgs.HEX | 87 +
firmware/keyspan_pda/xircom_pgs.S | 1192 ++
firmware/korg/k1212.dsp.ihex | 987 +
firmware/sb16/alaw_main.csp.ihex | 87 +
firmware/sb16/ima_adpcm_capture.csp.ihex | 121 +
firmware/sb16/ima_adpcm_init.csp.ihex | 70 +
firmware/sb16/ima_adpcm_playback.csp.ihex | 122 +
firmware/sb16/mulaw_main.csp.ihex | 84 +
firmware/ti_3410.fw.ihex | 862 +
firmware/ti_5052.fw.ihex | 862 +
firmware/tr_smctr.bin.ihex | 477 +
firmware/ttusb-budget/dspbootcode.bin.ihex | 820 +
firmware/vicam/firmware.H16 | 7 +
firmware/whiteheat.HEX | 1097 ++
firmware/whiteheat_loader.HEX | 314 +
firmware/whiteheat_loader_debug.HEX | 403 +
firmware/yamaha/ds1_ctrl.fw.ihex | 769 +
firmware/yamaha/ds1_dsp.fw.ihex | 9 +
firmware/yamaha/ds1e_ctrl.fw.ihex | 769 +
fs/Kconfig | 221 +-
fs/Makefile | 2 +
fs/aio.c | 2 -
fs/anon_inodes.c | 11 +-
fs/autofs4/autofs_i.h | 28 +-
fs/autofs4/expire.c | 91 +-
fs/autofs4/inode.c | 33 +-
fs/autofs4/root.c | 589 +-
fs/autofs4/waitq.c | 267 +-
fs/binfmt_elf.c | 100 +-
fs/binfmt_elf_fdpic.c | 26 +-
fs/binfmt_misc.c | 20 +-
fs/bio-integrity.c | 719 +
fs/bio.c | 88 +-
fs/buffer.c | 21 +-
fs/char_dev.c | 7 +-
fs/cifs/cifsfs.c | 2 +-
fs/coda/coda_linux.c | 6 +-
fs/coda/psdev.c | 9 +-
fs/coda/upcall.c | 15 +-
fs/compat.c | 22 +-
fs/compat_ioctl.c | 123 +-
fs/configfs/configfs_internal.h | 4 +
fs/configfs/dir.c | 159 +-
fs/configfs/inode.c | 2 +
fs/configfs/symlink.c | 16 +-
fs/dcache.c | 335 +-
fs/debugfs/inode.c | 114 +-
fs/dlm/config.c | 8 +-
fs/dlm/plock.c | 2 +-
fs/dlm/user.c | 9 +-
fs/dquot.c | 129 +-
fs/ecryptfs/Makefile | 2 +-
fs/ecryptfs/crypto.c | 37 +-
fs/ecryptfs/ecryptfs_kernel.h | 23 +-
fs/ecryptfs/file.c | 20 +
fs/ecryptfs/inode.c | 31 +-
fs/ecryptfs/keystore.c | 9 +-
fs/ecryptfs/kthread.c | 203 +
fs/ecryptfs/main.c | 79 +-
fs/ecryptfs/miscdev.c | 59 -
fs/ecryptfs/mmap.c | 11 +-
fs/eventfd.c | 17 +-
fs/eventpoll.c | 30 +-
fs/exec.c | 143 +-
fs/ext2/super.c | 1 +
fs/ext2/xattr_security.c | 2 +-
fs/ext2/xattr_trusted.c | 4 +-
fs/ext2/xattr_user.c | 4 +-
fs/ext3/dir.c | 14 +-
fs/ext3/ialloc.c | 9 +
fs/ext3/inode.c | 46 +-
fs/ext3/namei.c | 26 +-
fs/ext3/super.c | 78 +-
fs/ext3/xattr_security.c | 2 +-
fs/ext3/xattr_trusted.c | 4 +-
fs/ext3/xattr_user.c | 4 +-
fs/ext4/balloc.c | 209 +-
fs/ext4/dir.c | 17 +-
fs/ext4/ext4.h | 61 +-
fs/ext4/ext4_extents.h | 1 +
fs/ext4/ext4_i.h | 10 +-
fs/ext4/ext4_jbd2.h | 21 +-
fs/ext4/ext4_sb.h | 5 +-
fs/ext4/extents.c | 111 +-
fs/ext4/file.c | 20 +-
fs/ext4/fsync.c | 4 +
fs/ext4/group.h | 2 +-
fs/ext4/ialloc.c | 113 +-
fs/ext4/inode.c | 1591 ++-
fs/ext4/mballoc.c | 451 +-
fs/ext4/namei.c | 45 +-
fs/ext4/resize.c | 52 +-
fs/ext4/super.c | 142 +-
fs/ext4/xattr.c | 2 +-
fs/ext4/xattr_trusted.c | 4 +-
fs/ext4/xattr_user.c | 4 +-
fs/fat/cache.c | 2 +-
fs/fat/dir.c | 233 +-
fs/fat/file.c | 6 -
fs/fat/inode.c | 60 +-
fs/fat/misc.c | 10 +-
fs/fcntl.c | 18 +-
fs/fs-writeback.c | 22 +-
fs/fuse/dir.c | 139 +-
fs/fuse/file.c | 11 +-
fs/fuse/fuse_i.h | 10 +
fs/fuse/inode.c | 177 +-
fs/gfs2/Kconfig | 18 +-
fs/gfs2/Makefile | 1 -
fs/gfs2/gfs2.h | 5 -
fs/gfs2/glock.c | 1643 +-
fs/gfs2/glock.h | 11 +-
fs/gfs2/glops.c | 70 +-
fs/gfs2/incore.h | 38 +-
fs/gfs2/inode.c | 11 +-
fs/gfs2/inode.h | 2 +-
fs/gfs2/locking.c | 52 +-
fs/gfs2/locking/dlm/lock.c | 368 +-
fs/gfs2/locking/dlm/lock_dlm.h | 18 +-
fs/gfs2/locking/dlm/mount.c | 14 +-
fs/gfs2/locking/dlm/sysfs.c | 13 -
fs/gfs2/locking/dlm/thread.c | 331 +-
fs/gfs2/locking/nolock/Makefile | 3 -
fs/gfs2/locking/nolock/main.c | 238 -
fs/gfs2/log.c | 2 +
fs/gfs2/log.h | 2 +
fs/gfs2/main.c | 2 -
fs/gfs2/meta_io.c | 14 +-
fs/gfs2/meta_io.h | 1 +
fs/gfs2/ops_address.c | 40 +-
fs/gfs2/ops_file.c | 42 +-
fs/gfs2/ops_fstype.c | 8 +-
fs/gfs2/ops_inode.c | 25 +-
fs/gfs2/ops_super.c | 4 +-
fs/gfs2/quota.c | 2 +-
fs/gfs2/recovery.c | 5 +-
fs/gfs2/rgrp.c | 108 +-
fs/gfs2/super.c | 4 +-
fs/gfs2/sys.c | 16 -
fs/hfs/bitmap.c | 8 +-
fs/hfs/btree.c | 2 +-
fs/hfs/extent.c | 14 +-
fs/hfs/hfs_fs.h | 5 +-
fs/hfs/inode.c | 4 +-
fs/hfs/super.c | 2 +-
fs/hfsplus/extents.c | 14 +-
fs/hfsplus/hfsplus_fs.h | 3 +-
fs/hfsplus/inode.c | 4 +-
fs/hfsplus/super.c | 2 +-
fs/hugetlbfs/inode.c | 101 +-
fs/inotify_user.c | 18 +-
fs/isofs/rock.c | 22 +-
fs/jbd/commit.c | 64 +-
fs/jbd/journal.c | 8 +-
fs/jbd/revoke.c | 163 +-
fs/jbd/transaction.c | 57 +-
fs/jbd2/checkpoint.c | 1 -
fs/jbd2/commit.c | 294 +-
fs/jbd2/journal.c | 53 +-
fs/jbd2/transaction.c | 365 +-
fs/jfs/jfs_debug.c | 62 +-
fs/jfs/jfs_debug.h | 10 +-
fs/jfs/jfs_dtree.h | 3 -
fs/jfs/jfs_imap.c | 2 +-
fs/jfs/jfs_logmgr.c | 35 +-
fs/jfs/jfs_metapage.c | 36 +-
fs/jfs/jfs_txnmgr.c | 68 +-
fs/jfs/jfs_xtree.c | 36 +-
fs/jfs/namei.c | 2 +-
fs/jfs/super.c | 8 +-
fs/lockd/clntproc.c | 18 +-
fs/lockd/svc.c | 33 +-
fs/lockd/svc4proc.c | 9 +-
fs/lockd/svclock.c | 53 +-
fs/lockd/svcproc.c | 9 +-
fs/lockd/svcsubs.c | 32 +-
fs/locks.c | 90 +-
fs/minix/inode.c | 3 -
fs/minix/minix.h | 6 -
fs/minix/namei.c | 24 -
fs/mpage.c | 14 +-
fs/msdos/namei.c | 56 +-
fs/namespace.c | 14 +-
fs/ncpfs/file.c | 12 +-
fs/nfs/callback.c | 34 +-
fs/nfs/client.c | 13 +-
fs/nfs/dir.c | 88 +-
fs/nfs/direct.c | 4 +-
fs/nfs/file.c | 161 +-
fs/nfs/inode.c | 79 +-
fs/nfs/internal.h | 1 +
fs/nfs/iostat.h | 119 +-
fs/nfs/nfs3acl.c | 9 +-
fs/nfs/nfs3proc.c | 275 +-
fs/nfs/nfs4proc.c | 265 +-
fs/nfs/nfs4state.c | 2 -
fs/nfs/nfsroot.c | 12 +-
fs/nfs/proc.c | 28 +-
fs/nfs/super.c | 882 +-
fs/nfs/write.c | 322 +-
fs/nfsd/lockd.c | 15 +-
fs/nfsd/nfs2acl.c | 7 +-
fs/nfsd/nfs3acl.c | 5 +-
fs/nfsd/nfs3proc.c | 8 +-
fs/nfsd/nfs4callback.c | 2 +-
fs/nfsd/nfs4proc.c | 76 +-
fs/nfsd/nfs4state.c | 49 +-
fs/nfsd/nfs4xdr.c | 392 +-
fs/nfsd/nfsctl.c | 118 +-
fs/nfsd/nfsfh.c | 31 +-
fs/nfsd/nfsproc.c | 9 +-
fs/nfsd/nfssvc.c | 148 +-
fs/nfsd/vfs.c | 140 +-
fs/ocfs2/aops.c | 13 +-
fs/ocfs2/cluster/heartbeat.c | 10 +-
fs/ocfs2/cluster/netdebug.c | 8 +-
fs/ocfs2/cluster/nodemanager.c | 16 +-
fs/ocfs2/dlmglue.c | 122 +-
fs/ocfs2/file.c | 2 +-
fs/ocfs2/journal.c | 2 +-
fs/ocfs2/localalloc.c | 2 +-
fs/ocfs2/ocfs2.h | 12 +
fs/ocfs2/ocfs2_fs.h | 2 +-
fs/ocfs2/stack_user.c | 22 +-
fs/ocfs2/super.c | 6 +-
fs/open.c | 3 +-
fs/partitions/check.c | 40 +-
fs/partitions/efi.c | 42 +-
fs/partitions/ldm.c | 70 +-
fs/partitions/ldm.h | 5 -
fs/pipe.c | 35 +-
fs/proc/Kconfig | 59 +
fs/proc/base.c | 95 +-
fs/proc/generic.c | 14 +
fs/proc/inode.c | 81 +-
fs/proc/internal.h | 8 +
fs/proc/kcore.c | 10 +-
fs/proc/kmsg.c | 2 +
fs/proc/proc_misc.c | 35 +-
fs/proc/proc_net.c | 43 +-
fs/proc/proc_tty.c | 48 -
fs/proc/task_mmu.c | 8 +-
fs/proc/task_nommu.c | 2 +-
fs/quota.c | 18 +-
fs/quota_v1.c | 1 +
fs/quota_v2.c | 1 +
fs/ramfs/file-mmu.c | 1 +
fs/ramfs/file-nommu.c | 1 +
fs/read_write.c | 38 +-
fs/reiserfs/journal.c | 42 +-
fs/reiserfs/super.c | 124 +-
fs/reiserfs/xattr_security.c | 2 -
fs/reiserfs/xattr_trusted.c | 2 -
fs/reiserfs/xattr_user.c | 2 -
fs/signalfd.c | 19 +-
fs/smbfs/cache.c | 1 -
fs/smbfs/file.c | 11 +-
fs/smbfs/proc.c | 1 -
fs/splice.c | 17 +-
fs/super.c | 1 +
fs/sync.c | 3 +-
fs/sysfs/dir.c | 37 +-
fs/sysfs/file.c | 5 +-
fs/sysfs/symlink.c | 41 +-
fs/sysfs/sysfs.h | 1 +
fs/timerfd.c | 9 +-
fs/ubifs/Kconfig | 72 +
fs/ubifs/Makefile | 9 +
fs/ubifs/budget.c | 731 +
fs/ubifs/commit.c | 677 +
fs/ubifs/compress.c | 253 +
fs/ubifs/debug.c | 2289 +++
fs/ubifs/debug.h | 403 +
fs/ubifs/dir.c | 1240 ++
fs/ubifs/file.c | 1275 ++
fs/ubifs/find.c | 975 +
fs/ubifs/gc.c | 773 +
fs/ubifs/io.c | 914 +
fs/ubifs/ioctl.c | 204 +
fs/ubifs/journal.c | 1387 ++
fs/ubifs/key.h | 533 +
fs/ubifs/log.c | 805 +
fs/ubifs/lprops.c | 1357 ++
fs/ubifs/lpt.c | 2243 +++
fs/ubifs/lpt_commit.c | 1648 ++
fs/ubifs/master.c | 387 +
fs/ubifs/misc.h | 342 +
fs/ubifs/orphan.c | 958 +
fs/ubifs/recovery.c | 1519 ++
fs/ubifs/replay.c | 1075 ++
fs/ubifs/sb.c | 629 +
fs/ubifs/scan.c | 362 +
fs/ubifs/shrinker.c | 322 +
fs/ubifs/super.c | 1951 ++
fs/ubifs/tnc.c | 2956 +++
fs/ubifs/tnc_commit.c | 1103 ++
fs/ubifs/tnc_misc.c | 494 +
fs/ubifs/ubifs-media.h | 745 +
fs/ubifs/ubifs.h | 1649 ++
fs/ubifs/xattr.c | 581 +
fs/ufs/super.c | 3 +-
fs/vfat/namei.c | 37 +-
include/Kbuild | 1 +
include/acpi/acconfig.h | 2 +-
include/acpi/acdisasm.h | 1 +
include/acpi/acdispat.h | 2 +-
include/acpi/acexcep.h | 10 +-
include/acpi/acglobal.h | 2 +-
include/acpi/achware.h | 4 +-
include/acpi/acinterp.h | 5 +-
include/acpi/aclocal.h | 6 +-
include/acpi/acmacros.h | 38 +-
include/acpi/acnamesp.h | 30 +-
include/acpi/acpi_bus.h | 12 +-
include/acpi/acpi_drivers.h | 4 +-
include/acpi/acpiosxf.h | 2 +-
include/acpi/acpixf.h | 12 +-
include/acpi/acstruct.h | 10 +-
include/acpi/actables.h | 27 +-
include/acpi/actbl1.h | 23 +-
include/acpi/actypes.h | 16 +-
include/acpi/acutils.h | 70 +-
include/acpi/processor.h | 2 +-
include/acpi/reboot.h | 14 +-
include/asm-alpha/ide.h | 44 -
include/asm-alpha/page.h | 3 -
include/asm-alpha/semaphore.h | 1 -
include/asm-alpha/smp.h | 5 +-
include/asm-alpha/socket.h | 5 +
include/asm-alpha/thread_info.h | 4 +-
include/asm-arm/arch-at91/at91_mci.h | 4 +
include/asm-arm/arch-at91/at91_pmc.h | 7 +-
include/asm-arm/arch-at91/at91cap9.h | 2 +-
include/asm-arm/arch-at91/at91cap9_matrix.h | 5 +
include/asm-arm/arch-at91/at91sam9260.h | 11 +
include/asm-arm/arch-at91/at91sam9rl.h | 2 +-
include/asm-arm/arch-at91/board.h | 6 +-
include/asm-arm/arch-at91/cpu.h | 7 +
include/asm-arm/arch-at91/hardware.h | 2 +-
include/asm-arm/arch-at91/timex.h | 22 +-
include/asm-arm/arch-ebsa285/hardware.h | 26 -
include/asm-arm/arch-ebsa285/memory.h | 19 -
include/asm-arm/arch-ebsa285/vmalloc.h | 4 -
include/asm-arm/arch-imx/hardware.h | 8 -
include/asm-arm/arch-imx/imx-dma.h | 2 +-
include/asm-arm/arch-imx/imx-uart.h | 2 +
include/asm-arm/arch-iop13xx/adma.h | 18 +-
include/asm-arm/arch-iop13xx/dma.h | 2 +-
include/asm-arm/arch-iop32x/gpio.h | 6 +
include/asm-arm/arch-iop33x/gpio.h | 6 +
include/asm-arm/arch-ixp4xx/fsg.h | 50 +
include/asm-arm/arch-ixp4xx/hardware.h | 1 +
include/asm-arm/arch-ixp4xx/irqs.h | 7 +
include/asm-arm/arch-kirkwood/debug-macro.S | 20 +
include/asm-arm/arch-kirkwood/dma.h | 1 +
include/asm-arm/arch-kirkwood/entry-macro.S | 40 +
include/asm-arm/arch-kirkwood/hardware.h | 21 +
include/asm-arm/arch-kirkwood/io.h | 26 +
include/asm-arm/arch-kirkwood/irqs.h | 63 +
include/asm-arm/arch-kirkwood/kirkwood.h | 100 +
include/asm-arm/arch-kirkwood/memory.h | 14 +
include/asm-arm/arch-kirkwood/system.h | 37 +
include/asm-arm/arch-kirkwood/timex.h | 11 +
include/asm-arm/arch-kirkwood/uncompress.h | 47 +
include/asm-arm/arch-kirkwood/vmalloc.h | 5 +
include/asm-arm/arch-loki/debug-macro.S | 20 +
include/asm-arm/arch-loki/dma.h | 1 +
include/asm-arm/arch-loki/entry-macro.S | 30 +
include/asm-arm/arch-loki/hardware.h | 15 +
include/asm-arm/arch-loki/io.h | 26 +
include/asm-arm/arch-loki/irqs.h | 58 +
include/asm-arm/arch-loki/loki.h | 97 +
include/asm-arm/arch-loki/memory.h | 14 +
include/asm-arm/arch-loki/system.h | 37 +
include/asm-arm/arch-loki/timex.h | 11 +
include/asm-arm/arch-loki/uncompress.h | 47 +
include/asm-arm/arch-loki/vmalloc.h | 5 +
include/asm-arm/arch-msm/irqs.h | 1 +
include/asm-arm/arch-msm/timex.h | 1 +
include/asm-arm/arch-mv78xx0/debug-macro.S | 20 +
include/asm-arm/arch-mv78xx0/dma.h | 1 +
include/asm-arm/arch-mv78xx0/entry-macro.S | 39 +
include/asm-arm/arch-mv78xx0/hardware.h | 21 +
include/asm-arm/arch-mv78xx0/io.h | 26 +
include/asm-arm/arch-mv78xx0/irqs.h | 91 +
include/asm-arm/arch-mv78xx0/memory.h | 14 +
include/asm-arm/arch-mv78xx0/mv78xx0.h | 126 +
include/asm-arm/arch-mv78xx0/system.h | 37 +
include/asm-arm/arch-mv78xx0/timex.h | 9 +
include/asm-arm/arch-mv78xx0/uncompress.h | 47 +
include/asm-arm/arch-mv78xx0/vmalloc.h | 5 +
include/asm-arm/arch-mxc/board-mx27ads.h | 354 +
include/asm-arm/arch-mxc/board-mx31ads.h | 5 +
include/asm-arm/arch-mxc/board-mx31lite.h | 38 +
include/asm-arm/arch-mxc/board-pcm037.h | 27 +
include/asm-arm/arch-mxc/board-pcm038.h | 41 +
include/asm-arm/arch-mxc/clock.h | 67 +
include/asm-arm/arch-mxc/common.h | 6 +-
include/asm-arm/arch-mxc/debug-macro.S | 49 +
include/asm-arm/arch-mxc/gpio.h | 42 +
include/asm-arm/arch-mxc/hardware.h | 38 +-
include/asm-arm/arch-mxc/iim.h | 77 +
include/asm-arm/arch-mxc/imx-uart.h | 32 +
include/asm-arm/arch-mxc/iomux-mx1-mx2.h | 372 +
include/asm-arm/arch-mxc/iomux-mx3.h | 501 +
include/asm-arm/arch-mxc/irqs.h | 13 -
include/asm-arm/arch-mxc/mx27.h | 302 +
include/asm-arm/arch-mxc/mx31.h | 21 +
include/asm-arm/arch-mxc/mxc.h | 152 +-
include/asm-arm/arch-mxc/mxc_timer.h | 158 +
include/asm-arm/arch-ns9xxx/hardware.h | 4 +-
include/asm-arm/arch-omap/board-2430sdp.h | 5 -
include/asm-arm/arch-omap/board-h3.h | 6 -
include/asm-arm/arch-omap/board-innovator.h | 3 -
include/asm-arm/arch-omap/board-perseus2.h | 6 -
include/asm-arm/arch-omap/clock.h | 17 +-
include/asm-arm/arch-omap/common.h | 15 +
include/asm-arm/arch-omap/control.h | 4 +-
include/asm-arm/arch-omap/cpu.h | 39 +-
include/asm-arm/arch-omap/dma.h | 378 +-
include/asm-arm/arch-omap/dmtimer.h | 1 +
include/asm-arm/arch-omap/fpga.h | 49 +-
include/asm-arm/arch-omap/hardware.h | 1 +
include/asm-arm/arch-omap/io.h | 26 +-
include/asm-arm/arch-omap/irqs.h | 44 +-
include/asm-arm/arch-omap/mcbsp.h | 62 +-
include/asm-arm/arch-omap/omap34xx.h | 72 +
include/asm-arm/arch-omap/sram.h | 37 +-
include/asm-arm/arch-omap/tc.h | 10 +-
include/asm-arm/arch-omap/usb.h | 23 +-
include/asm-arm/arch-orion5x/io.h | 8 +-
include/asm-arm/arch-orion5x/orion5x.h | 7 +-
include/asm-arm/arch-orion5x/uncompress.h | 29 +-
include/asm-arm/arch-pxa/audio.h | 2 +
include/asm-arm/arch-pxa/cm-x270.h | 50 -
include/asm-arm/arch-pxa/eseries-gpio.h | 50 +
include/asm-arm/arch-pxa/eseries-irq.h | 27 +
include/asm-arm/arch-pxa/hardware.h | 40 +-
include/asm-arm/arch-pxa/irda.h | 4 +
include/asm-arm/arch-pxa/irqs.h | 3 +
include/asm-arm/arch-pxa/mfp-pxa2xx.h | 1 +
include/asm-arm/arch-pxa/mfp-pxa930.h | 491 +
include/asm-arm/arch-pxa/mfp.h | 8 +
include/asm-arm/arch-pxa/palmtx.h | 106 +
include/asm-arm/arch-pxa/pxa-regs.h | 570 +-
include/asm-arm/arch-pxa/pxa25x-udc.h | 163 +
include/asm-arm/arch-pxa/pxa27x-udc.h | 257 +
include/asm-arm/arch-pxa/pxa2xx-gpio.h | 2 +
include/asm-arm/arch-pxa/pxa2xx-regs.h | 162 +
include/asm-arm/arch-pxa/pxa2xx_spi.h | 2 +
include/asm-arm/arch-pxa/pxa3xx_nand.h | 2 +
include/asm-arm/arch-pxa/pxafb.h | 3 +-
include/asm-arm/arch-pxa/regs-lcd.h | 6 +
include/asm-arm/arch-pxa/regs-ssp.h | 16 +-
include/asm-arm/arch-pxa/system.h | 18 +-
include/asm-arm/arch-pxa/tosa.h | 50 +-
include/asm-arm/arch-pxa/tosa_bt.h | 22 +
include/asm-arm/arch-pxa/uncompress.h | 13 +-
include/asm-arm/arch-pxa/zylonite.h | 3 +-
include/asm-arm/arch-rpc/io.h | 5 +-
include/asm-arm/arch-s3c2410/gpio.h | 74 +-
include/asm-arm/arch-s3c2410/regs-clock.h | 2 +
include/asm-arm/arch-s3c2410/regs-sdi.h | 20 +-
include/asm-arm/arch-sa1100/h3600.h | 5 +
include/asm-arm/assembler.h | 15 +
include/asm-arm/cacheflush.h | 13 +-
include/asm-arm/dyntick.h | 6 -
include/asm-arm/ecard.h | 35 -
include/asm-arm/ftrace.h | 14 +
include/asm-arm/hardware/iop3xx-adma.h | 4 +-
include/asm-arm/hardware/iop3xx-gpio.h | 73 +
include/asm-arm/hw_irq.h | 11 -
include/asm-arm/ide.h | 4 -
include/asm-arm/kexec.h | 2 -
include/asm-arm/kgdb.h | 104 +
include/asm-arm/kprobes.h | 1 +
include/asm-arm/mach/time.h | 22 -
include/asm-arm/mach/udc_pxa2xx.h | 1 +
include/asm-arm/mmu_context.h | 5 +
include/asm-arm/page-nommu.h | 4 +-
include/asm-arm/page.h | 3 -
include/asm-arm/plat-orion/cache-feroceon-l2.h | 11 +
include/asm-arm/plat-orion/mv_xor.h | 28 +
include/asm-arm/plat-orion/orion_nand.h | 1 +
include/asm-arm/plat-orion/pcie.h | 1 +
include/asm-arm/plat-s3c/regs-timer.h | 9 +
include/asm-arm/plat-s3c24xx/devs.h | 7 +-
include/asm-arm/plat-s3c24xx/mci.h | 15 +
include/asm-arm/ptrace.h | 6 +-
include/asm-arm/rtc.h | 43 -
include/asm-arm/semaphore.h | 1 -
include/asm-arm/smp.h | 3 +
include/asm-arm/thread_info.h | 13 -
include/asm-arm/tlbflush.h | 30 +
include/asm-arm/traps.h | 2 +
include/asm-avr32/arch-at32ap/at32ap700x.h | 16 +
include/asm-avr32/arch-at32ap/board.h | 16 +-
include/asm-avr32/arch-at32ap/init.h | 4 -
include/asm-avr32/arch-at32ap/pm.h | 3 +
include/asm-avr32/arch-at32ap/sram.h | 30 +
include/asm-avr32/atmel-mci.h | 9 +
include/asm-avr32/ioctls.h | 4 +
include/asm-avr32/mmu_context.h | 1 -
include/asm-avr32/page.h | 3 -
include/asm-avr32/pci.h | 2 +
include/asm-avr32/pgalloc.h | 68 +-
include/asm-avr32/pgtable.h | 34 +-
include/asm-avr32/semaphore.h | 1 -
include/asm-avr32/thread_info.h | 5 +-
include/asm-avr32/tlbflush.h | 1 -
include/asm-blackfin/ide.h | 27 -
include/asm-blackfin/page.h | 3 -
include/asm-blackfin/ptrace.h | 6 +-
include/asm-blackfin/semaphore.h | 1 -
include/asm-blackfin/thread_info.h | 5 +-
include/asm-cris/Kbuild | 5 +-
include/asm-cris/arch-v10/Kbuild | 1 -
include/asm-cris/arch-v10/ide.h | 91 -
include/asm-cris/arch-v10/ptrace.h | 4 +
include/asm-cris/arch-v32/Kbuild | 1 -
include/asm-cris/arch-v32/ide.h | 56 -
include/asm-cris/arch-v32/ptrace.h | 4 +
include/asm-cris/cacheflush.h | 1 -
include/asm-cris/ide.h | 1 -
include/asm-cris/page.h | 3 -
include/asm-cris/ptrace.h | 4 +-
include/asm-cris/semaphore.h | 1 -
include/asm-cris/thread_info.h | 2 +
include/asm-frv/Kbuild | 1 -
include/asm-frv/ide.h | 4 -
include/asm-frv/ioctls.h | 4 +
include/asm-frv/page.h | 3 -
include/asm-frv/semaphore.h | 1 -
include/asm-frv/termbits.h | 5 +-
include/asm-frv/thread_info.h | 2 +
include/asm-generic/bug.h | 25 +
include/asm-generic/gpio.h | 35 +-
include/asm-generic/int-ll64.h | 2 +-
include/asm-generic/pgtable.h | 57 +
include/asm-generic/topology.h | 3 +-
include/asm-generic/vmlinux.lds.h | 33 +
include/asm-h8300/elf.h | 4 +-
include/asm-h8300/ide.h | 26 -
include/asm-h8300/keyboard.h | 24 -
include/asm-h8300/page.h | 3 -
include/asm-h8300/semaphore.h | 1 -
include/asm-h8300/thread_info.h | 5 +-
include/asm-ia64/Kbuild | 2 +-
include/asm-ia64/gcc_intrin.h | 24 +-
include/asm-ia64/hugetlb.h | 5 +-
include/asm-ia64/hw_irq.h | 23 +-
include/asm-ia64/ide.h | 51 -
include/asm-ia64/intel_intrin.h | 41 +-
include/asm-ia64/intrinsics.h | 55 +
include/asm-ia64/iosapic.h | 18 +-
include/asm-ia64/irq.h | 9 +-
include/asm-ia64/kvm_host.h | 3 +
include/asm-ia64/mmu_context.h | 6 +-
include/asm-ia64/native/inst.h | 175 +
include/asm-ia64/native/irq.h | 35 +
include/asm-ia64/page.h | 1 -
include/asm-ia64/paravirt.h | 255 +
include/asm-ia64/paravirt_privop.h | 114 +
include/asm-ia64/processor.h | 2 +
include/asm-ia64/semaphore.h | 1 -
include/asm-ia64/smp.h | 10 +-
include/asm-ia64/system.h | 11 +-
include/asm-ia64/thread_info.h | 2 +
include/asm-ia64/uv/uv_mmrs.h | 423 +-
include/asm-m32r/ide.h | 70 -
include/asm-m32r/page.h | 3 -
include/asm-m32r/semaphore.h | 1 -
include/asm-m32r/smp.h | 4 +
include/asm-m32r/thread_info.h | 2 +
include/asm-m68k/amigahw.h | 4 -
include/asm-m68k/amigaints.h | 2 +
include/asm-m68k/apollodma.h | 2 +-
include/asm-m68k/dvma.h | 6 +-
include/asm-m68k/fpu.h | 10 +-
include/asm-m68k/ide.h | 4 -
include/asm-m68k/irq.h | 2 +-
include/asm-m68k/mac_baboon.h | 2 -
include/asm-m68k/mac_via.h | 1 -
include/asm-m68k/machines.h | 4 +-
include/asm-m68k/macintosh.h | 5 -
include/asm-m68k/md.h | 2 +-
include/asm-m68k/openprom.h | 1 -
include/asm-m68k/oplib.h | 3 +-
include/asm-m68k/page.h | 3 -
include/asm-m68k/sbus.h | 5 -
include/asm-m68k/semaphore.h | 1 -
include/asm-m68k/sun3-head.h | 1 -
include/asm-m68k/thread_info.h | 8 +-
include/asm-m68k/tlbflush.h | 8 +-
include/asm-m68knommu/bitops.h | 30 +
include/asm-m68knommu/byteorder.h | 16 +-
include/asm-m68knommu/commproc.h | 19 -
include/asm-m68knommu/page.h | 3 -
include/asm-m68knommu/ptrace.h | 2 -
include/asm-m68knommu/semaphore.h | 1 -
include/asm-m68knommu/system.h | 11 +
include/asm-m68knommu/thread_info.h | 4 -
include/asm-mips/barrier.h | 14 +
include/asm-mips/bitops.h | 2 +-
include/asm-mips/bootinfo.h | 49 +-
include/asm-mips/cpu.h | 4 +-
include/asm-mips/dec/kn05.h | 9 +-
include/asm-mips/fpu.h | 2 +
include/asm-mips/inventory.h | 24 -
include/asm-mips/io.h | 17 -
include/asm-mips/jmr3927/jmr3927.h | 177 -
include/asm-mips/jmr3927/tx3927.h | 319 -
include/asm-mips/jmr3927/txx927.h | 121 -
include/asm-mips/lasat/lasat.h | 2 +
include/asm-mips/mach-atlas/mc146818rtc.h | 60 -
include/asm-mips/mach-au1x00/au1100_mmc.h | 18 +-
include/asm-mips/mach-au1x00/au1550_spi.h | 1 -
include/asm-mips/mach-au1x00/au1xxx_psc.h | 8 +
include/asm-mips/mach-db1x00/db1x00.h | 45 -
include/asm-mips/mach-generic/gpio.h | 2 +-
include/asm-mips/mach-generic/ide.h | 48 -
include/asm-mips/mach-jmr3927/ioremap.h | 38 -
include/asm-mips/mach-jmr3927/mangle-port.h | 18 -
include/asm-mips/mach-jmr3927/war.h | 25 -
.../asm-mips/mach-malta/cpu-feature-overrides.h | 72 +
include/asm-mips/mach-malta/irq.h | 9 +
include/asm-mips/mach-malta/kernel-entry-init.h | 52 +
include/asm-mips/mach-malta/mach-gt64120.h | 19 +
include/asm-mips/mach-malta/mc146818rtc.h | 48 +
include/asm-mips/mach-malta/war.h | 25 +
include/asm-mips/mach-mips/cpu-feature-overrides.h | 72 -
include/asm-mips/mach-mips/irq.h | 9 -
include/asm-mips/mach-mips/kernel-entry-init.h | 52 -
include/asm-mips/mach-mips/mach-gt64120.h | 19 -
include/asm-mips/mach-mips/mc146818rtc.h | 48 -
include/asm-mips/mach-mips/war.h | 25 -
.../asm-mips/mach-rc32434/cpu-feature-overrides.h | 81 +
include/asm-mips/mach-rc32434/ddr.h | 141 +
include/asm-mips/mach-rc32434/dma.h | 103 +
include/asm-mips/mach-rc32434/dma_v.h | 52 +
include/asm-mips/mach-rc32434/eth.h | 220 +
include/asm-mips/mach-rc32434/gpio.h | 126 +
include/asm-mips/mach-rc32434/integ.h | 59 +
include/asm-mips/mach-rc32434/irq.h | 8 +
include/asm-mips/mach-rc32434/pci.h | 481 +
include/asm-mips/mach-rc32434/prom.h | 44 +
include/asm-mips/mach-rc32434/rb.h | 81 +
include/asm-mips/mach-rc32434/rc32434.h | 61 +
include/asm-mips/mach-rc32434/timer.h | 65 +
include/asm-mips/mach-rc32434/war.h | 25 +
include/asm-mips/mach-tx39xx/ioremap.h | 38 +
include/asm-mips/mach-tx39xx/mangle-port.h | 23 +
include/asm-mips/mach-tx39xx/war.h | 25 +
include/asm-mips/mach-vr41xx/irq.h | 3 -
include/asm-mips/mips-boards/atlas.h | 80 -
include/asm-mips/mips-boards/atlasint.h | 109 -
include/asm-mips/mips-boards/generic.h | 9 -
include/asm-mips/mips-boards/maltasmp.h | 36 -
include/asm-mips/mips-boards/saa9730_uart.h | 69 -
include/asm-mips/mips-boards/sead.h | 36 -
include/asm-mips/mips-boards/seadint.h | 28 -
include/asm-mips/namei.h | 25 +-
include/asm-mips/page.h | 6 +-
include/asm-mips/pci.h | 2 +
include/asm-mips/prctl.h | 41 -
include/asm-mips/processor.h | 2 +-
include/asm-mips/semaphore.h | 1 -
include/asm-mips/setup.h | 4 +
include/asm-mips/signal.h | 3 -
include/asm-mips/smp.h | 13 +-
include/asm-mips/socket.h | 7 +
include/asm-mips/thread_info.h | 2 +
include/asm-mips/traps.h | 1 -
include/asm-mips/tx4927/smsc_fdc37m81x.h | 69 -
include/asm-mips/tx4927/toshiba_rbtx4927.h | 53 -
include/asm-mips/tx4927/tx4927.h | 46 -
include/asm-mips/tx4927/tx4927_pci.h | 268 -
include/asm-mips/tx4938/rbtx4938.h | 168 -
include/asm-mips/tx4938/spi.h | 20 -
include/asm-mips/tx4938/tx4938.h | 628 -
include/asm-mips/txx9/generic.h | 48 +
include/asm-mips/txx9/jmr3927.h | 182 +
include/asm-mips/txx9/pci.h | 36 +
include/asm-mips/txx9/rbtx4927.h | 89 +
include/asm-mips/txx9/rbtx4938.h | 145 +
include/asm-mips/txx9/smsc_fdc37m81x.h | 67 +
include/asm-mips/txx9/spi.h | 19 +
include/asm-mips/txx9/tx3927.h | 324 +
include/asm-mips/txx9/tx4927.h | 254 +
include/asm-mips/txx9/tx4927pcic.h | 199 +
include/asm-mips/txx9/tx4938.h | 290 +
include/asm-mips/txx9/txx927.h | 121 +
include/asm-mips/vr41xx/cmbvr4133.h | 56 -
include/asm-mn10300/ide.h | 4 -
include/asm-mn10300/page.h | 3 -
include/asm-mn10300/pci.h | 9 -
include/asm-mn10300/ptrace.h | 8 +-
include/asm-mn10300/scatterlist.h | 9 +
include/asm-mn10300/semaphore.h | 1 -
include/asm-mn10300/thread_info.h | 2 +
include/asm-parisc/ide.h | 4 -
include/asm-parisc/page.h | 4 -
include/asm-parisc/ptrace.h | 4 +-
include/asm-parisc/semaphore.h | 1 -
include/asm-parisc/smp.h | 3 +
include/asm-parisc/socket.h | 5 +
include/asm-parisc/thread_info.h | 10 +-
include/asm-powerpc/Kbuild | 3 -
include/asm-powerpc/asm-compat.h | 53 +-
include/asm-powerpc/cache.h | 3 +
include/asm-powerpc/code-patching.h | 54 +
include/asm-powerpc/cpm.h | 1 +
include/asm-powerpc/cpm1.h | 20 -
include/asm-powerpc/cpm2.h | 26 -
include/asm-powerpc/cputable.h | 86 +-
include/asm-powerpc/dcr-generic.h | 49 +
include/asm-powerpc/dcr-mmio.h | 20 +-
include/asm-powerpc/dcr-native.h | 16 +-
include/asm-powerpc/dcr.h | 39 +-
include/asm-powerpc/dma-mapping.h | 125 +-
include/asm-powerpc/elf.h | 45 +-
include/asm-powerpc/feature-fixups.h | 126 +
include/asm-powerpc/firmware.h | 16 +-
include/asm-powerpc/fsl_gtm.h | 47 +
include/asm-powerpc/ftrace.h | 14 +
include/asm-powerpc/gpio.h | 4 +-
include/asm-powerpc/hugetlb.h | 10 +-
include/asm-powerpc/hvcall.h | 23 +-
include/asm-powerpc/hw_irq.h | 10 +
include/asm-powerpc/ide.h | 26 -
include/asm-powerpc/io.h | 64 +-
include/asm-powerpc/ioctl.h | 58 +-
include/asm-powerpc/iommu.h | 16 +-
include/asm-powerpc/irq.h | 13 +
include/asm-powerpc/kexec.h | 13 +-
include/asm-powerpc/kgdb.h | 92 +-
include/asm-powerpc/kvm_host.h | 2 +
include/asm-powerpc/lppaca.h | 5 +-
include/asm-powerpc/machdep.h | 6 +-
include/asm-powerpc/mman.h | 36 +
include/asm-powerpc/mmu-hash32.h | 28 +-
include/asm-powerpc/mmu-hash64.h | 7 +-
include/asm-powerpc/mpc52xx_psc.h | 40 +-
include/asm-powerpc/mpc6xx.h | 6 +
include/asm-powerpc/mpic.h | 2 +
include/asm-powerpc/of_device.h | 2 -
include/asm-powerpc/pSeries_reconfig.h | 6 +-
include/asm-powerpc/page.h | 3 -
include/asm-powerpc/page_64.h | 7 +
include/asm-powerpc/pci-bridge.h | 3 +
include/asm-powerpc/pgalloc-64.h | 4 +-
include/asm-powerpc/pgtable-4k.h | 4 +
include/asm-powerpc/pgtable-64k.h | 19 +-
include/asm-powerpc/pgtable-ppc32.h | 96 +-
include/asm-powerpc/pgtable-ppc64.h | 12 +-
include/asm-powerpc/pgtable.h | 13 +
include/asm-powerpc/pmi.h | 1 +
include/asm-powerpc/ppc_asm.h | 114 +-
include/asm-powerpc/processor.h | 28 +-
include/asm-powerpc/prom.h | 16 +
include/asm-powerpc/ps3.h | 7 +
include/asm-powerpc/ptrace.h | 13 +
include/asm-powerpc/qe.h | 82 +-
include/asm-powerpc/reg.h | 10 +-
include/asm-powerpc/reg_booke.h | 74 +
include/asm-powerpc/semaphore.h | 1 -
include/asm-powerpc/sigcontext.h | 37 +-
include/asm-powerpc/smp.h | 10 +-
include/asm-powerpc/sparsemem.h | 4 +-
include/asm-powerpc/spinlock.h | 27 +-
include/asm-powerpc/spu.h | 1 +
include/asm-powerpc/synch.h | 38 +-
include/asm-powerpc/syscalls.h | 1 +
include/asm-powerpc/systbl.h | 6 +
include/asm-powerpc/system.h | 74 +-
include/asm-powerpc/thread_info.h | 33 +-
include/asm-powerpc/time.h | 1 +
include/asm-powerpc/timex.h | 2 +
include/asm-powerpc/tlbflush.h | 11 -
include/asm-powerpc/uaccess.h | 21 +-
include/asm-powerpc/ucc_fast.h | 8 +-
include/asm-powerpc/unistd.h | 8 +-
include/asm-powerpc/vio.h | 27 +-
include/asm-powerpc/xmon.h | 9 +
include/asm-ppc/8xx_immap.h | 564 -
include/asm-ppc/amigayle.h | 1 -
include/asm-ppc/amipcmcia.h | 1 -
include/asm-ppc/bootinfo.h | 46 -
include/asm-ppc/bootx.h | 135 -
include/asm-ppc/btext.h | 34 -
include/asm-ppc/cpm1.h | 688 -
include/asm-ppc/cpm2.h | 1248 --
include/asm-ppc/delay.h | 66 -
include/asm-ppc/device.h | 7 -
include/asm-ppc/floppy.h | 178 -
include/asm-ppc/fs_pd.h | 36 -
include/asm-ppc/gg2.h | 61 -
include/asm-ppc/gt64260.h | 322 -
include/asm-ppc/gt64260_defs.h | 1010 -
include/asm-ppc/harrier.h | 43 -
include/asm-ppc/hawk.h | 32 -
include/asm-ppc/hawk_defs.h | 76 -
include/asm-ppc/highmem.h | 135 -
include/asm-ppc/hydra.h | 102 -
include/asm-ppc/ibm403.h | 478 -
include/asm-ppc/ibm405.h | 299 -
include/asm-ppc/ibm44x.h | 674 -
include/asm-ppc/ibm4xx.h | 124 -
include/asm-ppc/ibm_ocp.h | 204 -
include/asm-ppc/ibm_ocp_pci.h | 32 -
include/asm-ppc/immap_cpm2.h | 648 -
include/asm-ppc/io.h | 502 -
include/asm-ppc/irq_regs.h | 1 -
include/asm-ppc/kdebug.h | 1 -
include/asm-ppc/kgdb.h | 57 -
include/asm-ppc/m8260_pci.h | 187 -
include/asm-ppc/machdep.h | 178 -
include/asm-ppc/md.h | 15 -
include/asm-ppc/mk48t59.h | 27 -
include/asm-ppc/mmu.h | 444 -
include/asm-ppc/mmu_context.h | 198 -
include/asm-ppc/mpc10x.h | 180 -
include/asm-ppc/mpc52xx.h | 450 -
include/asm-ppc/mpc52xx_psc.h | 200 -
include/asm-ppc/mpc8260.h | 98 -
include/asm-ppc/mpc8260_pci9.h | 47 -
include/asm-ppc/mpc8xx.h | 122 -
include/asm-ppc/mv64x60.h | 353 -
include/asm-ppc/mv64x60_defs.h | 976 -
include/asm-ppc/ocp.h | 204 -
include/asm-ppc/ocp_ids.h | 73 -
include/asm-ppc/open_pic.h | 98 -
include/asm-ppc/page.h | 140 -
include/asm-ppc/pc_serial.h | 42 -
include/asm-ppc/pci-bridge.h | 151 -
include/asm-ppc/pci.h | 156 -
include/asm-ppc/pgalloc.h | 45 -
include/asm-ppc/pgtable.h | 771 -
include/asm-ppc/pnp.h | 645 -
include/asm-ppc/ppc4xx_dma.h | 579 -
include/asm-ppc/ppc4xx_pic.h | 52 -
include/asm-ppc/ppc_sys.h | 106 -
include/asm-ppc/ppcboot.h | 100 -
include/asm-ppc/prep_nvram.h | 153 -
include/asm-ppc/prom.h | 40 -
include/asm-ppc/raven.h | 35 -
include/asm-ppc/reg_booke.h | 443 -
include/asm-ppc/residual.h | 350 -
include/asm-ppc/rtc.h | 95 -
include/asm-ppc/serial.h | 43 -
include/asm-ppc/smp.h | 75 -
include/asm-ppc/spinlock.h | 168 -
include/asm-ppc/suspend.h | 12 -
include/asm-ppc/system.h | 289 -
include/asm-ppc/time.h | 161 -
include/asm-ppc/todc.h | 488 -
include/asm-ppc/traps.h | 1 -
include/asm-ppc/zorro.h | 30 -
include/asm-s390/Kbuild | 3 +
include/asm-s390/airq.h | 4 +-
include/asm-s390/ccwdev.h | 12 +
include/asm-s390/chpid.h | 5 +-
include/asm-s390/chsc.h | 127 +
include/asm-s390/cio.h | 114 +-
include/asm-s390/elf.h | 51 +-
include/asm-s390/etr.h | 45 +-
include/asm-s390/fcx.h | 311 +
include/asm-s390/hugetlb.h | 3 +-
include/asm-s390/ipl.h | 17 +-
include/asm-s390/isc.h | 25 +
include/asm-s390/itcw.h | 30 +
include/asm-s390/kvm_host.h | 36 +-
include/asm-s390/kvm_virtio.h | 10 +
include/asm-s390/page.h | 3 -
include/asm-s390/pgtable.h | 1 +
include/asm-s390/processor.h | 24 +-
include/asm-s390/ptrace.h | 15 +
include/asm-s390/qdio.h | 646 +-
include/asm-s390/schid.h | 31 +
include/asm-s390/sclp.h | 4 +-
include/asm-s390/semaphore.h | 1 -
include/asm-s390/setup.h | 12 +-
include/asm-s390/sparsemem.h | 4 +-
include/asm-s390/thread_info.h | 5 +-
include/asm-s390/timer.h | 12 +
include/asm-s390/zcrypt.h | 2 +-
include/asm-sh/hugetlb.h | 5 +-
include/asm-sh/ide.h | 21 -
include/asm-sh/page.h | 3 -
include/asm-sh/ptrace.h | 2 +-
include/asm-sh/semaphore.h | 1 -
include/asm-sh/sh7760fb.h | 197 +
include/asm-sh/sh_mobile_lcdc.h | 66 +
include/asm-sh/smp.h | 14 +-
include/asm-sh/thread_info.h | 2 +
include/asm-sparc/Kbuild | 15 +-
include/asm-sparc/agp.h | 20 +
include/asm-sparc/apb.h | 36 +
include/asm-sparc/asi.h | 153 +-
include/asm-sparc/atomic.h | 169 +-
include/asm-sparc/atomic_32.h | 165 +
include/asm-sparc/atomic_64.h | 128 +
include/asm-sparc/auxio.h | 97 +-
include/asm-sparc/auxio_32.h | 89 +
include/asm-sparc/auxio_64.h | 100 +
include/asm-sparc/backoff.h | 31 +
include/asm-sparc/bbc.h | 225 +
include/asm-sparc/bitops.h | 117 +-
include/asm-sparc/bitops_32.h | 111 +
include/asm-sparc/bitops_64.h | 107 +
include/asm-sparc/cacheflush.h | 93 +-
include/asm-sparc/cacheflush_32.h | 85 +
include/asm-sparc/cacheflush_64.h | 76 +
include/asm-sparc/chafsr.h | 241 +
include/asm-sparc/checksum.h | 249 +-
include/asm-sparc/checksum_32.h | 241 +
include/asm-sparc/checksum_64.h | 167 +
include/asm-sparc/chmctrl.h | 183 +
include/asm-sparc/cmt.h | 59 +
include/asm-sparc/compat.h | 243 +
include/asm-sparc/compat_signal.h | 29 +
include/asm-sparc/cpudata.h | 35 +-
include/asm-sparc/cpudata_32.h | 27 +
include/asm-sparc/cpudata_64.h | 240 +
include/asm-sparc/dcr.h | 14 +
include/asm-sparc/dcu.h | 27 +
include/asm-sparc/delay.h | 42 +-
include/asm-sparc/delay_32.h | 34 +
include/asm-sparc/delay_64.h | 17 +
include/asm-sparc/display7seg.h | 79 +
include/asm-sparc/dma-mapping.h | 17 +-
include/asm-sparc/dma-mapping_32.h | 11 +
include/asm-sparc/dma-mapping_64.h | 154 +
include/asm-sparc/dma.h | 290 +-
include/asm-sparc/dma_32.h | 288 +
include/asm-sparc/dma_64.h | 205 +
include/asm-sparc/ebus.h | 105 +-
include/asm-sparc/ebus_32.h | 99 +
include/asm-sparc/ebus_64.h | 94 +
include/asm-sparc/elf.h | 149 +-
include/asm-sparc/elf_32.h | 145 +
include/asm-sparc/elf_64.h | 217 +
include/asm-sparc/envctrl.h | 103 +
include/asm-sparc/estate.h | 49 +
include/asm-sparc/fbio.h | 37 +-
include/asm-sparc/fcntl.h | 4 +
include/asm-sparc/fhc.h | 121 +
include/asm-sparc/floppy.h | 394 +-
include/asm-sparc/floppy_32.h | 388 +
include/asm-sparc/floppy_64.h | 782 +
include/asm-sparc/fpumacro.h | 33 +
include/asm-sparc/futex.h | 12 +-
include/asm-sparc/futex_32.h | 6 +
include/asm-sparc/futex_64.h | 110 +
include/asm-sparc/hardirq.h | 31 +-
include/asm-sparc/hardirq_32.h | 23 +
include/asm-sparc/hardirq_64.h | 19 +
include/asm-sparc/head.h | 106 +-
include/asm-sparc/head_32.h | 102 +
include/asm-sparc/head_64.h | 76 +
include/asm-sparc/hugetlb.h | 85 +
include/asm-sparc/hvtramp.h | 37 +
include/asm-sparc/hypervisor.h | 2949 +++
include/asm-sparc/ide.h | 58 +-
include/asm-sparc/idprom.h | 2 +-
include/asm-sparc/intr_queue.h | 15 +
include/asm-sparc/io.h | 331 +-
include/asm-sparc/io_32.h | 326 +
include/asm-sparc/io_64.h | 511 +
include/asm-sparc/ioctls.h | 4 +-
include/asm-sparc/iommu.h | 129 +-
include/asm-sparc/iommu_32.h | 121 +
include/asm-sparc/iommu_64.h | 62 +
include/asm-sparc/ipcbuf.h | 39 +-
include/asm-sparc/ipcbuf_32.h | 31 +
include/asm-sparc/ipcbuf_64.h | 28 +
include/asm-sparc/irq.h | 21 +-
include/asm-sparc/irq_32.h | 15 +
include/asm-sparc/irq_64.h | 93 +
include/asm-sparc/irqflags.h | 47 +-
include/asm-sparc/irqflags_32.h | 39 +
include/asm-sparc/irqflags_64.h | 89 +
include/asm-sparc/kdebug.h | 81 +-
include/asm-sparc/kdebug_32.h | 73 +
include/asm-sparc/kdebug_64.h | 19 +
include/asm-sparc/kmap_types.h | 4 +
include/asm-sparc/kprobes.h | 49 +
include/asm-sparc/ldc.h | 138 +
include/asm-sparc/lmb.h | 10 +
include/asm-sparc/lsu.h | 19 +
include/asm-sparc/machines.h | 2 -
include/asm-sparc/mbus.h | 2 -
include/asm-sparc/mc146818rtc.h | 35 +-
include/asm-sparc/mc146818rtc_32.h | 29 +
include/asm-sparc/mc146818rtc_64.h | 34 +
include/asm-sparc/mdesc.h | 78 +
include/asm-sparc/mmu.h | 13 +-
include/asm-sparc/mmu_32.h | 7 +
include/asm-sparc/mmu_64.h | 123 +
include/asm-sparc/mmu_context.h | 50 +-
include/asm-sparc/mmu_context_32.h | 42 +
include/asm-sparc/mmu_context_64.h | 155 +
include/asm-sparc/mmzone.h | 17 +
include/asm-sparc/module.h | 15 +-
include/asm-sparc/module_32.h | 7 +
include/asm-sparc/module_64.h | 7 +
include/asm-sparc/mostek.h | 175 +-
include/asm-sparc/mostek_32.h | 171 +
include/asm-sparc/mostek_64.h | 143 +
include/asm-sparc/msgbuf.h | 23 +-
include/asm-sparc/namei.h | 21 +-
include/asm-sparc/namei_32.h | 13 +
include/asm-sparc/namei_64.h | 13 +
include/asm-sparc/ns87303.h | 118 +
include/asm-sparc/of_platform.h | 32 +-
include/asm-sparc/of_platform_32.h | 24 +
include/asm-sparc/of_platform_64.h | 25 +
include/asm-sparc/openprom.h | 265 +-
include/asm-sparc/openprom_32.h | 255 +
include/asm-sparc/openprom_64.h | 280 +
include/asm-sparc/oplib.h | 279 +-
include/asm-sparc/oplib_32.h | 272 +
include/asm-sparc/oplib_64.h | 322 +
include/asm-sparc/page.h | 167 +-
include/asm-sparc/page_32.h | 160 +
include/asm-sparc/page_64.h | 135 +
include/asm-sparc/parport.h | 246 +
include/asm-sparc/pci.h | 176 +-
include/asm-sparc/pci_32.h | 170 +
include/asm-sparc/pci_64.h | 209 +
include/asm-sparc/percpu.h | 14 +-
include/asm-sparc/percpu_32.h | 6 +
include/asm-sparc/percpu_64.h | 28 +
include/asm-sparc/pgalloc.h | 76 +-
include/asm-sparc/pgalloc_32.h | 68 +
include/asm-sparc/pgalloc_64.h | 81 +
include/asm-sparc/pgtable.h | 477 +-
include/asm-sparc/pgtable_32.h | 480 +
include/asm-sparc/pgtable_64.h | 775 +
include/asm-sparc/pil.h | 22 +
include/asm-sparc/posix_types.h | 124 +-
include/asm-sparc/posix_types_32.h | 118 +
include/asm-sparc/posix_types_64.h | 122 +
include/asm-sparc/processor.h | 132 +-
include/asm-sparc/processor_32.h | 128 +
include/asm-sparc/processor_64.h | 237 +
include/asm-sparc/psrcompat.h | 45 +
include/asm-sparc/pstate.h | 91 +
include/asm-sparc/ptrace.h | 179 +-
include/asm-sparc/ptrace_32.h | 175 +
include/asm-sparc/ptrace_64.h | 346 +
include/asm-sparc/reboot.h | 6 +
include/asm-sparc/reg.h | 87 +-
include/asm-sparc/reg_32.h | 79 +
include/asm-sparc/reg_64.h | 56 +
include/asm-sparc/resource.h | 6 +-
include/asm-sparc/rwsem-const.h | 12 +
include/asm-sparc/rwsem.h | 84 +
include/asm-sparc/sbus.h | 161 +-
include/asm-sparc/sbus_32.h | 153 +
include/asm-sparc/sbus_64.h | 190 +
include/asm-sparc/scatterlist.h | 32 +-
include/asm-sparc/scatterlist_32.h | 26 +
include/asm-sparc/scatterlist_64.h | 27 +
include/asm-sparc/scratchpad.h | 14 +
include/asm-sparc/seccomp.h | 21 +
include/asm-sparc/sections.h | 12 +-
include/asm-sparc/sections_32.h | 6 +
include/asm-sparc/sections_64.h | 9 +
include/asm-sparc/semaphore.h | 1 -
include/asm-sparc/sembuf.h | 12 +-
include/asm-sparc/setup.h | 6 +-
include/asm-sparc/sfafsr.h | 82 +
include/asm-sparc/sfp-machine.h | 214 +-
include/asm-sparc/sfp-machine_32.h | 212 +
include/asm-sparc/sfp-machine_64.h | 93 +
include/asm-sparc/shmbuf.h | 14 +-
include/asm-sparc/shmparam.h | 19 +-
include/asm-sparc/shmparam_32.h | 11 +
include/asm-sparc/shmparam_64.h | 10 +
include/asm-sparc/sigcontext.h | 70 +-
include/asm-sparc/sigcontext_32.h | 62 +
include/asm-sparc/sigcontext_64.h | 87 +
include/asm-sparc/siginfo.h | 25 +-
include/asm-sparc/siginfo_32.h | 17 +
include/asm-sparc/siginfo_64.h | 32 +
include/asm-sparc/signal.h | 209 +-
include/asm-sparc/signal_32.h | 207 +
include/asm-sparc/signal_64.h | 194 +
include/asm-sparc/smp.h | 177 +-
include/asm-sparc/smp_32.h | 173 +
include/asm-sparc/smp_64.h | 67 +
include/asm-sparc/sparsemem.h | 12 +
include/asm-sparc/spinlock.h | 200 +-
include/asm-sparc/spinlock_32.h | 192 +
include/asm-sparc/spinlock_64.h | 250 +
include/asm-sparc/spinlock_types.h | 2 +-
include/asm-sparc/spitfire.h | 342 +
include/asm-sparc/sstate.h | 13 +
include/asm-sparc/stacktrace.h | 6 +
include/asm-sparc/starfire.h | 21 +
include/asm-sparc/stat.h | 82 +-
include/asm-sparc/stat_32.h | 76 +
include/asm-sparc/stat_64.h | 47 +
include/asm-sparc/statfs.h | 12 +-
include/asm-sparc/statfs_32.h | 6 +
include/asm-sparc/statfs_64.h | 54 +
include/asm-sparc/string.h | 213 +-
include/asm-sparc/string_32.h | 205 +
include/asm-sparc/string_64.h | 83 +
include/asm-sparc/syscalls.h | 13 +
include/asm-sparc/system.h | 290 +-
include/asm-sparc/system_32.h | 288 +
include/asm-sparc/system_64.h | 355 +
include/asm-sparc/termbits.h | 5 +
include/asm-sparc/termios.h | 79 +-
include/asm-sparc/thread_info.h | 157 +-
include/asm-sparc/thread_info_32.h | 153 +
include/asm-sparc/thread_info_64.h | 279 +
include/asm-sparc/timer.h | 113 +-
include/asm-sparc/timer_32.h | 107 +
include/asm-sparc/timer_64.h | 30 +
include/asm-sparc/timex.h | 21 +-
include/asm-sparc/timex_32.h | 15 +
include/asm-sparc/timex_64.h | 19 +
include/asm-sparc/tlb.h | 32 +-
include/asm-sparc/tlb_32.h | 24 +
include/asm-sparc/tlb_64.h | 111 +
include/asm-sparc/tlbflush.h | 68 +-
include/asm-sparc/tlbflush_32.h | 60 +
include/asm-sparc/tlbflush_64.h | 44 +
include/asm-sparc/topology.h | 14 +-
include/asm-sparc/topology_32.h | 6 +
include/asm-sparc/topology_64.h | 86 +
include/asm-sparc/tsb.h | 283 +
include/asm-sparc/ttable.h | 658 +
include/asm-sparc/types.h | 32 +-
include/asm-sparc/uaccess.h | 342 +-
include/asm-sparc/uaccess_32.h | 336 +
include/asm-sparc/uaccess_64.h | 273 +
include/asm-sparc/uctx.h | 71 +
include/asm-sparc/unistd.h | 386 +-
include/asm-sparc/unistd_32.h | 378 +
include/asm-sparc/unistd_64.h | 373 +
include/asm-sparc/upa.h | 109 +
include/asm-sparc/utrap.h | 51 +
include/asm-sparc/vaddrs.h | 5 -
include/asm-sparc/vio.h | 406 +
include/asm-sparc/visasm.h | 62 +
include/asm-sparc/watchdog.h | 31 +
include/asm-sparc/xor.h | 277 +-
include/asm-sparc/xor_32.h | 269 +
include/asm-sparc/xor_64.h | 70 +
include/asm-sparc64/Kbuild | 24 +-
include/asm-sparc64/agp.h | 21 +-
include/asm-sparc64/apb.h | 37 +-
include/asm-sparc64/asi.h | 161 +-
include/asm-sparc64/atomic.h | 129 +-
include/asm-sparc64/auxio.h | 101 +-
include/asm-sparc64/backoff.h | 32 +-
include/asm-sparc64/bbc.h | 226 +-
include/asm-sparc64/bitops.h | 108 +-
include/asm-sparc64/cacheflush.h | 77 +-
include/asm-sparc64/chafsr.h | 242 +-
include/asm-sparc64/checksum.h | 168 +-
include/asm-sparc64/chmctrl.h | 184 +-
include/asm-sparc64/cmt.h | 60 +-
include/asm-sparc64/compat.h | 244 +-
include/asm-sparc64/compat_signal.h | 30 +-
include/asm-sparc64/cpudata.h | 241 +-
include/asm-sparc64/dcr.h | 15 +-
include/asm-sparc64/dcu.h | 28 +-
include/asm-sparc64/delay.h | 18 +-
include/asm-sparc64/display7seg.h | 80 +-
include/asm-sparc64/dma-mapping.h | 155 +-
include/asm-sparc64/dma.h | 206 +-
include/asm-sparc64/ebus.h | 95 +-
include/asm-sparc64/elf.h | 218 +-
include/asm-sparc64/envctrl.h | 104 +-
include/asm-sparc64/estate.h | 50 +-
include/asm-sparc64/fbio.h | 331 +-
include/asm-sparc64/fcntl.h | 36 +-
include/asm-sparc64/fhc.h | 132 +-
include/asm-sparc64/floppy.h | 783 +-
include/asm-sparc64/fpumacro.h | 34 +-
include/asm-sparc64/ftrace.h | 14 +
include/asm-sparc64/futex.h | 111 +-
include/asm-sparc64/hardirq.h | 20 +-
include/asm-sparc64/head.h | 77 +-
include/asm-sparc64/hugetlb.h | 85 +-
include/asm-sparc64/hvtramp.h | 38 +-
include/asm-sparc64/hw_irq.h | 5 +-
include/asm-sparc64/hypervisor.h | 2946 +---
include/asm-sparc64/ide.h | 119 +-
include/asm-sparc64/idprom.h | 26 +-
include/asm-sparc64/intr_queue.h | 16 +-
include/asm-sparc64/io.h | 512 +-
include/asm-sparc64/ioctl.h | 68 +-
include/asm-sparc64/ioctls.h | 137 +-
include/asm-sparc64/iommu.h | 63 +-
include/asm-sparc64/ipcbuf.h | 29 +-
include/asm-sparc64/irq.h | 94 +-
include/asm-sparc64/irq_regs.h | 2 +-
include/asm-sparc64/irqflags.h | 90 +-
include/asm-sparc64/kdebug.h | 20 +-
include/asm-sparc64/kmap_types.h | 26 +-
include/asm-sparc64/kprobes.h | 50 +-
include/asm-sparc64/kvm.h | 7 +-
include/asm-sparc64/ldc.h | 139 +-
include/asm-sparc64/linkage.h | 7 +-
include/asm-sparc64/lmb.h | 11 +-
include/asm-sparc64/lsu.h | 20 +-
include/asm-sparc64/mc146818rtc.h | 35 +-
include/asm-sparc64/mdesc.h | 79 +-
include/asm-sparc64/mman.h | 32 +-
include/asm-sparc64/mmu.h | 128 +-
include/asm-sparc64/mmu_context.h | 156 +-
include/asm-sparc64/mmzone.h | 18 +-
include/asm-sparc64/module.h | 8 +-
include/asm-sparc64/mostek.h | 144 +-
include/asm-sparc64/msgbuf.h | 28 +-
include/asm-sparc64/mutex.h | 10 +-
include/asm-sparc64/namei.h | 14 +-
include/asm-sparc64/ns87303.h | 119 +-
include/asm-sparc64/of_platform.h | 26 +-
include/asm-sparc64/openprom.h | 281 +-
include/asm-sparc64/openpromio.h | 70 +-
include/asm-sparc64/oplib.h | 323 +-
include/asm-sparc64/page.h | 143 +-
include/asm-sparc64/param.h | 24 +-
include/asm-sparc64/parport.h | 247 +-
include/asm-sparc64/pci.h | 210 +-
include/asm-sparc64/percpu.h | 29 +-
include/asm-sparc64/perfctr.h | 174 +-
include/asm-sparc64/pgalloc.h | 82 +-
include/asm-sparc64/pgtable.h | 782 +-
include/asm-sparc64/pil.h | 22 +-
include/asm-sparc64/poll.h | 13 +-
include/asm-sparc64/posix_types.h | 123 +-
include/asm-sparc64/processor.h | 238 +-
include/asm-sparc64/psrcompat.h | 46 +-
include/asm-sparc64/pstate.h | 92 +-
include/asm-sparc64/ptrace.h | 347 +-
include/asm-sparc64/reboot.h | 7 +-
include/asm-sparc64/reg.h | 57 +-
include/asm-sparc64/resource.h | 20 +-
include/asm-sparc64/rtc.h | 27 +-
include/asm-sparc64/rwsem-const.h | 13 +-
include/asm-sparc64/rwsem.h | 85 +-
include/asm-sparc64/sbus.h | 191 +-
include/asm-sparc64/scatterlist.h | 28 +-
include/asm-sparc64/scratchpad.h | 15 +-
include/asm-sparc64/seccomp.h | 22 +-
include/asm-sparc64/sections.h | 10 +-
include/asm-sparc64/semaphore.h | 1 -
include/asm-sparc64/sembuf.h | 23 +-
include/asm-sparc64/setup.h | 11 +-
include/asm-sparc64/sfafsr.h | 83 +-
include/asm-sparc64/sfp-machine.h | 94 +-
include/asm-sparc64/shmbuf.h | 39 +-
include/asm-sparc64/shmparam.h | 11 +-
include/asm-sparc64/sigcontext.h | 88 +-
include/asm-sparc64/siginfo.h | 33 +-
include/asm-sparc64/signal.h | 195 +-
include/asm-sparc64/smp.h | 65 +-
include/asm-sparc64/socket.h | 58 +-
include/asm-sparc64/sockios.h | 15 +-
include/asm-sparc64/sparsemem.h | 13 +-
include/asm-sparc64/spinlock.h | 251 +-
include/asm-sparc64/spinlock_types.h | 21 +-
include/asm-sparc64/spitfire.h | 343 +-
include/asm-sparc64/sstate.h | 14 +-
include/asm-sparc64/stacktrace.h | 7 +-
include/asm-sparc64/starfire.h | 22 +-
include/asm-sparc64/stat.h | 48 +-
include/asm-sparc64/statfs.h | 55 +-
include/asm-sparc64/string.h | 84 +-
include/asm-sparc64/sunbpp.h | 81 +-
include/asm-sparc64/syscalls.h | 14 +-
include/asm-sparc64/system.h | 356 +-
include/asm-sparc64/termbits.h | 261 +-
include/asm-sparc64/termios.h | 187 +-
include/asm-sparc64/thread_info.h | 278 +-
include/asm-sparc64/timer.h | 31 +-
include/asm-sparc64/timex.h | 20 +-
include/asm-sparc64/tlb.h | 112 +-
include/asm-sparc64/tlbflush.h | 45 +-
include/asm-sparc64/topology.h | 87 +-
include/asm-sparc64/tsb.h | 284 +-
include/asm-sparc64/ttable.h | 659 +-
include/asm-sparc64/types.h | 35 +-
include/asm-sparc64/uaccess.h | 274 +-
include/asm-sparc64/uctx.h | 72 +-
include/asm-sparc64/unaligned.h | 11 +-
include/asm-sparc64/unistd.h | 374 +-
include/asm-sparc64/upa.h | 110 +-
include/asm-sparc64/utrap.h | 52 +-
include/asm-sparc64/vga.h | 34 +-
include/asm-sparc64/vio.h | 407 +-
include/asm-sparc64/visasm.h | 63 +-
include/asm-sparc64/watchdog.h | 32 +-
include/asm-sparc64/xor.h | 71 +-
include/asm-um/page.h | 6 -
include/asm-um/ptrace-generic.h | 3 -
include/asm-um/semaphore.h | 1 -
include/asm-um/thread_info.h | 16 +-
include/asm-v850/Kbuild | 1 -
include/asm-v850/a.out.h | 21 -
include/asm-v850/anna.h | 137 -
include/asm-v850/as85ep1.h | 152 -
include/asm-v850/asm.h | 32 -
include/asm-v850/atomic.h | 131 -
include/asm-v850/auxvec.h | 4 -
include/asm-v850/bitops.h | 161 -
include/asm-v850/bug.h | 25 -
include/asm-v850/bugs.h | 16 -
include/asm-v850/byteorder.h | 48 -
include/asm-v850/cache.h | 26 -
include/asm-v850/cacheflush.h | 70 -
include/asm-v850/checksum.h | 112 -
include/asm-v850/clinkage.h | 26 -
include/asm-v850/cputime.h | 6 -
include/asm-v850/current.h | 47 -
include/asm-v850/delay.h | 47 -
include/asm-v850/device.h | 7 -
include/asm-v850/div64.h | 1 -
include/asm-v850/dma-mapping.h | 11 -
include/asm-v850/dma.h | 18 -
include/asm-v850/elf.h | 99 -
include/asm-v850/emergency-restart.h | 6 -
include/asm-v850/entry.h | 113 -
include/asm-v850/errno.h | 6 -
include/asm-v850/fb.h | 12 -
include/asm-v850/fcntl.h | 11 -
include/asm-v850/flat.h | 133 -
include/asm-v850/fpga85e2c.h | 82 -
include/asm-v850/futex.h | 6 -
include/asm-v850/gbus_int.h | 97 -
include/asm-v850/hardirq.h | 28 -
include/asm-v850/highres_timer.h | 44 -
include/asm-v850/hw_irq.h | 4 -
include/asm-v850/io.h | 142 -
include/asm-v850/ioctl.h | 1 -
include/asm-v850/ioctls.h | 84 -
include/asm-v850/ipcbuf.h | 29 -
include/asm-v850/irq.h | 55 -
include/asm-v850/irq_regs.h | 1 -
include/asm-v850/kdebug.h | 1 -
include/asm-v850/kmap_types.h | 19 -
include/asm-v850/kvm.h | 6 -
include/asm-v850/linkage.h | 8 -
include/asm-v850/local.h | 6 -
include/asm-v850/ma.h | 101 -
include/asm-v850/ma1.h | 50 -
include/asm-v850/machdep.h | 60 -
include/asm-v850/macrology.h | 17 -
include/asm-v850/me2.h | 182 -
include/asm-v850/mman.h | 15 -
include/asm-v850/mmu.h | 11 -
include/asm-v850/mmu_context.h | 13 -
include/asm-v850/module.h | 62 -
include/asm-v850/msgbuf.h | 31 -
include/asm-v850/mutex.h | 9 -
include/asm-v850/page.h | 128 -
include/asm-v850/param.h | 33 -
include/asm-v850/pci.h | 119 -
include/asm-v850/percpu.h | 14 -
include/asm-v850/pgalloc.h | 22 -
include/asm-v850/pgtable.h | 59 -
include/asm-v850/poll.h | 9 -
include/asm-v850/posix_types.h | 72 -
include/asm-v850/processor.h | 120 -
include/asm-v850/ptrace.h | 121 -
include/asm-v850/resource.h | 6 -
include/asm-v850/rte_cb.h | 78 -
include/asm-v850/rte_ma1_cb.h | 128 -
include/asm-v850/rte_mb_a_pci.h | 56 -
include/asm-v850/rte_me2_cb.h | 202 -
include/asm-v850/rte_nb85e_cb.h | 111 -
include/asm-v850/scatterlist.h | 31 -
include/asm-v850/sections.h | 6 -
include/asm-v850/segment.h | 36 -
include/asm-v850/semaphore.h | 1 -
include/asm-v850/sembuf.h | 25 -
include/asm-v850/serial.h | 56 -
include/asm-v850/setup.h | 6 -
include/asm-v850/shmbuf.h | 42 -
include/asm-v850/shmparam.h | 6 -
include/asm-v850/sigcontext.h | 25 -
include/asm-v850/siginfo.h | 6 -
include/asm-v850/signal.h | 168 -
include/asm-v850/sim.h | 47 -
include/asm-v850/sim85e2.h | 69 -
include/asm-v850/sim85e2c.h | 26 -
include/asm-v850/sim85e2s.h | 28 -
include/asm-v850/simsyscall.h | 99 -
include/asm-v850/socket.h | 57 -
include/asm-v850/sockios.h | 13 -
include/asm-v850/stat.h | 73 -
include/asm-v850/statfs.h | 6 -
include/asm-v850/string.h | 25 -
include/asm-v850/system.h | 123 -
include/asm-v850/teg.h | 101 -
include/asm-v850/termbits.h | 200 -
include/asm-v850/termios.h | 90 -
include/asm-v850/thread_info.h | 129 -
include/asm-v850/timex.h | 18 -
include/asm-v850/tlb.h | 21 -
include/asm-v850/tlbflush.h | 64 -
include/asm-v850/topology.h | 6 -
include/asm-v850/types.h | 36 -
include/asm-v850/uaccess.h | 159 -
include/asm-v850/ucontext.h | 14 -
include/asm-v850/unaligned.h | 22 -
include/asm-v850/unistd.h | 244 -
include/asm-v850/user.h | 52 -
include/asm-v850/v850e.h | 21 -
include/asm-v850/v850e2.h | 69 -
include/asm-v850/v850e2_cache.h | 75 -
include/asm-v850/v850e_cache.h | 48 -
include/asm-v850/v850e_intc.h | 133 -
include/asm-v850/v850e_timer_c.h | 48 -
include/asm-v850/v850e_timer_d.h | 62 -
include/asm-v850/v850e_uart.h | 76 -
include/asm-v850/v850e_uarta.h | 278 -
include/asm-v850/v850e_uartb.h | 262 -
include/asm-v850/v850e_utils.h | 35 -
include/asm-x86/Kbuild | 1 -
include/asm-x86/acpi.h | 5 +-
include/asm-x86/alternative.h | 2 +
include/asm-x86/amd_iommu.h | 32 +
include/asm-x86/amd_iommu_types.h | 342 +
include/asm-x86/apic.h | 42 +-
include/asm-x86/arch_hooks.h | 1 +
include/asm-x86/asm.h | 55 +-
include/asm-x86/atomic_64.h | 32 +-
include/asm-x86/bios_ebda.h | 2 +
include/asm-x86/bitops.h | 70 +-
include/asm-x86/bootparam.h | 2 +
include/asm-x86/calling.h | 6 +-
include/asm-x86/cmpxchg_64.h | 37 +
include/asm-x86/cpufeature.h | 10 +-
include/asm-x86/current.h | 42 +-
include/asm-x86/current_32.h | 17 -
include/asm-x86/current_64.h | 27 -
include/asm-x86/desc.h | 46 +-
include/asm-x86/desc_defs.h | 4 +
include/asm-x86/dma-mapping.h | 1 -
include/asm-x86/dmi.h | 8 -
include/asm-x86/dwarf2.h | 62 +-
include/asm-x86/dwarf2_32.h | 61 -
include/asm-x86/dwarf2_64.h | 56 -
include/asm-x86/e820.h | 116 +-
include/asm-x86/e820_32.h | 50 -
include/asm-x86/e820_64.h | 56 -
include/asm-x86/efi.h | 2 +-
include/asm-x86/elf.h | 2 +-
include/asm-x86/fixmap.h | 55 +
include/asm-x86/fixmap_32.h | 56 +-
include/asm-x86/fixmap_64.h | 59 +-
include/asm-x86/ftrace.h | 14 +
include/asm-x86/gart.h | 83 +-
include/asm-x86/genapic_64.h | 2 +
include/asm-x86/gpio.h | 56 +
include/asm-x86/hardirq.h | 6 +
include/asm-x86/highmem.h | 3 +
include/asm-x86/hpet.h | 2 +-
include/asm-x86/hugetlb.h | 10 +-
include/asm-x86/hw_irq.h | 106 +-
include/asm-x86/hw_irq_32.h | 66 -
include/asm-x86/hw_irq_64.h | 173 -
include/asm-x86/i387.h | 54 -
include/asm-x86/i8259.h | 2 +
include/asm-x86/ide.h | 65 -
include/asm-x86/io.h | 83 +
include/asm-x86/io_32.h | 63 +-
include/asm-x86/io_64.h | 73 +-
include/asm-x86/io_apic.h | 39 +-
include/asm-x86/iommu.h | 39 +-
include/asm-x86/ipi.h | 3 +-
include/asm-x86/irq.h | 51 +-
include/asm-x86/irq_32.h | 51 -
include/asm-x86/irq_64.h | 51 -
include/asm-x86/irq_vectors.h | 173 +
include/asm-x86/irqflags.h | 65 +-
include/asm-x86/kvm.h | 1 +
include/asm-x86/kvm_host.h | 71 +-
include/asm-x86/kvm_x86_emulate.h | 11 +-
include/asm-x86/mach-bigsmp/mach_apic.h | 6 +-
include/asm-x86/mach-bigsmp/mach_mpspec.h | 8 -
include/asm-x86/mach-default/entry_arch.h | 1 +
include/asm-x86/mach-default/irq_vectors.h | 96 -
include/asm-x86/mach-default/irq_vectors_limits.h | 16 -
include/asm-x86/mach-default/mach_apic.h | 8 +-
include/asm-x86/mach-default/setup_arch.h | 4 -
include/asm-x86/mach-default/smpboot_hooks.h | 16 +-
include/asm-x86/mach-es7000/mach_apic.h | 4 +-
include/asm-x86/mach-es7000/mach_mpspec.h | 8 -
include/asm-x86/mach-generic/mach_mpparse.h | 7 +-
include/asm-x86/mach-generic/mach_mpspec.h | 2 +
include/asm-x86/mach-numaq/mach_apic.h | 39 +-
include/asm-x86/mach-numaq/mach_mpparse.h | 11 +-
include/asm-x86/mach-numaq/mach_mpspec.h | 8 -
include/asm-x86/mach-summit/mach_apic.h | 4 +-
include/asm-x86/mach-summit/mach_mpspec.h | 9 -
include/asm-x86/mach-visws/cobalt.h | 125 -
include/asm-x86/mach-visws/entry_arch.h | 23 -
include/asm-x86/mach-visws/irq_vectors.h | 62 -
include/asm-x86/mach-visws/lithium.h | 53 -
include/asm-x86/mach-visws/mach_apic.h | 103 -
include/asm-x86/mach-visws/mach_apicdef.h | 12 -
include/asm-x86/mach-visws/piix4.h | 107 -
include/asm-x86/mach-visws/setup_arch.h | 8 -
include/asm-x86/mach-visws/smpboot_hooks.h | 28 -
include/asm-x86/mach-voyager/entry_arch.h | 2 +-
include/asm-x86/mach-voyager/irq_vectors.h | 79 -
include/asm-x86/mmconfig.h | 12 +
include/asm-x86/mmu_context.h | 32 +
include/asm-x86/mmu_context_32.h | 28 -
include/asm-x86/mmu_context_64.h | 18 -
include/asm-x86/mmzone_32.h | 26 +-
include/asm-x86/mpspec.h | 36 +-
include/asm-x86/mpspec_def.h | 9 +-
include/asm-x86/msr-index.h | 4 +-
include/asm-x86/msr.h | 5 +-
include/asm-x86/nmi.h | 47 +-
include/asm-x86/numa_32.h | 8 +-
include/asm-x86/numa_64.h | 20 +-
include/asm-x86/numaq.h | 8 +-
include/asm-x86/page.h | 27 +-
include/asm-x86/page_32.h | 15 +
include/asm-x86/page_64.h | 18 +-
include/asm-x86/paravirt.h | 275 +-
include/asm-x86/pat.h | 8 +-
include/asm-x86/pci-direct.h | 4 +
include/asm-x86/pci.h | 2 +
include/asm-x86/pci_32.h | 14 +-
include/asm-x86/pda.h | 5 +-
include/asm-x86/percpu.h | 72 +
include/asm-x86/pgalloc.h | 4 +
include/asm-x86/pgtable-3level.h | 8 +-
include/asm-x86/pgtable.h | 161 +-
include/asm-x86/pgtable_32.h | 39 +-
include/asm-x86/pgtable_64.h | 20 +-
include/asm-x86/processor-flags.h | 8 +
include/asm-x86/processor.h | 15 +-
include/asm-x86/proto.h | 2 -
include/asm-x86/ptrace-abi.h | 6 +-
include/asm-x86/ptrace.h | 8 +-
include/asm-x86/reboot.h | 2 +-
include/asm-x86/required-features.h | 8 +-
include/asm-x86/resume-trace.h | 2 +-
include/asm-x86/seccomp_32.h | 1 +
include/asm-x86/seccomp_64.h | 1 +
include/asm-x86/segment.h | 32 +-
include/asm-x86/semaphore.h | 1 -
include/asm-x86/setup.h | 53 +-
include/asm-x86/signal.h | 4 +-
include/asm-x86/smp.h | 50 +-
include/asm-x86/spinlock.h | 118 +-
include/asm-x86/spinlock_types.h | 2 +-
include/asm-x86/srat.h | 12 +-
include/asm-x86/string_32.h | 323 +-
include/asm-x86/suspend_32.h | 5 +
include/asm-x86/swiotlb.h | 6 +-
include/asm-x86/system.h | 10 +-
include/asm-x86/thread_info.h | 251 +-
include/asm-x86/thread_info_32.h | 205 -
include/asm-x86/thread_info_64.h | 195 -
include/asm-x86/time.h | 2 +
include/asm-x86/timer.h | 4 +-
include/asm-x86/topology.h | 157 +-
include/asm-x86/traps.h | 66 +
include/asm-x86/tsc.h | 2 -
include/asm-x86/uaccess.h | 448 +
include/asm-x86/uaccess_32.h | 422 -
include/asm-x86/uaccess_64.h | 263 +-
include/asm-x86/unistd_32.h | 6 +
include/asm-x86/unistd_64.h | 16 +-
include/asm-x86/uv/bios.h | 68 +
include/asm-x86/uv/uv_bau.h | 337 +
include/asm-x86/uv/uv_hub.h | 190 +-
include/asm-x86/uv/uv_mmrs.h | 954 +-
include/asm-x86/vdso.h | 8 +
include/asm-x86/visws/cobalt.h | 125 +
include/asm-x86/visws/lithium.h | 53 +
include/asm-x86/visws/piix4.h | 107 +
include/asm-x86/visws/sgivw.h | 5 +
include/asm-x86/vm86.h | 11 +-
include/asm-x86/vmi_time.h | 2 +-
include/asm-x86/vsyscall.h | 3 +-
include/asm-x86/xen/events.h | 2 +
include/asm-x86/xen/hypercall.h | 274 +-
include/asm-x86/xen/interface.h | 139 +-
include/asm-x86/xen/interface_32.h | 97 +
include/asm-x86/xen/interface_64.h | 159 +
include/asm-x86/xen/page.h | 33 +-
include/asm-x86/xor_32.h | 5 +
include/asm-x86/xor_64.h | 5 +
include/asm-xtensa/ide.h | 35 -
include/asm-xtensa/page.h | 2 -
include/asm-xtensa/ptrace.h | 10 +-
include/asm-xtensa/semaphore.h | 1 -
include/asm-xtensa/thread_info.h | 5 +-
include/crypto/hash.h | 154 +
include/crypto/internal/hash.h | 78 +
include/drm/Kbuild | 10 +
include/drm/drm.h | 694 +
include/drm/drmP.h | 1154 ++
include/drm/drm_core.h | 34 +
include/drm/drm_hashtab.h | 67 +
include/drm/drm_memory.h | 61 +
include/drm/drm_memory_debug.h | 309 +
include/drm/drm_os_linux.h | 108 +
include/drm/drm_pciids.h | 415 +
include/drm/drm_sarea.h | 84 +
include/drm/drm_sman.h | 176 +
include/drm/i810_drm.h | 281 +
include/drm/i830_drm.h | 342 +
include/drm/i915_drm.h | 270 +
include/drm/mga_drm.h | 417 +
include/drm/r128_drm.h | 326 +
include/drm/radeon_drm.h | 749 +
include/drm/savage_drm.h | 210 +
include/drm/sis_drm.h | 67 +
include/drm/via_drm.h | 275 +
include/linux/Kbuild | 1 -
include/linux/acct.h | 3 +
include/linux/acpi.h | 10 +
include/linux/adb.h | 1 -
include/linux/anon_inodes.h | 2 +-
include/linux/async_tx.h | 11 +-
include/linux/atmel-pwm-bl.h | 43 +
include/linux/audit.h | 1 -
include/linux/auto_fs4.h | 2 -
include/linux/auxvec.h | 8 +-
include/linux/bcd.h | 9 +-
include/linux/binfmts.h | 2 +-
include/linux/bio.h | 130 +-
include/linux/blkdev.h | 167 +-
include/linux/blktrace_api.h | 1 +
include/linux/bootmem.h | 99 +-
include/linux/brcmphy.h | 6 +
include/linux/byteorder/big_endian.h | 12 +-
include/linux/byteorder/little_endian.h | 12 +-
include/linux/cgroup.h | 51 +-
include/linux/coda.h | 43 -
include/linux/configfs.h | 3 +-
include/linux/console.h | 2 +
include/linux/cpu.h | 15 +-
include/linux/cpufreq.h | 3 -
include/linux/cpumask.h | 172 +-
include/linux/cpuset.h | 7 +
include/linux/crash_dump.h | 8 +
include/linux/crc-t10dif.h | 8 +
include/linux/crypto.h | 48 +-
include/linux/cyclades.h | 13 +-
include/linux/dca.h | 7 +-
include/linux/dcache.h | 1 +
include/linux/dccp.h | 6 +-
include/linux/debugfs.h | 6 +
include/linux/delay.h | 1 +
include/linux/delayacct.h | 19 +
include/linux/device-mapper.h | 6 +
include/linux/device.h | 67 +-
include/linux/dirent.h | 20 -
include/linux/dm-ioctl.h | 4 +-
include/linux/dm9000.h | 1 +
include/linux/dma-attrs.h | 1 +
include/linux/dmaengine.h | 69 +-
include/linux/dw_dmac.h | 62 +
include/linux/efi.h | 4 -
include/linux/eisa.h | 2 +-
include/linux/elf.h | 1 +
include/linux/ethtool.h | 33 +
include/linux/eventfd.h | 7 +
include/linux/eventpoll.h | 4 +
include/linux/ext2_fs.h | 4 +-
include/linux/ext3_fs.h | 1 +
include/linux/fb.h | 5 +-
include/linux/fd1772.h | 80 -
include/linux/firmware-map.h | 74 +
include/linux/firmware.h | 23 +-
include/linux/freezer.h | 10 +
include/linux/fs.h | 28 +-
include/linux/fs_enet_pd.h | 8 -
include/linux/fsl_devices.h | 7 +
include/linux/ftrace.h | 144 +
include/linux/fuse.h | 3 +
include/linux/gameport.h | 1 -
include/linux/generic_serial.h | 8 +-
include/linux/genhd.h | 14 +-
include/linux/gfp.h | 24 +-
include/linux/gpio.h | 13 +
include/linux/gpio_keys.h | 1 +
include/linux/hayesesp.h | 9 +-
include/linux/hdlc.h | 7 -
include/linux/hid.h | 2 +-
include/linux/hugetlb.h | 143 +-
include/linux/i2c-algo-pcf.h | 8 +-
include/linux/i2c-id.h | 11 -
include/linux/i2c.h | 46 +-
include/linux/i2c/at24.h | 28 +
include/linux/i2c/max732x.h | 19 +
include/linux/ide.h | 338 +-
include/linux/idr.h | 24 +
include/linux/ieee80211.h | 499 +-
include/linux/if_bridge.h | 2 -
include/linux/if_packet.h | 24 +
include/linux/if_ppp.h | 2 -
include/linux/if_tun.h | 34 +-
include/linux/if_vlan.h | 238 +-
include/linux/igmp.h | 1 -
include/linux/ihex.h | 74 +
include/linux/inet.h | 7 +
include/linux/init.h | 8 +-
include/linux/init_task.h | 6 +-
include/linux/inotify.h | 6 +
include/linux/input.h | 9 +-
include/linux/interrupt.h | 8 +-
include/linux/iocontext.h | 18 +
include/linux/ioport.h | 5 +
include/linux/ip6_tunnel.h | 4 -
include/linux/ipc_namespace.h | 3 +-
include/linux/ipv6.h | 6 +
include/linux/irq.h | 9 -
include/linux/irqflags.h | 67 +-
include/linux/istallion.h | 6 +-
include/linux/jbd2.h | 73 +-
include/linux/joystick.h | 2 -
include/linux/kallsyms.h | 19 +-
include/linux/kernel.h | 37 +-
include/linux/kernel_stat.h | 2 +-
include/linux/kmod.h | 16 +-
include/linux/kobject.h | 5 +-
include/linux/kprobes.h | 11 +-
include/linux/kthread.h | 3 +-
include/linux/kvm.h | 33 +-
include/linux/kvm_host.h | 11 +-
include/linux/lcd.h | 2 +-
include/linux/leds-pca9532.h | 45 +
include/linux/leds.h | 16 +-
include/linux/libata.h | 55 +-
include/linux/libps2.h | 1 -
include/linux/linkage.h | 6 +
include/linux/list.h | 371 -
include/linux/lm_interface.h | 6 -
include/linux/lockd/lockd.h | 8 +-
include/linux/lockdep.h | 11 +-
include/linux/major.h | 2 +-
include/linux/marker.h | 40 +-
include/linux/memcontrol.h | 24 +-
include/linux/memory_hotplug.h | 20 +-
include/linux/mempolicy.h | 19 +
include/linux/mfd/asic3.h | 185 +-
include/linux/mfd/core.h | 55 +
include/linux/mfd/tc6393xb.h | 49 +
include/linux/mfd/tmio.h | 17 +
include/linux/migrate.h | 21 -
include/linux/mlx4/device.h | 13 +-
include/linux/mlx4/qp.h | 18 +-
include/linux/mm.h | 38 +-
include/linux/mm_types.h | 15 +-
include/linux/mman.h | 29 +-
include/linux/mmc/core.h | 1 +
include/linux/mmc/host.h | 32 +-
include/linux/mmc/mmc.h | 1 -
include/linux/mmc/sdio_func.h | 21 +-
include/linux/mmiotrace.h | 85 +
include/linux/mod_devicetable.h | 9 +
include/linux/module.h | 52 +-
include/linux/mpage.h | 10 +
include/linux/mroute.h | 28 +-
include/linux/mroute6.h | 35 +-
include/linux/msdos_fs.h | 56 +-
include/linux/mtd/map.h | 2 +-
include/linux/mtd/mtd.h | 2 +-
include/linux/mtd/ubi.h | 5 +-
include/linux/mv643xx_eth.h | 65 +-
include/linux/net.h | 22 +-
include/linux/netdevice.h | 344 +-
include/linux/netfilter/nf_conntrack_common.h | 8 +-
include/linux/netfilter/nfnetlink_conntrack.h | 18 +-
include/linux/netfilter/nfnetlink_log.h | 3 +
include/linux/netfilter/xt_string.h | 15 +-
include/linux/netfilter_bridge/ebt_ip6.h | 40 +
include/linux/netfilter_bridge/ebt_log.h | 3 +-
include/linux/netfilter_ipv4.h | 1 +
include/linux/netfilter_ipv6.h | 5 +
include/linux/netlink.h | 2 +-
include/linux/nfs4.h | 3 -
include/linux/nfs_fs.h | 10 +
include/linux/nfs_iostat.h | 119 +
include/linux/nfs_page.h | 9 +-
include/linux/nfs_xdr.h | 3 +-
include/linux/nfsd/nfsd.h | 28 +-
include/linux/nfsd/state.h | 2 -
include/linux/nl80211.h | 13 +-
include/linux/notifier.h | 3 +
include/linux/nsproxy.h | 7 +-
include/linux/of_device.h | 3 +
include/linux/of_gpio.h | 2 +-
include/linux/page-flags.h | 28 +-
include/linux/pageblock-flags.h | 8 +-
include/linux/pagemap.h | 2 +-
include/linux/parser.h | 2 +-
include/linux/pci.h | 59 +-
include/linux/pci_hotplug.h | 14 +-
include/linux/pci_ids.h | 17 +
include/linux/pci_regs.h | 1 +
include/linux/percpu_counter.h | 12 +-
include/linux/pid.h | 8 +-
include/linux/pid_namespace.h | 8 +
include/linux/pkt_cls.h | 1 +
include/linux/pkt_sched.h | 29 +-
include/linux/platform_device.h | 1 +
include/linux/pm.h | 417 +-
include/linux/pm_legacy.h | 35 -
include/linux/pm_wakeup.h | 28 +-
include/linux/pnp.h | 146 +-
include/linux/ppp-comp.h | 2 -
include/linux/ppp_defs.h | 2 -
include/linux/preempt.h | 34 +-
include/linux/proc_fs.h | 4 +-
include/linux/profile.h | 58 +-
include/linux/ptrace.h | 8 +-
include/linux/pwm.h | 31 +
include/linux/pwm_backlight.h | 17 +
include/linux/quota.h | 33 +-
include/linux/quotaops.h | 281 +-
include/linux/raid/bitmap.h | 1 +
include/linux/raid/linear.h | 2 +-
include/linux/raid/md.h | 2 +-
include/linux/raid/md_k.h | 17 +-
include/linux/raid/md_p.h | 3 -
include/linux/raid/raid5.h | 64 +-
include/linux/ratelimit.h | 27 +
include/linux/rcuclassic.h | 3 +
include/linux/rculist.h | 369 +-
include/linux/rcupdate.h | 26 +-
include/linux/rcupreempt.h | 47 +-
include/linux/reiserfs_fs.h | 4 +-
include/linux/reiserfs_fs_sb.h | 6 +-
include/linux/res_counter.h | 33 +-
include/linux/resume-trace.h | 2 +-
include/linux/rfkill.h | 46 +-
include/linux/rtc.h | 17 +
include/linux/rtnetlink.h | 1 +
include/linux/scatterlist.h | 38 +
include/linux/sched.h | 143 +-
include/linux/security.h | 51 +-
include/linux/sem.h | 30 +-
include/linux/semaphore.h | 6 +-
include/linux/seq_file_net.h | 3 +
include/linux/serial_core.h | 30 +-
include/linux/serio.h | 4 +-
include/linux/signalfd.h | 6 +
include/linux/skbuff.h | 27 +-
include/linux/slab.h | 2 +-
include/linux/sm501.h | 39 +-
include/linux/smb_fs.h | 19 +-
include/linux/smc911x.h | 12 +
include/linux/smc91x.h | 12 +-
include/linux/smp.h | 46 +-
include/linux/smp_lock.h | 13 +
include/linux/socket.h | 6 +-
include/linux/sonet.h | 2 +-
include/linux/spi/ds1305.h | 35 +
include/linux/spi/max7301.h | 9 +
include/linux/spi/mcp23s08.h | 25 +-
include/linux/spi/mmc_spi.h | 9 +
include/linux/spi/spi.h | 4 +-
include/linux/spinlock.h | 72 +-
include/linux/ssb/ssb.h | 144 +-
include/linux/stallion.h | 6 +-
include/linux/string.h | 3 +
include/linux/sunrpc/auth_gss.h | 2 -
include/linux/sunrpc/clnt.h | 7 +-
include/linux/sunrpc/gss_api.h | 2 -
include/linux/sunrpc/gss_krb5.h | 3 +
include/linux/sunrpc/sched.h | 1 -
include/linux/sunrpc/svc.h | 7 +-
include/linux/sunrpc/svc_rdma.h | 36 +-
include/linux/sunrpc/svcauth_gss.h | 3 -
include/linux/suspend.h | 14 +-
include/linux/synclink.h | 1 +
include/linux/syscalls.h | 9 +-
include/linux/sysdev.h | 39 +-
include/linux/sysfs.h | 10 +
include/linux/taskstats.h | 6 +-
include/linux/tcp.h | 56 +-
include/linux/textsearch.h | 13 +-
include/linux/tick.h | 5 +-
include/linux/timerfd.h | 6 +
include/linux/tipc_config.h | 10 +-
include/linux/topology.h | 13 +
include/linux/tty.h | 213 +-
include/linux/tty_driver.h | 14 +-
include/linux/tty_ldisc.h | 7 +-
include/linux/typecheck.h | 24 +
include/linux/udp.h | 6 +
include/linux/uio_driver.h | 8 +-
include/linux/usb.h | 12 +-
include/linux/usb/composite.h | 338 +
include/linux/usb/gadget.h | 27 +-
include/linux/usb/irda.h | 151 +
include/linux/usb/rndis_host.h | 3 +-
include/linux/usb/serial.h | 56 +-
include/linux/usbdevice_fs.h | 2 -
include/linux/videodev2.h | 14 +
include/linux/virtio_9p.h | 2 +
include/linux/virtio_balloon.h | 2 +
include/linux/virtio_blk.h | 5 +
include/linux/virtio_config.h | 16 +-
include/linux/virtio_console.h | 2 +
include/linux/virtio_net.h | 2 +
include/linux/virtio_pci.h | 5 +-
include/linux/virtio_ring.h | 2 +
include/linux/virtio_rng.h | 2 +
include/linux/vmstat.h | 6 +
include/linux/wanrouter.h | 2 +-
include/linux/wireless.h | 30 +
include/linux/workqueue.h | 5 +
include/linux/writeback.h | 3 +
include/media/cx2341x.h | 7 +-
include/media/ir-kbd-i2c.h | 3 -
include/media/pwc-ioctl.h | 3 +-
include/media/saa7146.h | 4 +-
include/media/sh_mobile_ceu.h | 12 +
include/media/soc_camera.h | 16 +-
include/media/soc_camera_platform.h | 15 +
include/media/v4l2-dev.h | 83 +-
include/media/v4l2-i2c-drv-legacy.h | 1 -
include/media/videobuf-dma-contig.h | 32 +
include/media/videobuf-dma-sg.h | 2 +-
include/media/videobuf-vmalloc.h | 2 +-
include/mtd/ubi-user.h | 76 +-
include/net/addrconf.h | 3 +-
include/net/bluetooth/bluetooth.h | 1 +
include/net/bluetooth/hci.h | 68 +-
include/net/bluetooth/hci_core.h | 19 +-
include/net/bluetooth/rfcomm.h | 2 +
include/net/compat.h | 2 +-
include/net/dst.h | 12 +
include/net/fib_rules.h | 2 +-
include/net/garp.h | 128 +
include/net/icmp.h | 18 +-
include/net/ieee80211.h | 11 -
include/net/ieee80211_radiotap.h | 2 +-
include/net/if_inet6.h | 3 -
include/net/inet6_hashtables.h | 10 +-
include/net/inet_hashtables.h | 12 +-
include/net/inet_sock.h | 9 +-
include/net/inetpeer.h | 2 -
include/net/ip.h | 19 +-
include/net/ip6_route.h | 2 +-
include/net/ip6_tunnel.h | 5 -
include/net/ipconfig.h | 2 -
include/net/ipip.h | 1 -
include/net/ipv6.h | 12 +-
include/net/irda/irda_device.h | 2 +-
include/net/iw_handler.h | 151 +-
include/net/mac80211.h | 591 +-
include/net/neighbour.h | 4 +-
include/net/net_namespace.h | 5 +
include/net/netfilter/ipv4/nf_conntrack_ipv4.h | 2 -
include/net/netfilter/nf_conntrack.h | 28 +-
include/net/netfilter/nf_conntrack_acct.h | 51 +
include/net/netfilter/nf_conntrack_extend.h | 2 +
include/net/netlink.h | 3 +
include/net/netns/hash.h | 21 +
include/net/netns/ipv4.h | 5 +
include/net/netns/ipv6.h | 3 +-
include/net/netns/mib.h | 16 +
include/net/pkt_sched.h | 14 +-
include/net/rose.h | 2 +-
include/net/route.h | 2 +-
include/net/sch_generic.h | 198 +-
include/net/sctp/checksum.h | 23 +-
include/net/sctp/sctp.h | 4 +-
include/net/sctp/structs.h | 9 +-
include/net/sctp/user.h | 34 +-
include/net/snmp.h | 2 -
include/net/sock.h | 41 +-
include/net/stp.h | 14 +
include/net/tcp.h | 65 +-
include/net/tipc/tipc_port.h | 10 +-
include/net/transp_v6.h | 2 +-
include/net/udp.h | 28 +-
include/net/wext.h | 7 +
include/net/wireless.h | 6 +
include/pcmcia/bulkmem.h | 41 -
include/pcmcia/cistpl.h | 2 +-
include/pcmcia/cs.h | 3 -
include/pcmcia/cs_types.h | 6 +-
include/pcmcia/ds.h | 19 +-
include/pcmcia/ss.h | 12 +-
include/pcmcia/version.h | 3 -
include/rdma/ib_addr.h | 43 +-
include/rdma/ib_cache.h | 2 -
include/rdma/ib_cm.h | 2 -
include/rdma/ib_fmr_pool.h | 4 +-
include/rdma/ib_mad.h | 17 +-
include/rdma/ib_pack.h | 2 -
include/rdma/ib_sa.h | 2 -
include/rdma/ib_smi.h | 4 +-
include/rdma/ib_user_cm.h | 2 -
include/rdma/ib_user_mad.h | 2 -
include/rdma/ib_user_verbs.h | 7 +-
include/rdma/ib_verbs.h | 149 +-
include/rdma/iw_cm.h | 2 +-
include/rdma/rdma_cm.h | 56 +-
include/rdma/rdma_cm_ib.h | 50 +-
include/scsi/iscsi_if.h | 93 +-
include/scsi/iscsi_proto.h | 3 +-
include/scsi/libiscsi.h | 107 +-
include/scsi/scsi.h | 18 +
include/scsi/scsi_cmnd.h | 1 -
include/scsi/scsi_device.h | 23 +
include/scsi/scsi_dh.h | 69 +
include/scsi/scsi_host.h | 2 +-
include/scsi/scsi_transport_fc.h | 4 +-
include/scsi/scsi_transport_iscsi.h | 93 +-
include/scsi/sd.h | 57 -
include/scsi/sg.h | 1 +
include/sound/ad1843.h | 46 +
include/sound/control.h | 3 -
include/sound/core.h | 8 +-
include/sound/cs4231-regs.h | 8 +
include/sound/cs4231.h | 3 +
include/sound/emu10k1.h | 1 +
include/sound/seq_kernel.h | 2 +-
include/sound/soc-dapm.h | 42 +-
include/sound/soc.h | 175 +-
include/sound/uda1341.h | 2 -
include/sound/version.h | 4 +-
include/video/atmel_lcdc.h | 1 +
include/video/ili9320.h | 201 +
include/video/neomagic.h | 17 -
include/video/platform_lcd.h | 21 +
include/video/trident.h | 77 +-
include/xen/events.h | 11 +
include/xen/grant_table.h | 3 +
include/xen/hvc-console.h | 10 +
include/xen/interface/callback.h | 6 +-
include/xen/interface/elfnote.h | 20 +
include/xen/interface/features.h | 3 +
include/xen/interface/io/fbif.h | 29 +-
include/xen/interface/io/kbdif.h | 2 +
include/xen/interface/memory.h | 12 +-
include/xen/interface/xen.h | 9 +-
include/xen/xen-ops.h | 9 +
init/Kconfig | 15 +-
init/calibrate.c | 60 +-
init/do_mounts.c | 4 +-
init/do_mounts_rd.c | 37 +-
init/initramfs.c | 22 +-
init/main.c | 17 +-
init/version.c | 3 +
ipc/ipc_sysctl.c | 72 +-
ipc/ipcns_notifier.c | 20 +-
ipc/mqueue.c | 27 +-
ipc/sem.c | 316 +-
ipc/shm.c | 24 +-
ipc/util.c | 61 +-
ipc/util.h | 6 -
kernel/Kconfig.hz | 2 +-
kernel/Makefile | 24 +-
kernel/acct.c | 222 +-
kernel/auditsc.c | 3 +-
kernel/backtracetest.c | 65 +-
kernel/capability.c | 338 +-
kernel/cgroup.c | 309 +-
kernel/cpu.c | 72 +-
kernel/cpuset.c | 377 +-
kernel/delayacct.c | 16 +
kernel/exec_domain.c | 2 +-
kernel/exit.c | 513 +-
kernel/fork.c | 53 +-
kernel/hrtimer.c | 13 +-
kernel/irq/manage.c | 136 +-
kernel/irq/proc.c | 59 +-
kernel/kallsyms.c | 2 +-
kernel/kmod.c | 15 +-
kernel/kprobes.c | 132 +-
kernel/kthread.c | 7 +-
kernel/lockdep.c | 80 +-
kernel/lockdep_internals.h | 6 +
kernel/lockdep_proc.c | 97 +-
kernel/marker.c | 55 +-
kernel/module.c | 336 +-
kernel/mutex-debug.c | 2 +-
kernel/mutex.c | 5 +-
kernel/ns_cgroup.c | 8 +-
kernel/nsproxy.c | 8 +-
kernel/panic.c | 22 +
kernel/pid.c | 11 +-
kernel/pid_namespace.c | 10 +-
kernel/pm_qos_params.c | 7 +-
kernel/posix-cpu-timers.c | 3 +
kernel/posix-timers.c | 21 +-
kernel/power/Kconfig | 13 +-
kernel/power/disk.c | 50 +-
kernel/power/main.c | 210 +-
kernel/power/poweroff.c | 4 +-
kernel/power/process.c | 99 +-
kernel/power/snapshot.c | 88 +-
kernel/power/user.c | 71 +-
kernel/printk.c | 131 +-
kernel/profile.c | 10 +-
kernel/ptrace.c | 52 +-
kernel/rcuclassic.c | 38 +-
kernel/rcupdate.c | 71 +-
kernel/rcupreempt.c | 430 +-
kernel/rcupreempt_trace.c | 1 -
kernel/rcutorture.c | 174 +-
kernel/res_counter.c | 48 +-
kernel/rtmutex-tester.c | 7 +-
kernel/sched.c | 1181 +-
kernel/sched_clock.c | 137 +-
kernel/sched_cpupri.c | 174 +
kernel/sched_cpupri.h | 36 +
kernel/sched_debug.c | 64 +-
kernel/sched_fair.c | 423 +-
kernel/sched_features.h | 7 +-
kernel/sched_rt.c | 436 +-
kernel/sched_stats.h | 42 +-
kernel/semaphore.c | 1 +
kernel/signal.c | 80 +-
kernel/smp.c | 383 +
kernel/softirq.c | 69 +-
kernel/softlockup.c | 45 +-
kernel/spinlock.c | 2 +-
kernel/stacktrace.c | 14 +-
kernel/stop_machine.c | 5 +-
kernel/sys.c | 4 +-
kernel/sys_ni.c | 6 +
kernel/sysctl.c | 82 +-
kernel/sysctl_check.c | 2 +
kernel/taskstats.c | 6 +-
kernel/time/clocksource.c | 12 +-
kernel/time/tick-broadcast.c | 11 +-
kernel/time/tick-common.c | 14 +-
kernel/time/tick-sched.c | 26 +-
kernel/timer.c | 12 +-
kernel/trace/Kconfig | 135 +
kernel/trace/Makefile | 24 +
kernel/trace/ftrace.c | 1727 ++
kernel/trace/trace.c | 3161 ++++
kernel/trace/trace.h | 339 +
kernel/trace/trace_functions.c | 81 +
kernel/trace/trace_irqsoff.c | 486 +
kernel/trace/trace_mmiotrace.c | 295 +
kernel/trace/trace_sched_switch.c | 286 +
kernel/trace/trace_sched_wakeup.c | 448 +
kernel/trace/trace_selftest.c | 563 +
kernel/trace/trace_selftest_dynamic.c | 7 +
kernel/trace/trace_sysprof.c | 365 +
kernel/tsacct.c | 25 +-
kernel/workqueue.c | 149 +-
lib/Kconfig | 7 +
lib/Kconfig.debug | 67 +-
lib/Kconfig.kgdb | 3 -
lib/Makefile | 8 +-
lib/bcd.c | 14 +
lib/cmdline.c | 16 +-
lib/cpumask.c | 9 +
lib/crc-t10dif.c | 67 +
lib/debugobjects.c | 4 +-
lib/idr.c | 140 +-
lib/inflate.c | 52 +-
lib/kobject.c | 20 +-
lib/kobject_uevent.c | 3 +-
lib/list_debug.c | 50 +-
lib/lzo/lzo1x_decompress.c | 6 +-
lib/percpu_counter.c | 7 +-
lib/ratelimit.c | 55 +-
lib/scatterlist.c | 176 +-
lib/smp_processor_id.c | 12 +-
lib/textsearch.c | 17 +-
lib/ts_bm.c | 26 +-
lib/ts_fsm.c | 6 +-
lib/ts_kmp.c | 29 +-
mm/Kconfig | 6 +-
mm/Makefile | 2 +-
mm/allocpercpu.c | 4 +-
mm/bootmem.c | 935 +-
mm/filemap.c | 171 +-
mm/highmem.c | 1 +
mm/hugetlb.c | 1628 ++-
mm/internal.h | 61 +
mm/memcontrol.c | 364 +-
mm/memory.c | 243 +-
mm/memory_hotplug.c | 80 +-
mm/mempolicy.c | 9 +-
mm/migrate.c | 24 +-
mm/mm_init.c | 152 +
mm/mmap.c | 17 +-
mm/mprotect.c | 18 +-
mm/page-writeback.c | 13 +-
mm/page_alloc.c | 244 +-
mm/pdflush.c | 4 +-
mm/rmap.c | 14 +-
mm/shmem.c | 91 +-
mm/slab.c | 18 +-
mm/slob.c | 12 +-
mm/slub.c | 85 +-
mm/sparse.c | 115 +-
mm/swap.c | 8 +-
mm/swapfile.c | 49 +-
mm/vmalloc.c | 20 +
mm/vmscan.c | 5 +
mm/vmstat.c | 3 +-
net/802/Kconfig | 7 +
net/802/Makefile | 2 +
net/802/garp.c | 636 +
net/802/psnap.c | 5 +-
net/802/stp.c | 102 +
net/8021q/Kconfig | 10 +
net/8021q/Makefile | 12 +-
net/8021q/vlan.c | 81 +-
net/8021q/vlan.h | 86 +-
net/8021q/vlan_core.c | 64 +
net/8021q/vlan_dev.c | 302 +-
net/8021q/vlan_gvrp.c | 66 +
net/8021q/vlan_netlink.c | 7 +-
net/8021q/vlanproc.c | 13 +-
net/9p/trans_fd.c | 2 +-
net/Kconfig | 1 +
net/Makefile | 4 +-
net/appletalk/aarp.c | 4 +-
net/appletalk/ddp.c | 6 +-
net/atm/addr.c | 10 +-
net/atm/addr.h | 4 +-
net/atm/br2684.c | 14 +-
net/atm/clip.c | 2 +-
net/atm/common.c | 8 +-
net/atm/lec.c | 55 +-
net/atm/lec.h | 10 +-
net/atm/mpc.c | 2 +-
net/ax25/af_ax25.c | 8 +-
net/ax25/ax25_in.c | 2 +-
net/ax25/ax25_std_timer.c | 8 +-
net/bluetooth/af_bluetooth.c | 53 +-
net/bluetooth/bnep/bnep.h | 4 -
net/bluetooth/bnep/core.c | 9 +-
net/bluetooth/bnep/netdev.c | 4 -
net/bluetooth/bnep/sock.c | 4 -
net/bluetooth/hci_conn.c | 96 +-
net/bluetooth/hci_core.c | 42 +-
net/bluetooth/hci_event.c | 512 +-
net/bluetooth/hci_sock.c | 18 +-
net/bluetooth/hci_sysfs.c | 38 +-
net/bluetooth/hidp/core.c | 10 +
net/bluetooth/l2cap.c | 337 +-
net/bluetooth/rfcomm/core.c | 94 +-
net/bluetooth/rfcomm/sock.c | 25 +-
net/bluetooth/rfcomm/tty.c | 70 +-
net/bluetooth/sco.c | 14 +-
net/bridge/Kconfig | 1 +
net/bridge/br.c | 18 +-
net/bridge/br_device.c | 14 +-
net/bridge/br_fdb.c | 3 +-
net/bridge/br_forward.c | 6 +-
net/bridge/br_if.c | 12 +-
net/bridge/br_input.c | 25 +-
net/bridge/br_ioctl.c | 2 -
net/bridge/br_notify.c | 4 +-
net/bridge/br_private.h | 10 +-
net/bridge/br_private_stp.h | 2 -
net/bridge/br_stp.c | 3 +-
net/bridge/br_stp_bpdu.c | 16 +-
net/bridge/br_stp_if.c | 6 +-
net/bridge/br_stp_timer.c | 2 -
net/bridge/netfilter/Kconfig | 11 +-
net/bridge/netfilter/Makefile | 1 +
net/bridge/netfilter/ebt_ip6.c | 144 +
net/bridge/netfilter/ebt_log.c | 66 +-
net/can/af_can.c | 4 +-
net/can/bcm.c | 2 +-
net/can/raw.c | 2 +-
net/compat.c | 54 +-
net/core/dev.c | 442 +-
net/core/dev_mcast.c | 24 +-
net/core/ethtool.c | 37 +
net/core/fib_rules.c | 2 +-
net/core/flow.c | 2 +-
net/core/iovec.c | 2 +-
net/core/link_watch.c | 11 +-
net/core/neighbour.c | 8 +-
net/core/net-sysfs.c | 26 +-
net/core/netpoll.c | 24 +-
net/core/pktgen.c | 71 +-
net/core/rtnetlink.c | 26 +-
net/core/skbuff.c | 166 +-
net/core/sock.c | 10 +-
net/core/sysctl_net_core.c | 43 +-
net/core/user_dma.c | 1 +
net/core/utils.c | 5 +-
net/dccp/ccids/ccid3.c | 14 +-
net/dccp/ccids/lib/loss_interval.c | 10 +-
net/dccp/ccids/lib/packet_history.c | 103 +-
net/dccp/ccids/lib/packet_history.h | 30 +-
net/dccp/dccp.h | 17 +-
net/dccp/ipv4.c | 19 +-
net/dccp/ipv6.c | 15 +-
net/dccp/options.c | 14 +-
net/dccp/proto.c | 4 +-
net/dccp/timer.c | 4 +-
net/decnet/af_decnet.c | 34 +-
net/decnet/dn_route.c | 2 +-
net/decnet/dn_rules.c | 2 +-
net/econet/af_econet.c | 8 +-
net/ieee80211/ieee80211_rx.c | 2 +-
net/ieee80211/ieee80211_tx.c | 86 -
net/ieee80211/ieee80211_wx.c | 137 +-
net/ipv4/af_inet.c | 96 +-
net/ipv4/arp.c | 9 +-
net/ipv4/datagram.c | 2 +-
net/ipv4/devinet.c | 35 +-
net/ipv4/fib_frontend.c | 19 +-
net/ipv4/fib_hash.c | 8 +-
net/ipv4/fib_rules.c | 4 +-
net/ipv4/fib_semantics.c | 2 -
net/ipv4/fib_trie.c | 30 +-
net/ipv4/icmp.c | 31 +-
net/ipv4/igmp.c | 28 +-
net/ipv4/inet_connection_sock.c | 13 +-
net/ipv4/inet_diag.c | 2 -
net/ipv4/inet_hashtables.c | 23 +-
net/ipv4/inet_timewait_sock.c | 21 +-
net/ipv4/inetpeer.c | 2 -
net/ipv4/ip_forward.c | 11 +-
net/ipv4/ip_fragment.c | 61 +-
net/ipv4/ip_gre.c | 32 +-
net/ipv4/ip_input.c | 40 +-
net/ipv4/ip_options.c | 2 -
net/ipv4/ip_output.c | 35 +-
net/ipv4/ip_sockglue.c | 2 -
net/ipv4/ipconfig.c | 6 +-
net/ipv4/ipip.c | 24 +-
net/ipv4/ipmr.c | 125 +-
net/ipv4/ipvs/ip_vs_app.c | 2 -
net/ipv4/ipvs/ip_vs_conn.c | 2 -
net/ipv4/ipvs/ip_vs_core.c | 5 +-
net/ipv4/ipvs/ip_vs_ctl.c | 2 -
net/ipv4/ipvs/ip_vs_dh.c | 2 -
net/ipv4/ipvs/ip_vs_est.c | 2 -
net/ipv4/ipvs/ip_vs_ftp.c | 2 -
net/ipv4/ipvs/ip_vs_lblc.c | 2 -
net/ipv4/ipvs/ip_vs_lblcr.c | 2 -
net/ipv4/ipvs/ip_vs_lc.c | 2 -
net/ipv4/ipvs/ip_vs_nq.c | 2 -
net/ipv4/ipvs/ip_vs_proto.c | 2 -
net/ipv4/ipvs/ip_vs_proto_ah.c | 2 -
net/ipv4/ipvs/ip_vs_proto_esp.c | 2 -
net/ipv4/ipvs/ip_vs_proto_tcp.c | 2 -
net/ipv4/ipvs/ip_vs_proto_udp.c | 2 -
net/ipv4/ipvs/ip_vs_rr.c | 2 -
net/ipv4/ipvs/ip_vs_sched.c | 2 -
net/ipv4/ipvs/ip_vs_sed.c | 2 -
net/ipv4/ipvs/ip_vs_sh.c | 2 -
net/ipv4/ipvs/ip_vs_sync.c | 433 +-
net/ipv4/ipvs/ip_vs_wlc.c | 2 -
net/ipv4/ipvs/ip_vs_wrr.c | 2 -
net/ipv4/ipvs/ip_vs_xmit.c | 2 -
net/ipv4/netfilter/Kconfig | 15 +-
net/ipv4/netfilter/Makefile | 1 +
net/ipv4/netfilter/ip_queue.c | 5 +-
net/ipv4/netfilter/ipt_MASQUERADE.c | 2 +-
net/ipv4/netfilter/iptable_security.c | 180 +
.../netfilter/nf_conntrack_l3proto_ipv4_compat.c | 18 +-
net/ipv4/netfilter/nf_conntrack_proto_icmp.c | 5 +-
net/ipv4/netfilter/nf_nat_core.c | 8 +-
net/ipv4/netfilter/nf_nat_proto_sctp.c | 4 +-
net/ipv4/netfilter/nf_nat_sip.c | 38 +-
net/ipv4/proc.c | 113 +-
net/ipv4/protocol.c | 2 -
net/ipv4/raw.c | 12 +-
net/ipv4/route.c | 262 +-
net/ipv4/syncookies.c | 8 +-
net/ipv4/sysctl_net_ipv4.c | 5 +-
net/ipv4/tcp.c | 102 +-
net/ipv4/tcp_diag.c | 2 -
net/ipv4/tcp_input.c | 239 +-
net/ipv4/tcp_ipv4.c | 324 +-
net/ipv4/tcp_minisocks.c | 12 +-
net/ipv4/tcp_output.c | 466 +-
net/ipv4/tcp_timer.c | 27 +-
net/ipv4/udp.c | 80 +-
net/ipv4/udp_impl.h | 2 +-
net/ipv4/udplite.c | 3 -
net/ipv6/addrconf.c | 96 +-
net/ipv6/addrlabel.c | 106 +-
net/ipv6/af_inet6.c | 26 +-
net/ipv6/anycast.c | 2 +-
net/ipv6/datagram.c | 2 -
net/ipv6/exthdrs.c | 4 +-
net/ipv6/icmp.c | 5 +-
net/ipv6/inet6_hashtables.c | 13 +-
net/ipv6/ip6_fib.c | 62 +-
net/ipv6/ip6_input.c | 7 +-
net/ipv6/ip6_output.c | 19 +-
net/ipv6/ip6_tunnel.c | 28 +-
net/ipv6/ip6mr.c | 81 +-
net/ipv6/ipv6_sockglue.c | 11 +-
net/ipv6/mcast.c | 9 +-
net/ipv6/ndisc.c | 11 +-
net/ipv6/netfilter/Kconfig | 12 +
net/ipv6/netfilter/Makefile | 1 +
net/ipv6/netfilter/ip6_queue.c | 5 +-
net/ipv6/netfilter/ip6table_filter.c | 31 +-
net/ipv6/netfilter/ip6table_security.c | 172 +
net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c | 5 +-
net/ipv6/proc.c | 33 +-
net/ipv6/protocol.c | 2 -
net/ipv6/raw.c | 10 +-
net/ipv6/reassembly.c | 63 +-
net/ipv6/route.c | 84 +-
net/ipv6/sit.c | 26 +-
net/ipv6/syncookies.c | 6 +-
net/ipv6/sysctl_net_ipv6.c | 29 +-
net/ipv6/tcp_ipv6.c | 269 +-
net/ipv6/udp.c | 53 +-
net/ipv6/udp_impl.h | 2 +-
net/ipv6/udplite.c | 2 -
net/ipx/af_ipx.c | 4 +-
net/irda/ircomm/ircomm_tty.c | 14 +-
net/irda/irlap_frame.c | 2 +-
net/irda/irnet/irnet.h | 1 +
net/irda/irnet/irnet_ppp.c | 57 +-
net/irda/irnet/irnet_ppp.h | 7 +-
net/iucv/af_iucv.c | 9 +-
net/iucv/iucv.c | 42 +-
net/key/af_key.c | 622 +-
net/llc/af_llc.c | 4 +-
net/llc/llc_input.c | 2 +-
net/mac80211/Kconfig | 164 +-
net/mac80211/Makefile | 20 +-
net/mac80211/aes_ccm.c | 53 +-
net/mac80211/aes_ccm.h | 6 +-
net/mac80211/cfg.c | 42 +-
net/mac80211/debugfs.c | 58 +-
net/mac80211/debugfs_key.c | 8 +-
net/mac80211/debugfs_netdev.c | 59 +-
net/mac80211/debugfs_netdev.h | 5 -
net/mac80211/debugfs_sta.c | 56 +-
net/mac80211/ieee80211_i.h | 179 +-
net/mac80211/iface.c | 396 +-
net/mac80211/key.c | 11 +-
net/mac80211/key.h | 54 +-
net/mac80211/main.c | 609 +-
net/mac80211/mesh.c | 38 +-
net/mac80211/mesh.h | 2 +-
net/mac80211/mesh_hwmp.c | 2 +-
net/mac80211/mesh_pathtbl.c | 54 +-
net/mac80211/mesh_plink.c | 88 +-
net/mac80211/michael.c | 116 +-
net/mac80211/michael.h | 8 +-
net/mac80211/mlme.c | 1035 +-
net/mac80211/rate.c | 12 +-
net/mac80211/rate.h | 37 +-
net/mac80211/rc80211_pid.h | 4 +-
net/mac80211/rc80211_pid_algo.c | 40 +-
net/mac80211/rc80211_pid_debugfs.c | 8 +-
net/mac80211/rx.c | 683 +-
net/mac80211/sta_info.c | 55 +-
net/mac80211/sta_info.h | 168 +-
net/mac80211/tkip.c | 282 +-
net/mac80211/tkip.h | 8 +-
net/mac80211/tx.c | 1167 +-
net/mac80211/util.c | 136 +-
net/mac80211/wep.c | 71 +-
net/mac80211/wep.h | 2 +-
net/mac80211/wext.c | 145 +-
net/mac80211/wme.c | 676 +-
net/mac80211/wme.h | 43 +-
net/mac80211/wpa.c | 403 +-
net/netfilter/Kconfig | 14 +-
net/netfilter/Makefile | 2 +-
net/netfilter/nf_conntrack_acct.c | 104 +
net/netfilter/nf_conntrack_core.c | 58 +-
net/netfilter/nf_conntrack_extend.c | 10 +-
net/netfilter/nf_conntrack_helper.c | 1 +
net/netfilter/nf_conntrack_netlink.c | 77 +-
net/netfilter/nf_conntrack_proto_dccp.c | 3 +-
net/netfilter/nf_conntrack_proto_sctp.c | 80 +
net/netfilter/nf_conntrack_proto_tcp.c | 11 +-
net/netfilter/nf_conntrack_standalone.c | 18 +-
net/netfilter/nf_sockopt.c | 2 +-
net/netfilter/nfnetlink_log.c | 8 +
net/netfilter/nfnetlink_queue.c | 3 +-
net/netfilter/xt_CONNSECMARK.c | 10 +-
net/netfilter/xt_SECMARK.c | 10 +-
net/netfilter/xt_TCPMSS.c | 42 +-
net/netfilter/xt_connbytes.c | 8 +-
net/netfilter/xt_string.c | 38 +-
net/netfilter/xt_time.c | 2 +-
net/netlabel/netlabel_cipso_v4.c | 2 +-
net/netlabel/netlabel_domainhash.c | 3 +-
net/netlabel/netlabel_unlabeled.c | 2 +-
net/netlink/af_netlink.c | 4 +-
net/netrom/af_netrom.c | 26 +-
net/packet/af_packet.c | 222 +-
net/rfkill/rfkill-input.c | 98 +-
net/rfkill/rfkill-input.h | 1 +
net/rfkill/rfkill.c | 314 +-
net/rose/af_rose.c | 28 +-
net/rose/rose_route.c | 29 +-
net/rxrpc/ar-input.c | 5 +-
net/sched/act_gact.c | 2 +-
net/sched/act_ipt.c | 2 +-
net/sched/act_mirred.c | 4 +-
net/sched/act_nat.c | 2 +-
net/sched/act_pedit.c | 2 +-
net/sched/act_police.c | 8 +-
net/sched/act_simple.c | 2 +-
net/sched/cls_api.c | 20 +-
net/sched/cls_flow.c | 52 +-
net/sched/cls_route.c | 12 +-
net/sched/cls_u32.c | 18 +-
net/sched/sch_api.c | 613 +-
net/sched/sch_atm.c | 12 +-
net/sched/sch_cbq.c | 155 +-
net/sched/sch_dsmark.c | 10 +-
net/sched/sch_fifo.c | 49 +-
net/sched/sch_generic.c | 373 +-
net/sched/sch_gred.c | 14 +-
net/sched/sch_hfsc.c | 110 +-
net/sched/sch_htb.c | 195 +-
net/sched/sch_ingress.c | 2 +-
net/sched/sch_netem.c | 65 +-
net/sched/sch_prio.c | 143 +-
net/sched/sch_red.c | 37 +-
net/sched/sch_sfq.c | 29 +-
net/sched/sch_tbf.c | 42 +-
net/sched/sch_teql.c | 50 +-
net/sctp/Kconfig | 4 +-
net/sctp/Makefile | 4 +-
net/sctp/associola.c | 4 +
net/sctp/bind_addr.c | 37 +
net/sctp/input.c | 38 +-
net/sctp/ipv6.c | 20 +-
net/sctp/output.c | 14 +-
net/sctp/outqueue.c | 38 +-
net/sctp/proc.c | 136 +
net/sctp/protocol.c | 35 +-
net/sctp/sm_make_chunk.c | 7 +-
net/sctp/sm_sideeffect.c | 44 +-
net/sctp/sm_statefuns.c | 16 +-
net/sctp/socket.c | 385 +-
net/sctp/transport.c | 3 +
net/socket.c | 234 +-
net/sunrpc/auth_gss/Makefile | 4 +-
net/sunrpc/auth_gss/auth_gss.c | 29 +-
net/sunrpc/auth_gss/gss_krb5_crypto.c | 10 -
net/sunrpc/auth_gss/gss_krb5_mech.c | 4 +-
net/sunrpc/auth_gss/gss_krb5_seal.c | 26 +-
net/sunrpc/auth_gss/gss_krb5_unseal.c | 16 +-
net/sunrpc/auth_gss/gss_krb5_wrap.c | 72 +-
net/sunrpc/auth_gss/gss_spkm3_mech.c | 4 +-
net/sunrpc/auth_gss/gss_spkm3_token.c | 2 +-
net/sunrpc/auth_unix.c | 2 +-
net/sunrpc/clnt.c | 161 +-
net/sunrpc/rpcb_clnt.c | 356 +-
net/sunrpc/sched.c | 23 +-
net/sunrpc/svc.c | 111 +-
net/sunrpc/xprt.c | 9 +-
net/sunrpc/xprtrdma/svc_rdma.c | 35 +
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 84 +-
net/sunrpc/xprtrdma/svc_rdma_sendto.c | 166 +-
net/sunrpc/xprtrdma/svc_rdma_transport.c | 195 +-
net/sunrpc/xprtsock.c | 2 -
net/sysctl_net.c | 45 +-
net/tipc/bcast.c | 14 +-
net/tipc/bearer.c | 8 +-
net/tipc/cluster.c | 4 +-
net/tipc/config.c | 11 +-
net/tipc/core.c | 13 +-
net/tipc/core.h | 126 +-
net/tipc/dbg.c | 231 +-
net/tipc/dbg.h | 12 +-
net/tipc/discover.c | 14 +-
net/tipc/discover.h | 2 +-
net/tipc/eth_media.c | 10 +-
net/tipc/link.c | 98 +-
net/tipc/msg.c | 13 +-
net/tipc/msg.h | 42 +-
net/tipc/name_distr.c | 6 +-
net/tipc/name_table.c | 55 +-
net/tipc/net.c | 14 +-
net/tipc/net.h | 2 +-
net/tipc/netlink.c | 16 +-
net/tipc/node.c | 55 +-
net/tipc/port.c | 115 +-
net/tipc/ref.c | 14 +-
net/tipc/socket.c | 62 +-
net/tipc/subscr.c | 249 +-
net/tipc/subscr.h | 34 +-
net/tipc/user_reg.c | 14 +-
net/unix/af_unix.c | 2 -
net/wanrouter/Kconfig | 2 -
net/wanrouter/wanmain.c | 6 +-
net/wanrouter/wanproc.c | 2 +-
net/wireless/Kconfig | 11 +
net/wireless/core.c | 33 +-
net/wireless/nl80211.c | 6 +-
net/wireless/radiotap.c | 16 +-
net/wireless/wext.c | 584 +-
net/x25/af_x25.c | 11 +-
net/x25/x25_dev.c | 2 +-
net/xfrm/xfrm_policy.c | 2 +-
.../firmware_sample_firmware_class.c | 2 +-
samples/kobject/kset-example.c | 2 +-
scripts/Makefile.fwinst | 66 +
scripts/Makefile.lib | 3 +-
scripts/Makefile.modpost | 1 +
scripts/checkpatch.pl | 310 +-
scripts/checkstack.pl | 27 +-
scripts/genksyms/genksyms.c | 3 +-
scripts/mod/file2alias.c | 38 +-
scripts/mod/mk_elfconfig.c | 2 +-
scripts/mod/modpost.c | 3 +-
security/Kconfig | 11 +-
security/Makefile | 11 +-
security/capability.c | 1043 +-
security/commoncap.c | 111 +-
security/device_cgroup.c | 162 +-
security/dummy.c | 1251 --
security/root_plug.c | 9 -
security/security.c | 66 +-
security/selinux/hooks.c | 222 +-
security/selinux/include/audit.h | 4 +-
security/selinux/include/avc.h | 15 +-
security/selinux/include/objsec.h | 1 -
security/selinux/include/security.h | 5 +
security/selinux/netnode.c | 1 -
security/selinux/netport.c | 3 +-
security/selinux/selinuxfs.c | 15 +-
security/selinux/ss/avtab.c | 2 +-
security/selinux/ss/context.h | 27 +-
security/selinux/ss/mls.c | 19 +-
security/selinux/ss/mls.h | 3 +-
security/selinux/ss/policydb.c | 15 +-
security/selinux/ss/services.c | 423 +-
security/selinux/ss/sidtab.c | 76 +-
security/selinux/ss/sidtab.h | 7 +-
security/smack/smack_lsm.c | 28 +-
sound/Kconfig | 34 +-
sound/aoa/Kconfig | 11 +-
sound/aoa/codecs/Kconfig | 4 -
sound/aoa/fabrics/Kconfig | 1 -
sound/aoa/soundbus/Kconfig | 1 -
sound/arm/Kconfig | 21 +-
sound/arm/sa11xx-uda1341.c | 2 -
sound/core/Kconfig | 29 +-
sound/core/control.c | 7 +-
sound/core/info.c | 1 +
sound/core/init.c | 72 +-
sound/core/memalloc.c | 62 -
sound/core/pcm_native.c | 8 +-
sound/core/seq/seq_clientmgr.c | 2 +-
sound/core/seq/seq_device.c | 6 +-
sound/core/sound.c | 23 +-
sound/core/timer.c | 6 +-
sound/drivers/Kconfig | 91 +-
sound/drivers/vx/vx_core.c | 4 +-
sound/drivers/vx/vx_hwdep.c | 2 +-
sound/i2c/cs8427.c | 6 +-
sound/i2c/l3/uda1341.c | 2 -
sound/isa/Kconfig | 70 +-
sound/isa/cs423x/cs4231_lib.c | 118 +-
sound/isa/opti9xx/opti92x-ad1848.c | 1126 +--
sound/isa/sb/Makefile | 2 -
sound/isa/sb/sb16_csp.c | 22 -
sound/isa/sb/sb16_csp_codecs.h | 949 -
sound/isa/wavefront/wavefront_synth.c | 2 +-
sound/mips/Kconfig | 27 +-
sound/mips/Makefile | 4 +
sound/mips/ad1843.c | 561 +
sound/mips/hal2.c | 947 +
sound/mips/hal2.h | 245 +
sound/mips/sgio2audio.c | 1006 +
sound/oss/Kconfig | 88 +-
sound/oss/Makefile | 3 -
sound/oss/dmasound/dmasound_core.c | 7 +-
sound/oss/dmasound/dmasound_paula.c | 2 +-
sound/oss/dmasound/dmasound_q40.c | 2 +-
sound/oss/msnd.c | 2 -
sound/oss/msnd.h | 2 -
sound/oss/msnd_classic.h | 2 -
sound/oss/msnd_pinnacle.c | 5 -
sound/oss/msnd_pinnacle.h | 2 -
sound/oss/soundcard.c | 14 +-
sound/oss/trident.c | 4654 -----
sound/oss/trident.h | 358 -
sound/oss/vwsnd.c | 2 +-
sound/parisc/Kconfig | 13 +-
sound/pci/Kconfig | 134 +-
sound/pci/Makefile | 2 +-
sound/pci/ac97/Makefile | 12 +-
sound/pci/ac97/ac97_codec.c | 11 +-
sound/pci/ac97/ac97_patch.c | 81 +-
sound/pci/ac97/ak4531_codec.c | 508 -
sound/pci/ak4531_codec.c | 490 +
sound/pci/au88x0/au88x0_game.c | 2 -
sound/pci/azt3328.c | 1235 +-
sound/pci/azt3328.h | 207 +-
sound/pci/ca0106/ca0106_main.c | 5 +
sound/pci/emu10k1/emu10k1_main.c | 1 +
sound/pci/emu10k1/emumixer.c | 13 +-
sound/pci/emu10k1/memory.c | 69 +-
sound/pci/hda/hda_codec.c | 2 +-
sound/pci/hda/hda_codec.h | 2 +-
sound/pci/hda/hda_hwdep.c | 2 +-
sound/pci/hda/hda_intel.c | 306 +-
sound/pci/hda/hda_proc.c | 5 +-
sound/pci/hda/patch_analog.c | 38 +-
sound/pci/hda/patch_conexant.c | 33 +-
sound/pci/hda/patch_realtek.c | 548 +-
sound/pci/hda/patch_sigmatel.c | 71 +-
sound/pci/ice1712/envy24ht.h | 10 +-
sound/pci/ice1712/ice1712.h | 2 +
sound/pci/ice1712/ice1724.c | 213 +-
sound/pci/korg1212/korg1212-firmware.h | 987 -
sound/pci/korg1212/korg1212.c | 18 -
sound/pci/maestro3.c | 228 +-
sound/pci/mixart/mixart_hwdep.c | 2 +-
sound/pci/nm256/nm256.c | 4 +-
sound/pci/oxygen/hifier.c | 33 +-
sound/pci/oxygen/oxygen.c | 76 +-
sound/pci/oxygen/oxygen.h | 14 +
sound/pci/oxygen/oxygen_io.c | 22 +-
sound/pci/oxygen/oxygen_lib.c | 106 +-
sound/pci/oxygen/oxygen_pcm.c | 53 +-
sound/pci/oxygen/virtuoso.c | 252 +-
sound/pci/pcxhr/pcxhr.c | 4 +-
sound/pci/pcxhr/pcxhr_core.c | 22 +-
sound/pci/pcxhr/pcxhr_hwdep.c | 2 +-
sound/pci/riptide/riptide.c | 10 +-
sound/pci/trident/trident_main.c | 5 +-
sound/pci/trident/trident_memory.c | 178 -
sound/pci/via82xx.c | 6 +
sound/pci/vx222/vx222_ops.c | 2 +-
sound/pci/ymfpci/ymfpci_image.h | 1565 --
sound/pci/ymfpci/ymfpci_main.c | 76 +-
sound/pcmcia/Kconfig | 15 +-
sound/pcmcia/vx/vxp_ops.c | 2 +-
sound/ppc/Kconfig | 26 +-
sound/ppc/daca.c | 2 -
sound/ppc/tumbler.c | 2 -
sound/sh/Kconfig | 16 +-
sound/soc/Kconfig | 19 +-
sound/soc/Makefile | 3 +-
sound/soc/at32/Kconfig | 34 +
sound/soc/at32/Makefile | 11 +
sound/soc/at32/at32-pcm.c | 491 +
sound/soc/at32/at32-pcm.h | 79 +
sound/soc/at32/at32-ssc.c | 849 +
sound/soc/at32/at32-ssc.h | 59 +
sound/soc/at32/playpaq_wm8510.c | 522 +
sound/soc/at91/Kconfig | 2 +-
sound/soc/at91/at91-pcm.c | 6 +-
sound/soc/at91/at91-ssc.c | 14 +-
sound/soc/at91/at91-ssc.h | 2 +-
sound/soc/at91/eti_b1_wm8731.c | 53 +-
sound/soc/au1x/Kconfig | 32 +
sound/soc/au1x/Makefile | 13 +
sound/soc/au1x/dbdma2.c | 421 +
sound/soc/au1x/psc-ac97.c | 387 +
sound/soc/au1x/psc-i2s.c | 414 +
sound/soc/au1x/psc.h | 53 +
sound/soc/au1x/sample-ac97.c | 144 +
sound/soc/codecs/Kconfig | 22 +-
sound/soc/codecs/Makefile | 8 +
sound/soc/codecs/ac97.c | 31 +-
sound/soc/codecs/ac97.h | 2 +-
sound/soc/codecs/ak4535.c | 696 +
sound/soc/codecs/ak4535.h | 46 +
sound/soc/codecs/cs4270.c | 8 +-
sound/soc/codecs/cs4270.h | 2 +-
sound/soc/codecs/tlv320aic3x.c | 384 +-
sound/soc/codecs/tlv320aic3x.h | 55 +-
sound/soc/codecs/uda1380.c | 852 +
sound/soc/codecs/uda1380.h | 89 +
sound/soc/codecs/wm8510.c | 817 +
sound/soc/codecs/wm8510.h | 103 +
sound/soc/codecs/wm8731.c | 79 +-
sound/soc/codecs/wm8731.h | 2 +-
sound/soc/codecs/wm8750.c | 87 +-
sound/soc/codecs/wm8750.h | 2 +-
sound/soc/codecs/wm8753.c | 183 +-
sound/soc/codecs/wm8753.h | 2 +-
sound/soc/codecs/wm8990.c | 1626 ++
sound/soc/codecs/wm8990.h | 832 +
sound/soc/codecs/wm9712.c | 53 +-
sound/soc/codecs/wm9712.h | 2 +-
sound/soc/codecs/wm9713.c | 79 +-
sound/soc/codecs/wm9713.h | 2 +-
sound/soc/davinci/Kconfig | 2 +-
sound/soc/davinci/davinci-evm.c | 40 +-
sound/soc/davinci/davinci-i2s.c | 16 +-
sound/soc/davinci/davinci-i2s.h | 2 +-
sound/soc/davinci/davinci-pcm.c | 2 +-
sound/soc/fsl/Kconfig | 6 +-
sound/soc/fsl/fsl_dma.c | 2 +-
sound/soc/fsl/fsl_dma.h | 2 +-
sound/soc/fsl/fsl_ssi.c | 24 +-
sound/soc/fsl/fsl_ssi.h | 4 +-
sound/soc/fsl/mpc8610_hpcd.c | 72 +-
sound/soc/omap/Kconfig | 4 -
sound/soc/omap/n810.c | 106 +-
sound/soc/omap/omap-mcbsp.c | 16 +-
sound/soc/omap/omap-mcbsp.h | 2 +-
sound/soc/omap/omap-pcm.c | 2 +-
sound/soc/pxa/Kconfig | 12 +-
sound/soc/pxa/Makefile | 3 +-
sound/soc/pxa/corgi.c | 70 +-
sound/soc/pxa/em-x270.c | 102 +
sound/soc/pxa/poodle.c | 50 +-
sound/soc/pxa/pxa2xx-ac97.c | 18 +-
sound/soc/pxa/pxa2xx-ac97.h | 2 +-
sound/soc/pxa/pxa2xx-i2s.c | 29 +-
sound/soc/pxa/pxa2xx-i2s.h | 2 +-
sound/soc/pxa/pxa2xx-pcm.c | 2 +-
sound/soc/pxa/spitz.c | 91 +-
sound/soc/pxa/tosa.c | 76 +-
sound/soc/s3c24xx/Kconfig | 4 +-
sound/soc/s3c24xx/neo1973_wm8753.c | 237 +-
sound/soc/s3c24xx/s3c2412-i2s.c | 15 +-
sound/soc/s3c24xx/s3c2412-i2s.h | 2 +-
sound/soc/s3c24xx/s3c2443-ac97.c | 15 +-
sound/soc/s3c24xx/s3c24xx-ac97.h | 2 +-
sound/soc/s3c24xx/s3c24xx-i2s.c | 25 +-
sound/soc/s3c24xx/s3c24xx-i2s.h | 2 +-
sound/soc/s3c24xx/s3c24xx-pcm.c | 6 +-
sound/soc/s3c24xx/smdk2443_wm9710.c | 3 -
sound/soc/sh/Kconfig | 5 +-
sound/soc/sh/dma-sh7760.c | 2 +-
sound/soc/sh/hac.c | 2 +-
sound/soc/sh/sh7760-ac97.c | 4 +-
sound/soc/sh/ssi.c | 8 +-
sound/soc/soc-core.c | 443 +-
sound/soc/soc-dapm.c | 344 +-
sound/sound_core.c | 10 +-
sound/sparc/Kconfig | 17 +-
sound/sparc/dbri.c | 2 +-
sound/spi/Kconfig | 13 +-
sound/usb/Kconfig | 16 +-
sound/usb/caiaq/caiaq-audio.c | 1 +
sound/usb/caiaq/caiaq-device.c | 12 +-
sound/usb/caiaq/caiaq-device.h | 1 +
sound/usb/usbaudio.c | 4 -
sound/usb/usbquirks.h | 38 +
virt/kvm/coalesced_mmio.c | 156 +
virt/kvm/coalesced_mmio.h | 23 +
virt/kvm/ioapic.c | 23 +-
virt/kvm/iodev.h | 8 +-
virt/kvm/kvm_main.c | 171 +-
virt/kvm/kvm_trace.c | 18 +-
7695 files changed, 629439 insertions(+), 552037 deletions(-)
New commits:
commit 5047887caf1806f31652210df27fb62a7c43f27d
Merge: 996abf053eec4d67136be8b911bbaaf989cfb99c 973b7d83ebeb1e34b8bee69208916e5f0e2353c3
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Jul 25 11:08:17 2008 -0700
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (34 commits)
powerpc: Wireup new syscalls
Move update_mmu_cache() declaration from tlbflush.h to pgtable.h
powerpc/pseries: Remove kmalloc call in handling writes to lparcfg
powerpc/pseries: Update arch vector to indicate support for CMO
ibmvfc: Add support for collaborative memory overcommit
ibmvscsi: driver enablement for CMO
ibmveth: enable driver for CMO
ibmveth: Automatically enable larger rx buffer pools for larger mtu
powerpc/pseries: Verify CMO memory entitlement updates with virtual I/O
powerpc/pseries: vio bus support for CMO
powerpc/pseries: iommu enablement for CMO
powerpc/pseries: Add CMO paging statistics
powerpc/pseries: Add collaborative memory manager
powerpc/pseries: Utilities to set firmware page state
powerpc/pseries: Enable CMO feature during platform setup
powerpc/pseries: Split retrieval of processor entitlement data into a helper routine
powerpc/pseries: Add memory entitlement capabilities to /proc/ppc64/lparcfg
powerpc/pseries: Split processor entitlement retrieval and gathering to helper routines
powerpc/pseries: Remove extraneous error reporting for hcall failures in lparcfg
powerpc: Fix compile error with binutils 2.15
...
Fixed up conflict in arch/powerpc/platforms/52xx/Kconfig manually.
commit 996abf053eec4d67136be8b911bbaaf989cfb99c
Merge: 93082f0b15841b8926c38ef224d0e6f720000635 d37e6bf68fc1eb34a4ad21d9ae8890ed37ea80e7
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Jul 25 11:02:17 2008 -0700
Merge branch 'linux-next' of git://git.infradead.org/~dedekind/ubi-2.6
* 'linux-next' of git://git.infradead.org/~dedekind/ubi-2.6: (22 commits)
UBI: always start the background thread
UBI: fix gcc warning
UBI: remove pre-sqnum images support
UBI: fix kernel-doc errors and warnings
UBI: fix checkpatch.pl errors and warnings
UBI: bugfix - do not torture PEB needlessly
UBI: rework scrubbing messages
UBI: implement multiple volumes rename
UBI: fix and re-work debugging stuff
UBI: amend commentaries
UBI: fix error message
UBI: improve mkvol request validation
UBI: add ubi_sync() interface
UBI: fix 64-bit calculations
UBI: fix LEB locking
UBI: fix memory leak on error path
UBI: do not forget to free internal volumes
UBI: fix memory leak
UBI: avoid unnecessary division operations
UBI: fix buffer padding
...
commit 93082f0b15841b8926c38ef224d0e6f720000635
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Jul 25 10:56:36 2008 -0700
Fix ahci driver 'flags' type
The new type checking of the flags arguments to irqsave and friends
(commit 3f307891ce0e7b0438c432af1aacd656a092ff45) pointed out this thing
with a big nice warning.
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f87bd330edf06fd49b3fbc368d90fb180375f2a2
Author: Dave Jiang <djiang at mvista.com>
Date: Fri Jul 25 01:49:14 2008 -0700
edac: mpc85xx fix pci ofdev 2nd pass
Convert PCI err device from platform to open firmware of_dev to comply
with powerpc schemes.
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Dave Jiang <djiang at mvista.com>
Signed-off-by: Doug Thompson <dougthompson at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit fcb19171d196172a4f57e056f7a60e6d1e2e8c85
Author: Dave Jiang <djiang at mvista.com>
Date: Fri Jul 25 01:49:14 2008 -0700
edac: mv64x60 add pci fixup
Fixup of missing bit 0 on 64360 PCIx_ERR_MASK and errata FEr-#11 and
FEr-#16 for the 64460. Bit 0 must remain 0.
Signed-off-by: Dave Jiang <djiang at mvista.com>
Signed-off-by: Doug Thompson <dougthompson.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 596d3941035d4d4b484c820f10f57fd4816c6615
Author: Dave Jiang <djiang at mvista.com>
Date: Fri Jul 25 01:49:13 2008 -0700
edac: mv64x60 fix get_property
Update get_property() call to use of_get_property() in order to fix compile
Signed-off-by: Dave Jiang <djiang at mvista.com>
Signed-off-by: Doug Thompson <dougthompson.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 10d33e9c36827e5371479e55ef4089e000af2638
Author: Doug Thompson <dougthompson at xmission.com>
Date: Fri Jul 25 01:49:12 2008 -0700
edac: e752x fix too loud on nonmemory errors
This module harvests more than just memory errors, it also harvests
various bus and dma errors that the Chipset detects. Previously, it would
report all such errors, which would cause output to be TOO loud.
This patches therefore adds a parameter which is used to turn off
NON-MEMORY error reports by default. Or the reporting can be enabled via
the parameter
Also did code style cleanup: less than 80 characters per line rule
Signed-off-by: Doug Thompson <dougthompson at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 124682c78563e10ba8b2ecd21b0f1098903b7808
Author: Arthur Jones <ajones at riverbed.com>
Date: Fri Jul 25 01:49:12 2008 -0700
edac: core fix added newline to sysfs dimm labels
The channel DIMM label does not seem to be used much in the edac code.
However, where it is used (in the core code), it is assumed to not have a
newline embedded. This leaves the sysfs file newline free which looks
funny when cat'ing it. Here we just add the trailing newline to the sysfs
chX_dimm_label output...
[Doug Thompson note: the DIMM label is one of the primary uses of EDAC.
User space daemon scripts, edac-utils at sourceforge, populate the DIMM label
fields, via /sys/devices/system/edac attributes, with the silk screen
labels of the motherboard in use. dmidecode access BIOS tables, but BIOS
tables are well known to be incorrect and useless in these respects.
edac-utils will strip off any newlines before its use of the output, when
displaying DIMM slot silk screen labels.
Signed-off-by: Arthur Jones <ajones at riverbed.com>
Signed-off-by: Doug Thompson <dougthompson at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f9fc82adca43d38a1b79128d80750bd361e15abe
Author: Arthur Jones <ajones at riverbed.com>
Date: Fri Jul 25 01:49:11 2008 -0700
edac: core fix static to dynamic kset
Static kobjects and ksets are not supported in Linux kernel. Convert the
mc_kset from static to dynamic. This patch depends on my previous patch
to remove the module parameter attributes from mc...
Signed-off-by: Arthur Jones <ajones at riverbed.com>
Signed-off-by: Doug Thompson <dougthompson at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 327dafb1c61c9da7b95ac6cc7634a2340cc9509c
Author: Arthur Jones <ajones at riverbed.com>
Date: Fri Jul 25 01:49:10 2008 -0700
edac: core fix redundant sysfs controls to parameters
/sys/devices/system/edac/mc has a few files which are duplicated in
/sys/module/edac_core/parameters. Now that all the functionality is
duplicated between these two locations, we remove the former kobject
attributes and update the documentation.
Signed-off-by: Arthur Jones <ajones at riverbed.com>
Signed-off-by: Doug Thompson <dougthompson at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 096846e2b0ef39cb7c348f837f06984ef6ba8aa7
Author: Arthur Jones <ajones at riverbed.com>
Date: Fri Jul 25 01:49:09 2008 -0700
edac: core fix workq timer
When updating the edac_mc_poll_msec module parameter from the sysfs
/sys/module/edac_core/parameters/edac_mc_poll_msec file, we don't update
the workq timers. So that, if we move from a big poll time to a small
one, the small one won't take effect until the big one has timed out.
Here we provide a new module parameter set method to call out to the
update routine. This brings the /sys/module/edac_core/parameters
functionality up to that provided by the /sys/drivers/system/edac/mc sysfs
module parameter files so that we can remove them or at least link to the
/sys/module files...
Signed-off-by: Arthur Jones <ajones at riverbed.com>
Signed-off-by: Doug Thompson <dougthompson at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 14cc571bb1d072d3f4be2875ea520ab03e093471
Author: Arthur Jones <ajones at riverbed.com>
Date: Fri Jul 25 01:49:08 2008 -0700
edac: core fix to use dynamic kobject
Static kobjects are not supported in linux kernel. Convert the
edac_pci_top_main_kobj from static to dynamic. This avoids the double
free of the edac_pci_top_main_kobj.name that we see on module reload of
the e752x edac driver (and probably others as well).
In addition Greg KH <greg at kroah.com> has pointed out that this code may be
cleaned up significantly. I will look at that as a follow-on patch, for
now, I just want the minimum fix to get this double-free oops bug
squashed...
Many thanks to Greg KH for his patience in showing me what the
Documentation/kobject.txt already said (oops)...
Signed-off-by: Arthur Jones <ajones at riverbed.com>
Signed-off-by: Doug Thompson <dougthompson at xmission.com>
Acked-by: Greg Kroah-Hartman <gregkh at suse.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b238e57723a6fb2c365fc35de5d7c48ccf9300cd
Author: Arthur Jones <ajones at riverbed.com>
Date: Fri Jul 25 01:49:08 2008 -0700
edac: i5100: cleanup
Some code cleanliness issues found by Andrew Morton (thanks!) which should
not affect functionality, but which should help make the code more
maintainable.
In particular, we now:
* convert all #define's w/ a parameter to static inlines
* use 1UL rather than 1ULL when calculating an unsigned long
* use pci_disable_device
The resulting code is tested and seems to work fine...
Signed-off-by: Arthur Jones <ajones at riverbed.com>
Cc: Doug Thompson <dougthompson at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 178d5a742291976d13bff55fa2b130879d4510de
Author: Arthur Jones <ajones at riverbed.com>
Date: Fri Jul 25 01:49:06 2008 -0700
edac: i5100 fix unmask ecc bits
Explicitly unmask ECC errors we are interested in reporting.
Signed-off-by: Arthur Jones <ajones at riverbed.com>
Signed-off-by: Doug Thompson <dougthompson at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 43920a598f9358a12eb59eeddc4cd950f03aea8c
Author: Arthur Jones <ajones at riverbed.com>
Date: Fri Jul 25 01:49:06 2008 -0700
edac: i5100 fix enable ecc hardware
It is possible that the BIOS did not enable ECC at boot time. We check
for that case and fail to load if it is true.
Signed-off-by: Arthur Jones <ajones at riverbed.com>
Signed-off-by: Doug Thompson <dougthompson at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f7952ffcffa88c9a3fa92c26081f4ec9143c680f
Author: Arthur Jones <ajones at riverbed.com>
Date: Fri Jul 25 01:49:05 2008 -0700
edac: i5100 fix missing bits
The error mask we use to trigger ECC notifications is missing many bits of
interest. We add these bits here so that all possible ECC errors can be
reported.
Signed-off-by: Arthur Jones <ajones at riverbed.com>
Signed-off-by: Doug Thompson <dougthompson at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 8f421c595a9145959d8aab09172743132abdffdb
Author: Arthur Jones <ajones at riverbed.com>
Date: Fri Jul 25 01:49:04 2008 -0700
edac: i5100 new intel chipset driver
Preliminary support for the Intel 5100 MCH. CE and UE errors are reported
along with the current DIMM label information and other memory parameters.
Reasons why this is preliminary:
1) This chip has 2 independent memory controllers which, for best
perforance, use interleaved accesses to the DDR2 memory. This
architecture does not map very well to the current edac data structures
which depend on symmetric channel access to the interleaved data.
Without core changes, the best I could do for now is to map both memory
controllers to different csrows (first all ranks of controller 0, then
all ranks of controller 1). Someone much more familiar with the edac
core than I will probably need to come up with a more general data
structure to handle the interleaving and de-interleaving of the two
memory controllers.
2) I have not yet tackled the de-interleaving of the rank/controller
address space into the physical address space of the CPU. There is
nothing fundamentally missing, it is just ending up to be a lot of
code, and I'd rather keep it separate for now, esp since it doesn't
work yet...
3) The code depends on a particular i5100 chip select to DIMM mainboard
chip select mapping. This mapping seems obvious to me in order to
support dual and single ranked memory, but it is not unique and DIMM
labels could be wrong on other mainboards. There is no way to query
this mapping that I know of.
4) The code requires that the i5100 is in 32GB mode. Only 4 ranks per
controller, 2 ranks per DIMM are supported. I do not have hardware
(nor do I expect to have hardware anytime soon) for the 48GB (6 ranks
per controller) mode.
5) The serial presence detect code should be broken out into a "real"
i2c driver so that decode-dimms.pl can work.
Signed-off-by: Arthur Jones <ajones at riverbed.com>
Signed-off-by: Doug Thompson <dougthompson at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 48e90761b570ff57f58b726229d229729949c5bb
Author: Miklos Szeredi <mszeredi at suse.cz>
Date: Fri Jul 25 01:49:02 2008 -0700
fuse: lockd support
If fuse filesystem doesn't define it's own lock operations, then allow the
lock manager to work with fuse.
Adding lockd support for remote locking is also possible, but more rarely
used, so leave it till later.
Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
Cc: "J. Bruce Fields" <bfields at fieldses.org>
Cc: Trond Myklebust <trond.myklebust at fys.uio.no>
Cc: Matthew Wilcox <matthew at wil.cx>
Cc: David Teigland <teigland at redhat.com>
Cc: Christoph Hellwig <hch at lst.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 33670fa296860283f04a7975b8c790f101e43a6e
Author: Miklos Szeredi <mszeredi at suse.cz>
Date: Fri Jul 25 01:49:02 2008 -0700
fuse: nfs export special lookups
Implement the get_parent export operation by sending a LOOKUP request with
".." as the name.
Implement looking up an inode by node ID after it has been evicted from
the cache. This is done by seding a LOOKUP request with "." as the name
(for all file types, not just directories).
The filesystem can set the FUSE_EXPORT_SUPPORT flag in the INIT reply, to
indicate that it supports these special lookups.
Thanks to John Muir for the original implementation of this feature.
Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
Cc: "J. Bruce Fields" <bfields at fieldses.org>
Cc: Trond Myklebust <trond.myklebust at fys.uio.no>
Cc: Matthew Wilcox <matthew at wil.cx>
Cc: David Teigland <teigland at redhat.com>
Cc: Christoph Hellwig <hch at lst.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit c180eebe1390c2076ead6a9bc95a02efb994edb7
Author: Miklos Szeredi <mszeredi at suse.cz>
Date: Fri Jul 25 01:49:01 2008 -0700
fuse: add fuse_lookup_name() helper
Add a new helper function which sends a LOOKUP request with the supplied
name. This will be used by the next patch to send special LOOKUP requests
with "." and ".." as the name.
Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
Cc: Christoph Hellwig <hch at lst.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit dbd561d236ff16f8143bc727d91758ddd190e8cb
Author: Miklos Szeredi <mszeredi at suse.cz>
Date: Fri Jul 25 01:49:00 2008 -0700
fuse: add export operations
Implement export_operations, to allow fuse filesystems to be exported to
NFS. This feature has been in the out-of-tree fuse module, and is widely
used and tested.
It has not been originally merged into mainline, because doing the NFS
export in userspace was thought to be a cleaner and more efficient way of
doing it, than through the kernel.
While that is true, it would also have involved a lot of duplicated effort
at reimplementing NFS exporting (all the different versions of the
protocol). This effort was unfortunately not undertaken by anyone, so we
are left with doing it the easy but less efficient way.
If this feature goes in, the out-of-tree fuse module can go away,
which would have several advantages:
- not having to maintain two versions
- less confusion for users
- no bugs due to kernel API changes
Comment from hch:
- Use the same fh_type values as XFS, since we use the same fh encoding.
Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
Cc: Christoph Hellwig <hch at lst.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 0de6256daafa3a97a269995e9b29f956bd419bbf
Author: Miklos Szeredi <mszeredi at suse.cz>
Date: Fri Jul 25 01:48:59 2008 -0700
fuse: prepare lookup for nfs export
Use d_splice_alias() instead of d_add() in fuse lookup code, to allow NFS
exporting.
Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
Cc: Christoph Hellwig <hch at lst.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 764c76b371722e0cba5c24d91225f0f954b69d44
Author: Miklos Szeredi <mszeredi at suse.cz>
Date: Fri Jul 25 01:48:58 2008 -0700
locks: allow ->lock() to return FILE_LOCK_DEFERRED
Allow filesystem's ->lock() method to call posix_lock_file() instead of
posix_lock_file_wait(), and return FILE_LOCK_DEFERRED. This makes it
possible to implement a such a ->lock() function, that works with the lock
manager, which needs the call to be asynchronous.
Now the vfs_lock_file() helper can be used, so this is a cleanup as well.
Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
Cc: "J. Bruce Fields" <bfields at fieldses.org>
Cc: Trond Myklebust <trond.myklebust at fys.uio.no>
Cc: Matthew Wilcox <matthew at wil.cx>
Cc: David Teigland <teigland at redhat.com>
Cc: Christoph Hellwig <hch at lst.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b648a6de00770cc325c22f43bdd4e935f6a2ee55
Author: Miklos Szeredi <mszeredi at suse.cz>
Date: Fri Jul 25 01:48:57 2008 -0700
locks: cleanup code duplication
Extract common code into a function.
Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
Cc: "J. Bruce Fields" <bfields at fieldses.org>
Cc: Trond Myklebust <trond.myklebust at fys.uio.no>
Cc: Matthew Wilcox <matthew at wil.cx>
Cc: David Teigland <teigland at redhat.com>
Cc: Christoph Hellwig <hch at lst.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit bde74e4bc64415b142e556a34d295a52a1b7da9d
Author: Miklos Szeredi <mszeredi at suse.cz>
Date: Fri Jul 25 01:48:57 2008 -0700
locks: add special return value for asynchronous locks
Use a special error value FILE_LOCK_DEFERRED to mean that a locking
operation returned asynchronously. This is returned by
posix_lock_file() for sleeping locks to mean that the lock has been
queued on the block list, and will be woken up when it might become
available and needs to be retried (either fl_lmops->fl_notify() is
called or fl_wait is woken up).
f_op->lock() to mean either the above, or that the filesystem will
call back with fl_lmops->fl_grant() when the result of the locking
operation is known. The filesystem can do this for sleeping as well
as non-sleeping locks.
This is to make sure, that return values of -EAGAIN and -EINPROGRESS by
filesystems are not mistaken to mean an asynchronous locking.
This also makes error handling in fs/locks.c and lockd/svclock.c slightly
cleaner.
Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
Cc: Trond Myklebust <trond.myklebust at fys.uio.no>
Cc: "J. Bruce Fields" <bfields at fieldses.org>
Cc: Matthew Wilcox <matthew at wil.cx>
Cc: David Teigland <teigland at redhat.com>
Cc: Christoph Hellwig <hch at lst.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit cc77b1521d06be07c9bb1a4a3e1f775dcaa15093
Author: Miklos Szeredi <mszeredi at suse.cz>
Date: Fri Jul 25 01:48:55 2008 -0700
lockd: dont return EAGAIN for a permanent error
Fix nlm_fopen() to return NLM_FAILED (or NLM_LCK_DENIED_NOLOCKS) instead
of NLM_LCK_DENIED. The latter means the lock request failed because of a
conflicting lock (i.e. a temporary error), which is wrong in this case.
Also fix the client to return ENOLCK instead of EAGAIN if a blocking lock
request returns with NLM_LOCK_DENIED.
Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
Cc: Trond Myklebust <trond.myklebust at fys.uio.no>
Cc: "J. Bruce Fields" <bfields at fieldses.org>
Cc: Matthew Wilcox <matthew at wil.cx>
Cc: David Teigland <teigland at redhat.com>
Cc: Christoph Hellwig <hch at lst.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b81f3ea92ba1fa676775677679889dc2a7f03c8b
Author: Vegard Nossum <vegard.nossum at gmail.com>
Date: Fri Jul 25 01:48:55 2008 -0700
taskstats: remove initialization of static per-cpu variable
Cc: Shailabh Nagar <nagar at watson.ibm.com>
Signed-off-by: Vegard Nossum <vegard.nossum at gmail.com>
Cc: Balbir Singh <balbir at in.ibm.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 9b0975a20af1ff2f367e3b6b7c150eb114c6b500
Author: Keika Kobayashi <kobayashi.kk at ncos.nec.co.jp>
Date: Fri Jul 25 01:48:54 2008 -0700
per-task-delay-accounting: update document and getdelays.c for memory reclaim
Update document and make getdelays.c show delay accounting for memory reclaim.
For making a distinction between "swapping in pages" and "memory reclaim"
in getdelays.c, MEM is changed to SWAP.
Signed-off-by: Keika Kobayashi <kobayashi.kk at ncos.nec.co.jp>
Acked-by: Balbir Singh <balbir at linux.vnet.ibm.com>
Cc: KOSAKI Motohiro <kosaki.motohiro at jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 016ae219b920c4e606088761d3d6070cdf8ba706
Author: Keika Kobayashi <kobayashi.kk at ncos.nec.co.jp>
Date: Fri Jul 25 01:48:53 2008 -0700
per-task-delay-accounting: update taskstats for memory reclaim delay
Add members for memory reclaim delay to taskstats, and accumulate them in
__delayacct_add_tsk() .
Signed-off-by: Keika Kobayashi <kobayashi.kk at ncos.nec.co.jp>
Cc: Hiroshi Shimamoto <h-shimamoto at ct.jp.nec.com>
Cc: Balbir Singh <balbir at in.ibm.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 873b47717732c2f33a4b14de02571a4295a02f0c
Author: Keika Kobayashi <kobayashi.kk at ncos.nec.co.jp>
Date: Fri Jul 25 01:48:52 2008 -0700
per-task-delay-accounting: add memory reclaim delay
Sometimes, application responses become bad under heavy memory load.
Applications take a bit time to reclaim memory. The statistics, how long
memory reclaim takes, will be useful to measure memory usage.
This patch adds accounting memory reclaim to per-task-delay-accounting for
accounting the time of do_try_to_free_pages().
<i.e>
- When System is under low memory load,
memory reclaim may not occur.
$ free
total used free shared buffers cached
Mem: 8197800 1577300 6620500 0 4808 1516724
-/+ buffers/cache: 55768 8142032
Swap: 16386292 0 16386292
$ vmstat 1
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 0 5069748 10612 3014060 0 0 0 0 3 26 0 0 100 0
0 0 0 5069748 10612 3014060 0 0 0 0 4 22 0 0 100 0
0 0 0 5069748 10612 3014060 0 0 0 0 3 18 0 0 100 0
Measure the time of tar command.
$ ls -s test.dat
1501472 test.dat
$ time tar cvf test.tar test.dat
real 0m13.388s
user 0m0.116s
sys 0m5.304s
$ ./delayget -d -p <pid>
CPU count real total virtual total delay total
428 5528345500 5477116080 62749891
IO count delay total
338 8078977189
SWAP count delay total
0 0
RECLAIM count delay total
0 0
- When system is under heavy memory load
memory reclaim may occur.
$ vmstat 1
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 7159032 49724 1812 3012 0 0 0 0 3 24 0 0 100 0
0 0 7159032 49724 1812 3012 0 0 0 0 4 24 0 0 100 0
0 0 7159032 49848 1812 3012 0 0 0 0 3 22 0 0 100 0
In this case, one process uses more 8G memory
by execution of malloc() and memset().
$ time tar cvf test.tar test.dat
real 1m38.563s <- increased by 85 sec
user 0m0.140s
sys 0m7.060s
$ ./delayget -d -p <pid>
CPU count real total virtual total delay total
9021 7140446250 7315277975 923201824
IO count delay total
8965 90466349669
SWAP count delay total
3 21036367
RECLAIM count delay total
740 61011951153
In the later case, the value of RECLAIM is increasing.
So, taskstats can show how much memory reclaim influences TAT.
Signed-off-by: Keika Kobayashi <kobayashi.kk at ncos.nec.co.jp>
Acked-by: Balbir Singh <balbir at linux.vnet.ibm.com>
Acked-by: KOSAKI Motohiro <kosaki.motohiro at jp.fujistu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3e85ba034deec351f02cb55ff225bbd616463841
Author: David Howells <dhowells at redhat.com>
Date: Fri Jul 25 01:48:50 2008 -0700
tsacct: fix bacct_add_tsk()'s use of do_div()
Fix bacct_add_tsk()'s use of do_div() on an s64 by making ac_etime a u64
instead and dividing that.
Possibly this should be guarded lest the interval calculation turn up
negative, but the possible negativity of the result of the division is
cast away, and it shouldn't end up negative anyway.
This was introduced by patch f3cef7a99469afc159fec3a61b42dc7ca5b6824f.
Signed-off-by: David Howells <dhowells at redhat.com>
Cc: Jay Lan <jlan at engr.sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 297c5d92634c809cef23d73e7b2556f2528ff7e2
Author: Andrea Righi <righi.andrea at gmail.com>
Date: Fri Jul 25 01:48:49 2008 -0700
task IO accounting: provide distinct tgid/tid I/O statistics
Report per-thread I/O statistics in /proc/pid/task/tid/io and aggregate
parent I/O statistics in /proc/pid/io. This approach follows the same
model used to account per-process and per-thread CPU times.
As a practial application, this allows for example to quickly find the top
I/O consumer when a process spawns many child threads that perform the
actual I/O work, because the aggregated I/O statistics can always be found
in /proc/pid/io.
[ Oleg Nesterov points out that we should check that the task is still
alive before we iterate over the threads, but also says that we can do
that fixup on top of this later. - Linus ]
Acked-by: Balbir Singh <balbir at linux.vnet.ibm.com>
Signed-off-by: Andrea Righi <righi.andrea at gmail.com>
Cc: Matt Heaton <matt at hostmonster.com>
Cc: Shailabh Nagar <nagar at watson.ibm.com>
Acked-by-with-comments: Oleg Nesterov <oleg at tv-sign.ru>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 0c18d7a5df82524e634637c3aec24d4cba096442
Author: Pavel Emelyanov <xemul at openvz.org>
Date: Fri Jul 25 01:48:49 2008 -0700
bsdacct: fix and add comments around acct_process()
Fix the one describing what this function is and add one more - about
locking absence around pid namespaces loop.
Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
Cc: Randy Dunlap <randy.dunlap at oracle.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7d1e13505be8c2bd2207894f4e0f069e1f9b51c9
Author: Pavel Emelyanov <xemul at openvz.org>
Date: Fri Jul 25 01:48:48 2008 -0700
bsdacct: account dying tasks in all relevant namespaces
This just makes the acct_proces walk the pid namespaces from current up to
the top and account a task in each with the accounting turned on.
ns->parent access if safe lockless, since current it still alive and holds
its namespace, which in turn holds its parent.
Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: "Eric W. Biederman" <ebiederm at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b5a7174875ea570cc675f2c503e800db8efdd6a7
Author: Pavel Emelyanov <xemul at openvz.org>
Date: Fri Jul 25 01:48:47 2008 -0700
bsdacct: turn acct off for all pidns-s on umount time
All the bsd_acct_strcts with opened accounting are linked into a global
list. So, the acct_auto_close(_mnt) walks one and drops the accounting
for each.
Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: "Eric W. Biederman" <ebiederm at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 0b6b030fc30d169bb406b34b4fc60d99dde4a9c6
Author: Pavel Emelyanov <xemul at openvz.org>
Date: Fri Jul 25 01:48:47 2008 -0700
bsdacct: switch from global bsd_acct_struct instance to per-pidns one
Allocate the structure on the first call to sys_acct(). After this each
namespace, that ordered the accounting, will live with this structure till
its own death.
Two notes
- routines, that close the accounting on fs umount time use
the init_pid_ns's acct by now;
- accounting routine accounts to dying task's namespace
(also by now).
Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: "Eric W. Biederman" <ebiederm at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 6248b1b342005a428b1247b4e89249da1528d88d
Author: Pavel Emelyanov <xemul at openvz.org>
Date: Fri Jul 25 01:48:46 2008 -0700
bsdacct: make internal code work with passed bsd_acct_struct, not global
This adds the appropriate pointer to all the internal (i.e. static)
functions that work with global acct instance. API calls pass a global
instance to them (while we still have such).
Mostly this is a s/acct_globals./acct->/ over the file.
Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: "Eric W. Biederman" <ebiederm at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a75d97976517dcda69150fd81d6be86ae63324a1
Author: Pavel Emelyanov <xemul at openvz.org>
Date: Fri Jul 25 01:48:45 2008 -0700
bsdacct: turn the acct_lock from on-the-struct to global
Don't use per-bsd-acct-struct lock, but work with a global one.
This lock is taken for short periods, so it doesn't seem it'll become a
bottleneck, but it will allow us to easily avoid many locking difficulties
in the future.
So this is a mostly s/acct_globals.lock/acct_lock/ over the file.
Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: "Eric W. Biederman" <ebiederm at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit e59a04a7aa5ce2483470aee4f2eb79ba6b9afe8b
Author: Pavel Emelyanov <xemul at openvz.org>
Date: Fri Jul 25 01:48:44 2008 -0700
bsdacct: make check timer accept a bsd_acct_struct argument
We're going to have many bsd_acct_struct instances, not just one, so the
timer (currently working with a global one) has to know which one to work
with.
Use a handy setup_timer macro for it (thanks to Oleg for one).
Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: "Eric W. Biederman" <ebiederm at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 1c552858ac2b1732a99d234d46b98098baef41ff
Author: Pavel Emelyanov <xemul at openvz.org>
Date: Fri Jul 25 01:48:44 2008 -0700
bsdacct: "truthify" a comment near acct_process
The acct_process does not accept any arguments actually.
Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: "Eric W. Biederman" <ebiederm at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 20fad13ac66ac001c19220d3d08b4de5b6cca6e1
Author: Pavel Emelyanov <xemul at openvz.org>
Date: Fri Jul 25 01:48:43 2008 -0700
pidns: add the struct bsd_acct_struct pointer on pid_namespace struct
All the bsdacct-related info will be stored in the area, pointer by this
one.
It will be NULL automatically for all new namespaces.
Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: "Eric W. Biederman" <ebiederm at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 84406c153a5bfa5d8b428a0933e9d39db6b59a75
Author: Pavel Emelyanov <xemul at openvz.org>
Date: Fri Jul 25 01:48:42 2008 -0700
pidns: use kzalloc when allocating new pid_namespace struct
It makes many fields initialization implicit helping in auto-setting
#ifdef-ed fields (bsd-acct related pointer will be such).
Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: "Eric W. Biederman" <ebiederm at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 081e4c8a75692c21f3a119a81ca3270081879d0e
Author: Pavel Emelyanov <xemul at openvz.org>
Date: Fri Jul 25 01:48:42 2008 -0700
bsdacct: rename acct_gbls to bsd_acct_struct
After I fixed access to task->tgid in kernel/acct.c, Oleg pointed out some
bad side effects with this accounting vs pid namespaces interaction. I.e.
when some task in pid namespace sets this accounting up, this blocks all
the others from doing the same. Restricting this to init namespace only
could help, but didn't look a graceful solution.
So here is the approach to make this accounting work with pid namespaces
properly.
The idea is simple - when a task dies it accounts itself in each namespace
it is visible from and which set the accounting up.
For example here are the commands run and the output of lastcomm from init
and sub namespaces:
init_ns# accton pacct
sub_ns# accton pacct (this is a different file - sub ns is run in
a chroot-ed environment)
init_ns# cat /dev/null
sub_ns# ls /dev/null
init_ns# accton
sub_ns# accton
sub_ns# lastcomm -f pacct
ls 0 [136,0] 0.00 secs Thu May 15 10:30
accton 0 [136,0] 0.00 secs Thu May 15 10:30
init_ns# lastcomm -f pacct
accton root pts/0 0.00 secs Thu May 15 14:30 << got from sub
cat root pts/1 0.00 secs Thu May 15 14:30
ls root pts/0 0.00 secs Thu May 15 14:30 << got from sub
accton root pts/1 0.00 secs Thu May 15 14:30
That was the summary, the details are in patches.
This patch:
It will be visible in pid_namespace.h file, so fix its name to look better
outside the acct.c file.
Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: "Eric W. Biederman" <ebiederm at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 49b5cf34727a6c1be1568ab28e89a2d9a6bf51e0
Author: Jonathan Lim <jlim at sgi.com>
Date: Fri Jul 25 01:48:40 2008 -0700
accounting: account for user time when updating memory integrals
Adapt acct_update_integrals() to include user time when calculating the time
difference. The units of acct_rss_mem1 and acct_vm_mem1 are also changed from
pages-jiffies to pages-usecs to avoid calling jiffies_to_usecs() in
xacct_add_tsk() which might overflow.
Signed-off-by: Jonathan Lim <jlim at sgi.com>
Cc: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7394f0f6c0baab650ea9194cb1be847df646fb57
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 01:48:40 2008 -0700
unexport uts_sem
With the removal of the Solaris binary emulation the export of
uts_sem became unused.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Acked-by: David S. Miller <davem at davemloft.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a89cc1959d0ea5f36bf7421dc97b34f03809637d
Author: Harvey Harrison <harvey.harrison at gmail.com>
Date: Fri Jul 25 01:48:39 2008 -0700
markers: fix sparse integer as NULL pointer warning
kernel/trace/trace_sysprof.c:164:20: warning: Using plain integer as NULL pointer
Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers at polymtl.ca>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 28325df0d9339b7f3aba9c45174d4586223ef46b
Author: Mathieu Desnoyers <mathieu.desnoyers at polymtl.ca>
Date: Fri Jul 25 01:48:38 2008 -0700
markers: use rcu_barrier_sched() and call_rcu_sched()
rcu_barrier_sched() and call_rcu_sched() were introduced in 2.6.26 for the
Markers. Change the marker code to use them.
It can be seen as a fix since the marker code was using an ugly,
temporary, #ifdef hack to work around CONFIG_PREEMPT_RCU.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at polymtl.ca>
Acked-by: Paul McKenney <paulmck at us.ibm.com>
Cc: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 24879a8e3e68f146d4d85528cc0b5dea712b77c5
Author: Matthias Kaehlcke <matthias at kaehlcke.net>
Date: Fri Jul 25 01:48:38 2008 -0700
aoe: convert emsgs_sema into a completion
ATA over Ethernet: The semaphore emsgs_sema is used for signalling an
event, convert it in a completion.
Signed-off-by: Matthias Kaehlcke <matthias at kaehlcke.net>
Cc: "Ed L. Cashin" <ecashin at coraid.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit dbda0de52618d13d1b927c7ba7bb839cfddc4e8c
Author: Pavel Emelyanov <xemul at openvz.org>
Date: Fri Jul 25 01:48:37 2008 -0700
pidns: remove find_task_by_pid, unused for a long time
It seems to me that it was a mistake marking this function as deprecated
and scheduling it for removal, rather than resolutely removing it after
the last caller's death.
Anyway - better late, then never.
Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Cc: "Eric W. Biederman" <ebiederm at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit e49859e71e0318b564de1546bdc30fab738f9deb
Author: Pavel Emelyanov <xemul at openvz.org>
Date: Fri Jul 25 01:48:36 2008 -0700
pidns: remove now unused find_pid function.
This one had the only users so far - the kill_proc, which is removed, so
drop this (invalid in namespaced world) call too.
And of course - erase all references on it from comments.
Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Cc: "Eric W. Biederman" <ebiederm at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 19b0cfcca41dd772065671ad0584e1cea0f3fd13
Author: Pavel Emelyanov <xemul at openvz.org>
Date: Fri Jul 25 01:48:35 2008 -0700
pidns: remove now unused kill_proc function
This function operated on a pid_t to kill a task, which is no longer valid
in a containerized system.
It has finally lost all its users and we can safely remove it from the
tree.
Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Cc: "Eric W. Biederman" <ebiederm at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 33166b1ffca5e1945246bcaa77d72a22b0d3e531
Author: Richard Kennedy <richard at rsk.demon.co.uk>
Date: Fri Jul 25 01:48:35 2008 -0700
shrink struct pid by removing padding on 64 bit builds
When struct pid is built on a 64 bit platform gcc has to insert padding to
maintain the correct alignment, by simply reordering its members the
memory usage shrinks from 88 bytes to 80.
I've successfully run with this patch on my desktop AMD64 machine.
There are no significant kernel size changes to a default config.X86_64
on the latest git v2.6.26-rc1
text data bss dec hex filename
5404828 976760 734280 7115868 6c945c vmlinux
5404811 976760 734280 7115851 6c944b vmlinux.pid-patch
Acked-by: "Eric W. Biederman" <ebiederm at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3ae4eed34be0177a8e003411a84e4ee212adbced
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 01:48:34 2008 -0700
proper pid{hash,map}_init() prototypes
This patch adds proper prototypes for pid{hash,map}_init() in
include/linux/pid_namespace.h
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 4ecb90090c84210a8bd2a9d7a5906e616735873c
Author: Stephen Hemminger <shemminger at vyatta.com>
Date: Fri Jul 25 01:48:32 2008 -0700
sysctl: allow override of /proc/sys/net with CAP_NET_ADMIN
Extend the permission check for networking sysctl's to allow modification
when current process has CAP_NET_ADMIN capability and is not root. This
version uses the until now unused permissions hook to override the mode
value for /proc/sys/net if accessed by a user with capabilities.
Found while working with Quagga. It is impossible to turn forwarding
on/off through the command interface because Quagga uses secure coding
practice of dropping privledges during initialization and only raising via
capabilities when necessary. Since the dameon has reset real/effective
uid after initialization, all attempts to access /proc/sys/net variables
will fail.
Signed-off-by: Stephen Hemminger <shemminger at vyatta.com>
Acked-by: "Eric W. Biederman" <ebiederm at xmission.com>
Cc: Chris Wright <chrisw at sous-sol.org>
Cc: Alexey Dobriyan <adobriyan at gmail.com>
Cc: Andrew Morgan <morgan at kernel.org>
Cc: Pavel Emelyanov <xemul at openvz.org>
Cc: "David S. Miller" <davem at davemloft.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 99541c23cd32bacf1a591ca537a7c0cb9053ad7e
Author: Alexey Dobriyan <adobriyan at parallels.com>
Date: Fri Jul 25 01:48:31 2008 -0700
sysctl: check for bogus modes
Catch, e. g., 644/0644 typo.
Signed-off-by: Alexey Dobriyan <adobriyan at parallels.com>
Acked-by: "Eric W. Biederman" <ebiederm at xmission.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 339caf2a224fc9af0f01686bf287dda32c6efca6
Author: David Sterba <dsterba at suse.cz>
Date: Fri Jul 25 01:48:31 2008 -0700
proc: misplaced export of find_get_pid
Move EXPORT_SYMBOL right after the func
Signed-off-by: David Sterba <dsterba at suse.cz>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 6eedf8d30d2b48e86fbcee1a32fb2fa5f42219ee
Author: Alexey Dobriyan <adobriyan at gmail.com>
Date: Fri Jul 25 01:48:30 2008 -0700
proc: move Kconfig to fs/proc/Kconfig
Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a9bd4a3e070ba7494f154e1a11687a8a957d88dc
Author: Alexey Dobriyan <adobriyan at gmail.com>
Date: Fri Jul 25 01:48:30 2008 -0700
proc: remove pathetic remount code
MS_RMT_MASK will unmask changes in do_remount_sb() anyway.
Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 881adb85358309ea9c6f707394002719982ec607
Author: Alexey Dobriyan <adobriyan at gmail.com>
Date: Fri Jul 25 01:48:29 2008 -0700
proc: always do ->release
Current two-stage scheme of removing PDE emphasizes one bug in proc:
open
rmmod
remove_proc_entry
close
->release won't be called because ->proc_fops were cleared. In simple
cases it's small memory leak.
For every ->open, ->release has to be done. List of openers is introduced
which is traversed at remove_proc_entry() if neeeded.
Discussions with Al long ago (sigh).
Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
Cc: Al Viro <viro at zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 6e644c3126149b65460610fe5a00d8a162092abe
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 01:48:28 2008 -0700
move proc_kmsg_operations to fs/proc/internal.h
This patch moves the extern of struct proc_kmsg_operations to
fs/proc/internal.h and adds an #include "internal.h" to fs/proc/kmsg.c
so that the latter sees the former.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Cc: Alexey Dobriyan <adobriyan at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit cd9a6f1078ed07fe919667b73e829f3bac485573
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 01:48:28 2008 -0700
unexport proc_clear_tty
With the removal of the Solaris binary emulation the export of
proc_clear_tty became unused.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Acked-by: David S. Miller <davem at davemloft.net>
Acked-by: Alan Cox <alan at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 25377479de7539fdc871a0f0ecaa39da42353bbc
Author: Akinobu Mita <akinobu.mita at gmail.com>
Date: Fri Jul 25 01:48:27 2008 -0700
dell_rbu: use memory_read_from_buffer()
Signed-off-by: Akinobu Mita <akinobu.mita at gmail.com>
Cc: Abhay Salunke <Abhay_Salunke at dell.com>
Cc: Zhang Rui <rui.zhang at intel.com>
Cc: Matt Domsch <Matt_Domsch at dell.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit d991696263a704be7f41ac186f1a0ed17963c260
Author: Thomas Gleixner <tglx at linutronix.de>
Date: Fri Jul 25 01:48:26 2008 -0700
fs/partitions/efi: convert to pr_debug
convert the local Dprintk() compile time debug printk wrappers to the
generic pr_debug() wrapper.
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
Cc: Matt Domsch <Matt_Domsch at dell.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 04ebd4aee52b06a2c38127d9208546e5b96f3a19
Author: Abdel Benamrouche <draconux at gmail.com>
Date: Fri Jul 25 01:48:26 2008 -0700
block/ioctl.c and fs/partition/check.c: check value returned by add_partition()
Now that add_partition() has been aught to propagate errors, let's check them.
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Abdel Benamrouche <draconux at gmail.com>
Cc: Jens Axboe <jens.axboe at oracle.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit d805dda412346225a50af2d399d958a4bc676c38
Author: Abdel Benamrouche <draconux at gmail.com>
Date: Fri Jul 25 01:48:25 2008 -0700
fs/partition/check.c: fix return value warning
fs/partitions/check.c:381: warning: ignoring return value of ___device_add___,
declared with attribute warn_unused_result
[akpm at linux-foundation.org: multiple-return-statements-per-function are evil]
Signed-off-by: Abdel Benamrouche <draconux at gmail.com>
Cc: Jens Axboe <jens.axboe at oracle.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit abe19b7b822a8fdbe3dbfd6e066d0698b4eefb06
Author: Akinobu Mita <akinobu.mita at gmail.com>
Date: Fri Jul 25 01:48:24 2008 -0700
dcdbas: use memory_read_from_buffer()
Signed-off-by: Akinobu Mita <akinobu.mita at gmail.com>
Cc: Doug Warzecha <Douglas_Warzecha at dell.com>
Cc: Zhang Rui <rui.zhang at intel.com>
Cc: Matt Domsch <Matt_Domsch at dell.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f37e66173e0cc09b4e5a89eb0294abbefc15f435
Author: Akinobu Mita <akinobu.mita at gmail.com>
Date: Fri Jul 25 01:48:23 2008 -0700
firmware: use memory_read_from_buffer()
Signed-off-by: Akinobu Mita <akinobu.mita at gmail.com>
Cc: Greg Kroah-Hartman <gregkh at suse.de>
Cc: Markus Rechberger <markus.rechberger at amd.com>
Cc: Kay Sievers <kay.sievers at vrfy.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit ec905a18656daa4d9300bad2bebc02d5dba7883d
Author: Jiri Slaby <jirislaby at gmail.com>
Date: Fri Jul 25 01:48:23 2008 -0700
drivers/misc/phantom: note PCI
Tell users that the driver is only for PCI devices to stop asking for
support of firewire and parallel devices.
Signed-off-by: Jiri Slaby <jirislaby at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit ace7dd96695769f9d76980c7e52139e73228221c
Author: Jiri Slaby <jirislaby at gmail.com>
Date: Fri Jul 25 01:48:22 2008 -0700
Char: mxser, various cleanups
- remove unused macro
- some whitespace cleanup
- useless debug prints removal
Signed-off-by: Jiri Slaby <jirislaby at gmail.com>
Acked-by: Alan Cox <alan at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 1df0092477b8b2df605812e298624f5c35bb4805
Author: Jiri Slaby <jirislaby at gmail.com>
Date: Fri Jul 25 01:48:22 2008 -0700
Char: mxser, remove predefined isa support
Remove a support of ISA addresses predefined at compile time. It is
unused (filled by zeroes) and prolongs the code. Don't initialize global
array and add `ioaddr' module param description.
Signed-off-by: Jiri Slaby <jirislaby at gmail.com>
Acked-by: Alan Cox <alan at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 83766bc63f7e49b0215811026e7802bd09a9c7e1
Author: Jiri Slaby <jirislaby at gmail.com>
Date: Fri Jul 25 01:48:21 2008 -0700
Char: mxser, prints cleanup
- use dev_* for printing in pci probe function
- move ISA p[rints directly into isa find function, do not postpone it.
Remove macros bound to it then.
- prepend some prints by "mxser: " to know what it belongs to
Signed-off-by: Jiri Slaby <jirislaby at gmail.com>
Acked-by: Alan Cox <alan at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 729f0edbecd0c59c82ee9bf92009acc7e984c425
Author: Jiri Slaby <jirislaby at gmail.com>
Date: Fri Jul 25 01:48:20 2008 -0700
Char: mxser, update documentation
Update Documentation/moxa-smartio to the later document from the mxser
package.
Signed-off-by: Jiri Slaby <jirislaby at gmail.com>
Acked-by: Alan Cox <alan at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 72800df9ba3199df02a95b3830c49fbf16ec4a6d
Author: Jiri Slaby <jirislaby at gmail.com>
Date: Fri Jul 25 01:48:20 2008 -0700
Char: mxser, globals cleanup
- remove unused mxvar_diagflag
- move mxser_msr into the only user/function
- GMStatus, hmm, fix race-prone access to it. We need only one instance for
real, not MXSER_PORTS. Move it to MOXA_GETMSTATUS ioctl.
- mxser_mon_ext, almost the same, but alloc it on heap, since it has more than
2 kilos.
- fix indexing, `i' is not the index value, `i * MXSER_PORTS_PER_BOARD + j' is
Signed-off-by: Jiri Slaby <jirislaby at gmail.com>
Acked-by: Alan Cox <alan at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 41aee9a121fd0c31ae22dfe57e8f9ee9d6d85c25
Author: Jiri Slaby <jirislaby at gmail.com>
Date: Fri Jul 25 01:48:19 2008 -0700
Char: mxser, ioctl cleanup
- remove break ctl from ioctl handler, it's never reached, since
tty_ops->break_ctl is defined (mxser break handling is done in software)
- mark MOXA_GET_MAJOR as deprecated
- fix TIOCGICOUNT (some retval non-checks of put_user). Use copy_to_user
to whole structure instead.
Signed-off-by: Jiri Slaby <jirislaby at gmail.com>
Acked-by: Alan Cox <alan at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 6ee8928d94841aa764aeaf645ad16daff811dc26
Author: Akinobu Mita <akinobu.mita at gmail.com>
Date: Fri Jul 25 01:48:18 2008 -0700
nwflash: use simple_read_from_buffer()
Signed-off-by: Akinobu Mita <akinobu.mita at gmail.com>
Cc: Russell King <linux at arm.linux.org.uk>
Cc: Tim Schmielau <tim at physik3.uni-rostock.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 236b8756a2b6f90498d45b2c36d43e5372f2d4b8
Author: Alan Cox <alan at lxorguk.ukuu.org.uk>
Date: Fri Jul 25 01:48:17 2008 -0700
dsp56k: BKL pushdown
Push the BKL down into the driver ioctl methods
Signed-off-by: Alan Cox <alan at redhat.com>
Cc: Jiri Slaby <jirislaby at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b8e35919653d76e7dceb8d3b8569c4ec1004d546
Author: Alan Cox <alan at lxorguk.ukuu.org.uk>
Date: Fri Jul 25 01:48:17 2008 -0700
ds1302: push down the BKL into the driver ioctl code
Signed-off-by: Alan Cox <alan at redhat.com>
Cc: Jiri Kosina <jkosina at suse.cz>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 6d535d3e6ad395345750c361bd2b7f1b9429455d
Author: Alan Cox <alan at lxorguk.ukuu.org.uk>
Date: Fri Jul 25 01:48:16 2008 -0700
ppdev: wrap ioctl handler in driver and push lock down
Signed-off-by: Alan Cox <alan at redhat.com>
Cc: Jiri Slaby <jirislaby at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit e05e9f7c4aeb82eaa23e46b29580ff514590c641
Author: Alan Cox <alan at lxorguk.ukuu.org.uk>
Date: Fri Jul 25 01:48:16 2008 -0700
ixj: push BKL into driver and wrap ioctls
Signed-off-by: Alan Cox <alan at redhat.com>
Cc: Nishanth Aravamudan <nacc at us.ibm.com>
Cc: Domen Puncer <domen at coderock.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 11af7478addd34c42999b3b84095903ed9e67038
Author: Alan Cox <alan at lxorguk.ukuu.org.uk>
Date: Fri Jul 25 01:48:15 2008 -0700
sx: push BKL down into the firmware ioctl handler
Also fix the capability checking for firmware load.
Signed-off-by: Alan Cox <alan at redhat.com>
Cc: Jiri Slaby <jirislaby at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f6759fdcfd79ff1827fd5d4ddfe876164466d30d
Author: Alan Cox <alan at lxorguk.ukuu.org.uk>
Date: Fri Jul 25 01:48:14 2008 -0700
rio: push down the BKL into the firmware ioctl handler
TTY side is already done.
Signed-off-by: Alan Cox <alan at redhat.com>
Cc: Jiri Slaby <jirislaby at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 909d145f0decbc4f17955e1fc4122a669a51fbc0
Author: Alan Cox <alan at lxorguk.ukuu.org.uk>
Date: Fri Jul 25 01:48:14 2008 -0700
mwave: ioctl BKL pushdown
Push the BKL down to the point it wraps the actual mwave method handlers
Signed-off-by: Alan Cox <alan at redhat.com>
Cc: Eric Sesterhenn <snakebyte at gmx.de>
Cc: Yani Ioannou <yani.ioannou at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 47be36a24defbd19aea1354c416ec99f291c7ab8
Author: Alan Cox <alan at lxorguk.ukuu.org.uk>
Date: Fri Jul 25 01:48:13 2008 -0700
ip2: push BKL down for the firmware interface
(The tty side is already done)
Signed-off-by: Alan Cox <alan at redhat.com>
Cc: Jiri Slaby <jirislaby at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 76528a42e2c5199a1208909318a9c9948d25d0b7
Author: Alan Cox <alan at lxorguk.ukuu.org.uk>
Date: Fri Jul 25 01:48:12 2008 -0700
efirtc: push down the BKL
Push it down as far as the EFI method calls. Someone who knows EFI can do
the other bits. Also fix another wrong unknown ioctl return.
Signed-off-by: Alan Cox <alan at redhat.com>
Cc: Joe Perches <joe at perches.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 372572e9b1dcc5e36091199be63766d13e5a8ae0
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 01:48:11 2008 -0700
#if 0 hpet_unregister()
This patch #if 0's the unused hpet_unregister().
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Acked-by: Clemens Ladisch <clemens at ladisch.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 8d1e120f695e9bcf01585e052577dc1e099033f9
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 01:48:11 2008 -0700
proper extern for mwave_s_mdd
This patch adds a proper extern for mwave_s_mdd in
drivers/char/mwave/mwavedd.h
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 79885b227740b9c7d3057f2de556f4098d37cc8f
Author: Edgar E. Iglesias <edgar.iglesias at axis.com>
Date: Fri Jul 25 01:48:10 2008 -0700
elf: use ELF_CORE_EFLAGS for kcore ELF header flags
ELF_CORE_EFLAGS is already used by the binfmt_elf coredumper to set correct
arch specific ELF header flags on coredumps. Use it for kcore dumps as well.
At the moment, this affects the CRIS and the H8300 arch.
Signed-off-by: Edgar E. Iglesias <edgar at axis.com>
Cc: Mikael Starvik <starvik at axis.com>
Cc: Yoshinori Sato <ysato at users.sourceforge.jp>
Cc: Ralf Baechle <ralf at linux-mips.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7833351b5260b3a58b54a0c2e7065001d986d749
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 01:48:09 2008 -0700
pty: remove unused UNIX98_PTY_COUNT options
The h8300 and sparc options somehow survived when the code stopped using
CONFIG_UNIX98_PTY_COUNT.
Reviewed-by: Robert P. J. Day <rpjday at crashcourse.ca>
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Cc: Yoshinori Sato <ysato at users.sourceforge.jp>
Cc: "David S. Miller" <davem at davemloft.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 9eefe520c814f6f62c5d36a2ddcd3fb99dfdb30e
Author: Nadia Derbey <Nadia.Derbey at bull.net>
Date: Fri Jul 25 01:48:08 2008 -0700
ipc: do not use a negative value to re-enable msgmni automatic recomputing
This patch proposes an alternative to the "magical
positive-versus-negative number trick" Andrew complained about last week
in http://lkml.org/lkml/2008/6/24/418.
This had been introduced with the patches that scale msgmni to the amount
of lowmem. With these patches, msgmni has a registered notification
routine that recomputes msgmni value upon memory add/remove or ipc
namespace creation/ removal.
When msgmni is changed from user space (i.e. value written to the proc
file), that notification routine is unregistered, and the way to make it
registered back is to write a negative value into the proc file. This is
the "magical positive-versus-negative number trick".
To fix this, a new proc file is introduced: /proc/sys/kernel/auto_msgmni.
This file acts as ON/OFF for msgmni automatic recomputing.
With this patch, the process is the following:
1) kernel boots in "automatic recomputing mode"
/proc/sys/kernel/msgmni contains the value that has been computed (depends
on lowmem)
/proc/sys/kernel/automatic_msgmni contains "1"
2) echo <val> > /proc/sys/kernel/msgmni
. sets msg_ctlmni to <val>
. de-activates automatic recomputing (i.e. if, say, some memory is added
msgmni won't be recomputed anymore)
. /proc/sys/kernel/automatic_msgmni now contains "0"
3) echo "0" > /proc/sys/kernel/automatic_msgmni
. de-activates msgmni automatic recomputing
this has the same effect as 2) except that msg_ctlmni's value stays
blocked at its current value)
3) echo "1" > /proc/sys/kernel/automatic_msgmni
. recomputes msgmni's value based on the current available memory size
and number of ipc namespaces
. re-activates automatic recomputing for msgmni.
Signed-off-by: Nadia Derbey <Nadia.Derbey at bull.net>
Cc: Solofo Ramangalahy <Solofo.Ramangalahy at bull.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f1a43f93f0f3bab418800eaccb9e2e3b5427e173
Author: Akinobu Mita <akinobu.mita at gmail.com>
Date: Fri Jul 25 01:48:07 2008 -0700
ipc: use simple_read_from_buffer()
Also this patch kills unneccesary trailing NULL character.
Signed-off-by: Akinobu Mita <akinobu.mita at gmail.com>
Cc: Nadia Derbey <Nadia.Derbey at bull.net>
Cc: Manfred Spraul <manfred at colorfullife.com>
Cc: Pierre Peiffer <peifferp at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 380af1b33b3ff92df5cda96329b58f5d1b6b5a53
Author: Manfred Spraul <manfred at colorfullife.com>
Date: Fri Jul 25 01:48:06 2008 -0700
ipc/sem.c: rewrite undo list locking
The attached patch:
- reverses the locking order of ulp->lock and sem_lock:
Previously, it was first ulp->lock, then inside sem_lock.
Now it's the other way around.
- converts the undo structure to rcu.
Benefits:
- With the old locking order, IPC_RMID could not kfree the undo structures.
The stale entries remained in the linked lists and were released later.
- The patch fixes a a race in semtimedop(): if both IPC_RMID and a semget() that
recreates exactly the same id happen between find_alloc_undo() and sem_lock,
then semtimedop() would access already kfree'd memory.
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Manfred Spraul <manfred at colorfullife.com>
Reviewed-by: Nadia Derbey <Nadia.Derbey at bull.net>
Cc: Pierre Peiffer <peifferp at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a1193f8ec091cd8fd309cc2982abe4499f6f2b4d
Author: Manfred Spraul <manfred at colorfullife.com>
Date: Fri Jul 25 01:48:06 2008 -0700
ipc/sem.c: convert sem_array.sem_pending to struct list_head
sem_array.sem_pending is a double linked list, the attached patch converts
it to struct list_head.
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Manfred Spraul <manfred at colorfullife.com>
Reviewed-by: Nadia Derbey <Nadia.Derbey at bull.net>
Cc: Pierre Peiffer <peifferp at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 2c0c29d414087f3b021059673c20a7088f5f1fff
Author: Manfred Spraul <manfred at colorfullife.com>
Date: Fri Jul 25 01:48:05 2008 -0700
ipc/sem.c: remove unused entries from struct sem_queue
sem_queue.sma and sem_queue.id were never used, the attached patch removes
them.
Signed-off-by: Manfred Spraul <manfred at colorfullife.com>
Reviewed-by: Nadia Derbey <Nadia.Derbey at bull.net>
Cc: Pierre Peiffer <peifferp at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 4daa28f6d8f5cda8ea0f55048e3c8811c384cbdd
Author: Manfred Spraul <manfred at colorfullife.com>
Date: Fri Jul 25 01:48:04 2008 -0700
ipc/sem.c: convert undo structures to struct list_head
The undo structures contain two linked lists, the attached patch replaces
them with generic struct list_head lists.
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Manfred Spraul <manfred at colorfullife.com>
Cc: Nadia Derbey <Nadia.Derbey at bull.net>
Cc: Pierre Peiffer <peifferp at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 00c2bf85d8febfcfddde63822043462b026134ff
Author: Nadia Derbey <Nadia.Derbey at bull.net>
Date: Fri Jul 25 01:48:03 2008 -0700
ipc: get rid of ipc_lock_down()
Remove the ipc_lock_down() routines: they used to call idr_find() locklessly
(given that the ipc ids lock was already held), so they are not needed
anymore.
Signed-off-by: Nadia Derbey <Nadia.Derbey at bull.net>
Acked-by: "Paul E. McKenney" <paulmck at us.ibm.com>
Cc: Manfred Spraul <manfred at colorfullife.com>
Cc: Jim Houston <jim.houston at comcast.net>
Cc: Pierre Peiffer <peifferp at gmail.com>
Acked-by: Rik van Riel <riel at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 983bfb7db303cfde56ae5bbf4e0f2f46e38c9576
Author: Nadia Derbey <Nadia.Derbey at bull.net>
Date: Fri Jul 25 01:48:03 2008 -0700
ipc: call idr_find() without locking in ipc_lock()
Call idr_find() locklessly from ipc_lock(), since the idr tree is now RCU
protected.
Signed-off-by: Nadia Derbey <Nadia.Derbey at bull.net>
Acked-by: "Paul E. McKenney" <paulmck at us.ibm.com>
Cc: Manfred Spraul <manfred at colorfullife.com>
Cc: Jim Houston <jim.houston at comcast.net>
Cc: Pierre Peiffer <peifferp at gmail.com>
Acked-by: Rik van Riel <riel at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit cf481c20c476ad2c0febdace9ce23f5a4db19582
Author: Nadia Derbey <Nadia.Derbey at bull.net>
Date: Fri Jul 25 01:48:02 2008 -0700
idr: make idr_remove rcu-safe
Introduce the free_layer() routine: it is the one that actually frees memory
after a grace period has elapsed.
Signed-off-by: Nadia Derbey <Nadia.Derbey at bull.net>
Reviewed-by: "Paul E. McKenney" <paulmck at us.ibm.com>
Cc: Manfred Spraul <manfred at colorfullife.com>
Cc: Jim Houston <jim.houston at comcast.net>
Cc: Pierre Peiffer <peifferp at gmail.com>
Acked-by: Rik van Riel <riel at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f9c46d6ea5ce138a886c3a0f10a46130afab75f5
Author: Nadia Derbey <Nadia.Derbey at bull.net>
Date: Fri Jul 25 01:48:01 2008 -0700
idr: make idr_find rcu-safe
Make idr_find rcu-safe: it can now be called inside an rcu_read critical
section.
Signed-off-by: Nadia Derbey <Nadia.Derbey at bull.net>
Reviewed-by: "Paul E. McKenney" <paulmck at us.ibm.com>
Cc: Manfred Spraul <manfred at colorfullife.com>
Cc: Jim Houston <jim.houston at comcast.net>
Cc: Pierre Peiffer <peifferp at gmail.com>
Acked-by: Rik van Riel <riel at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3219b3b7456d5cf15ba7b1fe7b1bcf15ce8840e2
Author: Nadia Derbey <Nadia.Derbey at bull.net>
Date: Fri Jul 25 01:48:00 2008 -0700
idr: make idr_get_new* rcu-safe
Make the idr_get_new* routines rcu-safe.
Signed-off-by: Nadia Derbey <Nadia.Derbey at bull.net>
Reviewed-by: "Paul E. McKenney" <paulmck at us.ibm.com>
Cc: Manfred Spraul <manfred at colorfullife.com>
Cc: Jim Houston <jim.houston at comcast.net>
Cc: Pierre Peiffer <peifferp at gmail.com>
Acked-by: Rik van Riel <riel at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 944ca05c7b4972f2ebf37262e0f4933d178ad6db
Author: Nadia Derbey <Nadia.Derbey at bull.net>
Date: Fri Jul 25 01:47:59 2008 -0700
idr: error checking factorization
Do some code factorization in the return code analysis.
Signed-off-by: Nadia Derbey <Nadia.Derbey at bull.net>
Cc: "Paul E. McKenney" <paulmck at us.ibm.com>
Cc: Manfred Spraul <manfred at colorfullife.com>
Cc: Jim Houston <jim.houston at comcast.net>
Cc: Pierre Peiffer <peifferp at gmail.com>
Acked-by: Rik van Riel <riel at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f098ad655f4dd8e3da98ffbeda9cedcc4459c01a
Author: Nadia Derbey <Nadia.Derbey at bull.net>
Date: Fri Jul 25 01:47:59 2008 -0700
idr: fix a printk call
Fix the incomplete printk call.
Signed-off-by: Nadia Derbey <Nadia.Derbey at bull.net>
Reviewed-by: "Paul E. McKenney" <paulmck at us.ibm.com>
Cc: Manfred Spraul <manfred at colorfullife.com>
Cc: Jim Houston <jim.houston at comcast.net>
Cc: Pierre Peiffer <peifferp at gmail.com>
Acked-by: Rik van Riel <riel at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 4ae537892ab9858f71c78701f4651ad1ca531a1b
Author: Nadia Derbey <Nadia.Derbey at bull.net>
Date: Fri Jul 25 01:47:58 2008 -0700
idr: rename some of the idr APIs internal routines
This is a trivial patch that renames:
. alloc_layer to get_from_free_list since it idr_pre_get that actually
allocates memory.
. free_layer to move_to_free_list since memory is not actually freed there.
This makes things more clear for the next patches.
Signed-off-by: Nadia Derbey <Nadia.Derbey at bull.net>
Reviewed-by: "Paul E. McKenney" <paulmck at us.ibm.com>
Cc: Manfred Spraul <manfred at colorfullife.com>
Cc: Jim Houston <jim.houston at comcast.net>
Cc: Pierre Peiffer <peifferp at gmail.com>
Acked-by: Rik van Riel <riel at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 2027d1abc25ff770cc3bc936abd33570ce85d85a
Author: Nadia Derbey <Nadia.Derbey at bull.net>
Date: Fri Jul 25 01:47:57 2008 -0700
idr: change the idr structure
After scalability problems have been detected when using the sysV ipcs, I have
proposed to use an RCU based implementation of the IDR api instead (see
threads http://lkml.org/lkml/2008/4/11/212 and
http://lkml.org/lkml/2008/4/29/295).
This resulted in many people asking to convert the idr API and make it rcu
safe (because most of the code was duplicated and thus unmaintanable and
unreviewable).
So here is a first attempt.
The important change wrt to the idr API itself is during idr removes: idr
layers are freed after a grace period, instead of being moved to the free
list.
The important change wrt to ipcs, is that idr_find() can now be called
locklessly inside a rcu read critical section.
Here are the results I've got for the pmsg test sent by Manfred:
2.6.25-rc3-mm1 2.6.25-rc3-mm1+ 2.6.25-mm1 Patched 2.6.25-mm1
1 1168441 1064021 876000 947488
2 1094264 921059 1549592 1730685
3 2082520 1738165 1694370 2324880
4 2079929 1695521 404553 2400408
5 2898758 406566 391283 3246580
6 2921417 261275 263249 3752148
7 3308761 126056 191742 4243142
8 3329456 100129 141722 4275780
1st column: stock 2.6.25-rc3-mm1
2nd column: 2.6.25-rc3-mm1 + ipc patches (store ipcs into idrs)
3nd column: stock 2.6.25-mm1
4th column: 2.6.25-mm1 + this pacth series.
This patch:
Add an rcu_head to the idr_layer structure in order to free it after a grace
period.
Signed-off-by: Nadia Derbey <Nadia.Derbey at bull.net>
Reviewed-by: "Paul E. McKenney" <paulmck at us.ibm.com>
Cc: Manfred Spraul <manfred at colorfullife.com>
Cc: Jim Houston <jim.houston at comcast.net>
Cc: Pierre Peiffer <peifferp at gmail.com>
Acked-by: Rik van Riel <riel at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 95b68dec0d52c7b8fea3698b3938cf3ab936436b
Author: Chandru <chandru at in.ibm.com>
Date: Fri Jul 25 01:47:55 2008 -0700
calgary iommu: use the first kernels TCE tables in kdump
kdump kernel fails to boot with calgary iommu and aacraid driver on a x366
box. The ongoing dma's of aacraid from the first kernel continue to exist
until the driver is loaded in the kdump kernel. Calgary is initialized
prior to aacraid and creation of new tce tables causes wrong dma's to
occur. Here we try to get the tce tables of the first kernel in kdump
kernel and use them. While in the kdump kernel we do not allocate new tce
tables but instead read the base address register contents of calgary
iommu and use the tables that the registers point to. With these changes
the kdump kernel and hence aacraid now boots normally.
Signed-off-by: Chandru Siddalingappa <chandru at in.ibm.com>
Acked-by: Muli Ben-Yehuda <muli at il.ibm.com>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Thomas Gleixner <tglx at linutronix.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 8448502cfc915f70e3f8923849ade27d472044cb
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:54 2008 -0700
workqueues: do CPU_UP_CANCELED if CPU_UP_PREPARE fails
The bug was pointed out by Akinobu Mita <akinobu.mita at gmail.com>, and this
patch is based on his original patch.
workqueue_cpu_callback(CPU_UP_PREPARE) expects that if it returns
NOTIFY_BAD, _cpu_up() will send CPU_UP_CANCELED then.
However, this is not true since
"cpu hotplug: cpu: deliver CPU_UP_CANCELED only to NOTIFY_OKed callbacks with CPU_UP_PREPARE"
commit: a0d8cdb652d35af9319a9e0fb7134de2a276c636
The callback which has returned NOTIFY_BAD will not receive
CPU_UP_CANCELED. Change the code to fulfil the CPU_UP_CANCELED logic if
CPU_UP_PREPARE fails.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Reported-by: Akinobu Mita <akinobu.mita at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 8de6d308bab4f67fcf953562f9f08f9527cad72d
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:53 2008 -0700
workqueues: schedule_on_each_cpu() can use schedule_work_on()
schedule_on_each_cpu() can use schedule_work_on() to avoid the code
duplication.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit ef1ca236b8d645349ed6569598ae3f6c1b9511c0
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:53 2008 -0700
workqueues: queue_work() can use queue_work_on()
queue_work() can use queue_work_on() to avoid the code duplication.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a67da70dc0955580665f5444f318b92e69a3c272
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:52 2008 -0700
workqueues: lockdep annotations for flush_work()
Add lockdep annotations to flush_work() and update the comment.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Cc: Jarek Poplawski <jarkao2 at o2.pl>
Acked-by: Johannes Berg <johannes at sipsolutions.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 69b895fd13d73aebf62b75502eb6513d43057ba3
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:51 2008 -0700
S390 topology: don't use kthread() for arch_reinit_sched_domains()
Now that it is safe to use get_online_cpus() we can revert
[S390] cpu topology: Fix possible deadlock.
commit: fd781fa25c9e9c6fd1599df060b05e7c4ad724e5
and call arch_reinit_sched_domains() directly from topology_work_fn().
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Cc: Gautham R Shenoy <ego at in.ibm.com>
Tested-by: Heiko Carstens <heiko.carstens at de.ibm.com>
Cc: Max Krasnyansky <maxk at qualcomm.com>
Cc: Paul Jackson <pj at sgi.com>
Cc: Paul Menage <menage at google.com>
Cc: Peter Zijlstra <peterz at infradead.org>
Cc: Vegard Nossum <vegard.nossum at gmail.com>
Cc: Martin Schwidefsky <schwidefsky at de.ibm.com>
Cc: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3da1c84c00c7e5fa8348336bd8c342f9128b0f14
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:50 2008 -0700
workqueues: make get_online_cpus() useable for work->func()
workqueue_cpu_callback(CPU_DEAD) flushes cwq->thread under
cpu_maps_update_begin(). This means that the multithreaded workqueues
can't use get_online_cpus() due to the possible deadlock, very bad and
very old problem.
Introduce the new state, CPU_POST_DEAD, which is called after
cpu_hotplug_done() but before cpu_maps_update_done().
Change workqueue_cpu_callback() to use CPU_POST_DEAD instead of CPU_DEAD.
This means that create/destroy functions can't rely on get_online_cpus()
any longer and should take cpu_add_remove_lock instead.
[akpm at linux-foundation.org: fix CONFIG_SMP=n]
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Acked-by: Gautham R Shenoy <ego at in.ibm.com>
Cc: Heiko Carstens <heiko.carstens at de.ibm.com>
Cc: Max Krasnyansky <maxk at qualcomm.com>
Cc: Paul Jackson <pj at sgi.com>
Cc: Paul Menage <menage at google.com>
Cc: Peter Zijlstra <peterz at infradead.org>
Cc: Vegard Nossum <vegard.nossum at gmail.com>
Cc: Martin Schwidefsky <schwidefsky at de.ibm.com>
Cc: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 8616a89ab761239c963eea3a63be383f127cc7e8
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:49 2008 -0700
workqueues: schedule_on_each_cpu: use flush_work()
Change schedule_on_each_cpu() to use flush_work() instead of
flush_workqueue(), this way we don't wait for other work_struct's which
can be queued meanwhile.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Cc: Jarek Poplawski <jarkao2 at gmail.com>
Cc: Max Krasnyansky <maxk at qualcomm.com>
Cc: Peter Zijlstra <peterz at infradead.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit db700897224b5ebdf852f2d38920ce428940d059
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:49 2008 -0700
workqueues: implement flush_work()
Most of users of flush_workqueue() can be changed to use cancel_work_sync(),
but sometimes we really need to wait for the completion and cancelling is not
an option. schedule_on_each_cpu() is good example.
Add the new helper, flush_work(work), which waits for the completion of the
specific work_struct. More precisely, it "flushes" the result of of the last
queue_work() which is visible to the caller.
For example, this code
queue_work(wq, work);
/* WINDOW */
queue_work(wq, work);
flush_work(work);
doesn't necessary work "as expected". What can happen in the WINDOW above is
- wq starts the execution of work->func()
- the caller migrates to another CPU
now, after the 2nd queue_work() this work is active on the previous CPU, and
at the same time it is queued on another. In this case flush_work(work) may
return before the first work->func() completes.
It is trivial to add another helper
int flush_work_sync(struct work_struct *work)
{
return flush_work(work) || wait_on_work(work);
}
which works "more correctly", but it has to iterate over all CPUs and thus
it much slower than flush_work().
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Acked-by: Max Krasnyansky <maxk at qualcomm.com>
Acked-by: Jarek Poplawski <jarkao2 at gmail.com>
Cc: Peter Zijlstra <peterz at infradead.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 1a4d9b0aa0d3c50314e57525a5e5ec2cfc48b4c8
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:47 2008 -0700
workqueues: insert_work: use "list_head *" instead of "int tail"
insert_work() inserts the new work_struct before or after cwq->worklist,
depending on the "int tail" parameter. Change it to accept "list_head *"
instead, this shrinks .text a bit and allows us to insert the barrier
after specific work_struct.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Cc: Jarek Poplawski <jarkao2 at gmail.com>
Cc: Max Krasnyansky <maxk at qualcomm.com>
Cc: Peter Zijlstra <peterz at infradead.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 565b9b14e7f48131bca58840aa404bbef058fa89
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:47 2008 -0700
coredump: format_corename: fix the "core_uses_pid" logic
I don't understand why the multi-thread coredump implies the core_uses_pid
behaviour, but we shouldn't use mm->mm_users for that. This counter can
be incremented by get_task_mm(). Use the valued returned by
coredump_wait() instead.
Also, remove the "const char *pattern" argument, format_corename() can use
core_pattern directly.
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Cc: Roland McGrath <roland at redhat.com>
Cc: Alan Cox <alan at lxorguk.ukuu.org.uk>
Cc: Andi Kleen <andi at firstfloor.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a94e2d408eaedbd85aae259621d46fafc10479a2
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:46 2008 -0700
coredump: kill mm->core_done
Now that we have core_state->dumper list we can use it to wake up the
sub-threads waiting for the coredump completion.
This uglifies the code and .text grows by 47 bytes, but otoh mm_struct
lessens by sizeof(struct completion). Also, with this change we can
decouple exit_mm() from the coredumping code.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Cc: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 182c515fd2a942623aed4e4e0e0b37fe96571b05
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:45 2008 -0700
coredump: elf_fdpic_core_dump: use core_state->dumper list
Kill the nasty rcu_read_lock() + do_each_thread() loop, use the list
encoded in mm->core_state instead, s/GFP_ATOMIC/GFP_KERNEL/.
This patch allows futher cleanups in binfmt_elf_fdpic.c.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Acked-by: Roland McGrath <roland at redhat.com>
Cc: David Howells <dhowells at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 83914441f94c6f2cd468ca97365f6c34f418706e
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:45 2008 -0700
coredump: elf_core_dump: use core_state->dumper list
Kill the nasty rcu_read_lock() + do_each_thread() loop, use the list
encoded in mm->core_state instead, s/GFP_ATOMIC/GFP_KERNEL/.
This patch allows futher cleanups in binfmt_elf.c, in particular we can
kill the parallel info->threads list.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Acked-by: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b564daf806d492dd4f7afe9b6c83b8d35d137669
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:44 2008 -0700
coredump: construct the list of coredumping threads at startup time
binfmt->core_dump() has to iterate over the all threads in system in order
to find the coredumping threads and construct the list using the
GFP_ATOMIC allocations.
With this patch each thread allocates the list node on exit_mm()'s stack and
adds itself to the list.
This allows us to do further changes:
- simplify ->core_dump()
- change exit_mm() to clear ->mm first, then wait for ->core_done.
this makes the coredumping process visible to oom_kill
- kill mm->core_done
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Acked-by: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 9d5b327bf198d2720666de958dcc2ae219d86952
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:43 2008 -0700
coredump: make mm->core_state visible to ->core_dump()
Move the "struct core_state core_state" from coredump_wait() to
do_coredump(), this makes mm->core_state visible to binfmt->core_dump().
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Acked-by: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit c5f1cc8c1828486a61ab3e575da6e2c62b34d399
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:42 2008 -0700
coredump: turn core_state->nr_threads into atomic_t
Turn core_state->nr_threads into atomic_t and kill now unneeded
down_write(&mm->mmap_sem) in exit_mm().
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Cc: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 8cd9c249128a59e8e833d454a784b0cbd338d468
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:42 2008 -0700
coredump: simplify core_state->nr_threads calculation
Change zap_process() to return int instead of incrementing
mm->core_state->nr_threads directly. Change zap_threads() to set
mm->core_state only on success.
This patch restores the original size of .text, and more importantly now
->nr_threads is used in two places only.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Cc: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 999d9fc1670bc082928b93b11d1f2e0e417d973c
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:41 2008 -0700
coredump: move mm->core_waiters into struct core_state
Move mm->core_waiters into "struct core_state" allocated on stack. This
shrinks mm_struct a little bit and allows further changes.
This patch mostly does s/core_waiters/core_state. The only essential
change is that coredump_wait() must clear mm->core_state before return.
The coredump_wait()'s path is uglified and .text grows by 30 bytes, this
is fixed by the next patch.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Cc: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 32ecb1f26dd50eeaac4e3f4dea4541c97848e459
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:41 2008 -0700
coredump: turn mm->core_startup_done into the pointer to struct core_state
mm->core_startup_done points to "struct completion startup_done" allocated
on the coredump_wait()'s stack. Introduce the new structure, core_state,
which holds this "struct completion". This way we can add more info
visible to the threads participating in coredump without enlarging
mm_struct.
No changes in affected .o files.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Cc: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 24d5288f06ed8b3a368eba967d587cdb012dfdf7
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:40 2008 -0700
coredump: elf_core_dump: skip kernel threads
linux_binfmt->core_dump() runs before the process does exit_aio(), this
means that we can hit the kernel thread which shares the same ->mm.
Afaics, nothing really bad can happen, but perhaps it makes sense to fix
this minor bug.
It is sad we have to iterate over all threads in system and use
GFP_ATOMIC. Hopefully we can kill theses ugly do_each_thread()s, but this
needs some nontrivial changes in mm_struct and do_coredump.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Cc: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 15b9f360c0316c06d37c09b02d85565edbaf9dd3
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:39 2008 -0700
coredump: zap_threads() must skip kernel threads
The main loop in zap_threads() must skip kthreads which may use the same
mm. Otherwise we "kill" this thread erroneously (for example, it can not
fork or exec after that), and the coredumping task stucks in the
TASK_UNINTERRUPTIBLE state forever because of the wrong ->core_waiters
count.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Cc: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 246bb0b1deb29726990620d8b5e55ca29f331362
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:38 2008 -0700
kill PF_BORROWED_MM in favour of PF_KTHREAD
Kill PF_BORROWED_MM. Change use_mm/unuse_mm to not play with ->flags, and
do s/PF_BORROWED_MM/PF_KTHREAD/ for a couple of other users.
No functional changes yet. But this allows us to do further
fixes/cleanups.
oom_kill/ptrace/etc often check "p->mm != NULL" to filter out the
kthreads, this is wrong because of use_mm(). The problem with
PF_BORROWED_MM is that we need task_lock() to avoid races. With this
patch we can check PF_KTHREAD directly, or use a simple lockless helper:
/* The result must not be dereferenced !!! */
struct mm_struct *__get_task_mm(struct task_struct *tsk)
{
if (tsk->flags & PF_KTHREAD)
return NULL;
return tsk->mm;
}
Note also ecard_task(). It runs with ->mm != NULL, but it's the kernel
thread without PF_BORROWED_MM.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Cc: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7b34e4283c685f5cc6ba6d30e939906eee0d4bcf
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:37 2008 -0700
introduce PF_KTHREAD flag
Introduce the new PF_KTHREAD flag to mark the kernel threads. It is set
by INIT_TASK() and copied to the forked childs (we could set it in
kthreadd() along with PF_NOFREEZE instead).
daemonize() was changed as well. In that case testing of PF_KTHREAD is
racy, but daemonize() is hopeless anyway.
This flag is cleared in do_execve(), before search_binary_handler().
Probably not the best place, we can do this in exec_mmap() or in
start_thread(), or clear it along with PF_FORKNOEXEC. But I think this
doesn't matter in practice, and if do_execve() fails kthread should die
soon.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Cc: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3d749b9e676b26584a47e75c235aa6f69d0697ae
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:37 2008 -0700
ptrace: simplify ptrace_stop()->sigkill_pending() path
1. SIGKILL can't be blocked, remove this check from sigkill_pending().
2. When ptrace_stop() sees sigkill_pending() == T, it can just return.
Kill "int killed" and simplify the code. This also is more correct,
the tracer shouldn't see us in TASK_TRACED if we are not going to
stop.
I strongly believe this code needs further changes. We should do the "was
this task killed" check unconditionally, currently it depends on
arch_ptrace_stop_needed(). On the other hand, sigkill_pending() isn't
very clever. If the task was killed tkill(SIGKILL), the signal can be
already dequeued if the caller is do_exit().
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Cc: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 364d3c13c17f45da6d638011078d4c4d3070d719
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:36 2008 -0700
ptrace: give more respect to SIGKILL
ptrace_stop() has some complicated checks to prevent the scheduling in the
TASK_TRACED state with the pending SIGKILL, but these checks are racy, and
they depend on arch_ptrace_stop_needed().
This patch assumes that the traced task should die asap if it was killed by
SIGKILL, in that case schedule()->signal_pending_state() has no reason to
ignore the TASK_WAKEKILL part of TASK_TRACED, and we can kill this nasty
special case.
Note: do_exit()->ptrace_notify() is special, the killed task can already
dequeue SIGKILL at this point. Another indication that fatal_signal_pending()
is not exactly right.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Matthew Wilcox <matthew at wil.cx>
Cc: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f22ab814a24e654b1de24db0c5f8b57b5ab2026a
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 01:47:34 2008 -0700
include/asm/ptrace.h userspace headers cleanup
This patch contains the following cleanups for the asm/ptrace.h
userspace headers:
- include/asm-generic/Kbuild.asm already lists ptrace.h, remove
the superfluous listings in the Kbuild files of the following
architectures:
- cris
- frv
- powerpc
- x86
- don't expose function prototypes and macros to userspace:
- arm
- blackfin
- cris
- mn10300
- parisc
- remove #ifdef CONFIG_'s around #define's:
- blackfin
- m68knommu
- sh: AFAIK __SH5__ should work in both kernel and userspace,
no need to leak CONFIG_SUPERH64 to userspace
- xtensa: cosmetical change to remove empty
#ifndef __ASSEMBLY__ #else #endif
from the userspace headers
Not changed by this patch is the fact that the following architectures
have a different struct pt_regs depending on CONFIG_ variables:
- h8300
- m68knommu
- mips
This does not work in userspace.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Cc: <linux-arch at vger.kernel.org>
Cc: Roland McGrath <roland at redhat.com>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Acked-by: Greg Ungerer <gerg at uclinux.org>
Acked-by: Paul Mundt <lethal at linux-sh.org>
Acked-by: Grant Grundler <grundler at parisc-linux.org>
Acked-by: Jesper Nilsson <jesper.nilsson at axis.com>
Acked-by: Chris Zankel <chris at zankel.net>
Acked-by: David Howells <dhowells at redhat.com>
Acked-by: Paul Mackerras <paulus at samba.org>
Acked-by: Russell King <rmk+kernel at arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit bc64efd220dcd4449aef8dd2564d73127b583b09
Author: Gustavo Fernando Padovan <gustavo at las.ic.unicamp.br>
Date: Fri Jul 25 01:47:33 2008 -0700
kernel/signal.c: change vars pid and tgid types to pid_t
Change the type of pid and tgid variables from int to the POSIX type
pid_t.
Signed-off-by: Gustavo F. Padovan <gustavo at las.ic.unicamp.br>
Cc: Oleg Nesterov <oleg at tv-sign.ru>
Cc: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit d8878ba3f05ae5bbfad5a6e72e5121c0ea35f989
Author: Michael Kerrisk <mtk.manpages at googlemail.com>
Date: Fri Jul 25 01:47:32 2008 -0700
signals: make siginfo_t si_utime + si_sstime report times in USER_HZ, not HZ
In the switch to configurable HZ in 2.6, the treatment of the si_utime and
si_stime fields that are exposed to userland via the siginfo structure
looks to have been botched. As things stand, these fields report times in
units of HZ, so that userland gets information that varies depending on
the HZ that the kernel was configured with. This patch changes the
reported values to use USER_HZ units.
Signed-off-by: Michael Kerrisk <mtk.manpages at gmail.com>
Acked-by: Oleg Nesterov <oleg at tv-sign.ru>
Cc: Thomas Gleixner <tglx at linutronix.de>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit e4901f92a8dbe843e76651a50f7a2a6dd3d53474
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:31 2008 -0700
coredump: zap_threads: comments && use while_each_thread()
No changes in fs/exec.o
The for_each_process() loop in zap_threads() is very subtle, it is not
clear why we don't race with fork/exit/exec. Add the fat comment.
Also, change the code to use while_each_thread().
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Acked-by: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 2b201a9eddf509e8e935b45e573648e36f4b623f
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:31 2008 -0700
signals: do_signal_stop: kill the SIGNAL_UNKILLABLE check
fae5fa44f1fd079ffbed8e0add929dd7bbd1347f changed do_signal_stop() to check
SIGNAL_UNKILLABLE, this wasn't needed. If signal_group_exit() == F, the
signal sent to SIGNAL_UNKILLABLE task must be already filtered out by the
caller, get_signal_to_deliver(). And if signal_group_exit() == T we are
not going to stop.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Acked-by: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 92413d771e7123304fb4b9efd2a00cccc946e383
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:30 2008 -0700
signals: dequeue_signal: don't check SIGNAL_GROUP_EXIT when setting SIGNAL_STOP_DEQUEUED
dequeue_signal() checks SIGNAL_GROUP_EXIT before setting
SIGNAL_STOP_DEQUEUED. This was added by
788e05a67c343fa22f2ae1d3ca264e7f15c25eaf a long ago to avoid the
coredump/SIGSTOP race.
Since then the related code was changed, and now this subtle check is both
incomplete and unneeded at the same time. It is incomplete because
nowadays exec() doesn't set SIGNAL_GROUP_EXIT, so in fact we should check
signal_group_exit() to avoid a similar race. Fortunately, we doesn't need
the check at all. The only function which relies on SIGNAL_STOP_DEQUEUED
is do_signal_stop(), and it ignores this flag if signal_group_exit() == T,
this covers the SIGNAL_GROUP_EXIT case.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Acked-by: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3854a771821c970065e3203a0b40ddc4101538cc
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:29 2008 -0700
__exit_signal: don't take rcu lock
There is no reason for rcu_read_lock() in __exit_signal(). tsk->sighand
can only be changed if tsk does exec, obviously this is not possible.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Cc: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 100360f03077663b7bef3af44805b6cf700c3bee
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:29 2008 -0700
signals: change collect_signal() to return void
With the recent changes collect_signal() always returns true. Change it
to return void and update the single caller.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit d4434207616980885205c605697868c0f07e4378
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:28 2008 -0700
signals: collect_signal: simplify the "still_pending" logic
Factor out sigdelset() calls and remove the "still_pending" variable.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Acked-by: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 6715ca451cfff1c9ce4b33ad9918a1dacf43997c
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:27 2008 -0700
signals: collect_signal: remove the unneeded sigismember() check
collect_signal() checks sigismember(&list->signal, sig), this is not
needed. This "sig" was just found by next_signal(), so it must be valid.
We have a (completely broken) call to ->notifier in between, but it must
not play with sigpending->signal bits or unlock ->siglock.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Acked-by: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 96347e7759e2e433c427defa0fa1adfc8cce6226
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:27 2008 -0700
posix timers: release_posix_timer: kill the bogus put_task_struct(->it_process);
release_posix_timer() can't be called with ->it_process != NULL. Once
sys_timer_create() sets ->it_process it must not call
release_posix_timer(), otherwise we can race with another thread doing
sys_timer_delete(), this timer is visible to idr_find() and unlocked.
The same is true for two other callers (actually, for any possible
caller), sys_timer_delete() and itimer_delete(). They must clear
->it_process before unlock_timer() + release_posix_timer().
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Acked-by: Roland McGrath <roland at redhat.com>
Cc: john stultz <johnstul at us.ibm.com>
Cc: Thomas Gleixner <tglx at linutronix.de>
Cc: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 4b7a1304267bff68260ae861784b27130e805be3
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date: Fri Jul 25 01:47:26 2008 -0700
posix timers: timer_delete: remove the bogus "->it_process != NULL" check
sys_timer_delete() and itimer_delete() check "timer->it_process != NULL",
this looks completely bogus. ->it_process == NULL means that this timer
is already under destruction or it is not fully initialized, this must not
happen.
sys_timer_delete: the timer is locked, and lock_timer() can't succeed
if ->it_process == NULL.
itimer_delete: it is called by exit_itimers() when there are no other
threads which can play with signal_struct->posix_timers.
Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
Acked-by: Roland McGrath <roland at redhat.com>
Cc: john stultz <johnstul at us.ibm.com>
Cc: Thomas Gleixner <tglx at linutronix.de>
Cc: Roland McGrath <roland at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit da5ef6bb96158b0fc0d808704237a453af449124
Author: Lai Jiangshan <laijs at cn.fujitsu.com>
Date: Fri Jul 25 01:47:25 2008 -0700
cpuset: two minor code-cleanups
In cpuset_update_task_memory_state() local variable struct task_struct
*tsk = current;
And local variable tsk is used 14 times and statement task_cs(tsk) is used
twice in this function. So using task_cs(tsk) instead of task_cs(current)
is better for readability.
And "(struct cgroup_scanner *)&scan" is not good for readability also.
(and "container_of" is used in cpuset_do_move_task(), not
"(cpuset_hotplug_scanner *)scan")
Signed-off-by: Lai Jiangshan <laijs at cn.fujitsu.com>
Acked-by: Paul Menage <menage at google.com>
Cc: Paul Jackson <pj at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 02412483777651a26b19a75e49c2a451a174ca9c
Author: Lai Jiangshan <laijs at cn.fujitsu.com>
Date: Fri Jul 25 01:47:24 2008 -0700
cpuset: code-cleanup for started_after
cgroup(cgroup_scan_tasks) will initialize heap->gt for us. This patch
removes started_after() and its helper-function.
Signed-off-by: Lai Jiangshan <laijs at cn.fujitsu.com>
Acked-by: Paul Menage <menage at google.com>
Cc: Paul Jackson <pj at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 489a5393a20dcbf91104052120eb2eff8791b61b
Author: Lai Jiangshan <laijs at cn.fujitsu.com>
Date: Fri Jul 25 01:47:23 2008 -0700
cpuset: don't pass empty cpumasks to partition_sched_domains()
I create lots of empty cpusets(empty cpumasks) and turn off the
"sched_load_balance" in top cpuset.
I found that all these empty cpumasks are passed to
partition_sched_domains() in rebuild_sched_domains(), it's very
time-consuming for partition_sched_domains() and it's not need.
It also reduce memory consumed and some works in rebuild_sched_domains()
too.
Signed-off-by: Lai Jiangshan <laijs at cn.fujitsu.com>
Acked-by: Paul Menage <menage at google.com>
Cc: Paul Jackson <pj at sgi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit c372e817afc629fea9ff6321313325ed0b4a855b
Author: Li Zefan <lizf at cn.fujitsu.com>
Date: Fri Jul 25 01:47:23 2008 -0700
cpuset: avoid unnecessary sched domains rebuilding
When changing 'sched_relax_domain_level', don't rebuild sched domains if
'cpus' is empty or 'sched_load_balance' is not set.
Also make the comments of rebuild_sched_domains() more readable.
Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
Cc: Hidetoshi Seto <seto.hidetoshi at jp.fujitsu.com>
Cc: Paul Jackson <pj at sgi.com>
Cc: Paul Menage <menage at google.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f9b4fb8dabf38fb456c97f01aace07cb6e7c1723
Author: Miao Xie <miaox at cn.fujitsu.com>
Date: Fri Jul 25 01:47:22 2008 -0700
cpusets: update task's cpus_allowed and mems_allowed after CPU/NODE offline/online
The bug is that a task may run on the cpu/node which is not in its
cpuset.cpus/ cpuset.mems.
It can be reproduced by the following commands:
-----------------------------------
# mkdir /dev/cpuset
# mount -t cpuset xxx /dev/cpuset
# mkdir /dev/cpuset/0
# echo 0-1 > /dev/cpuset/0/cpus
# echo 0 > /dev/cpuset/0/mems
# echo $$ > /dev/cpuset/0/tasks
# echo 0 > /sys/devices/system/cpu/cpu1/online
# echo 1 > /sys/devices/system/cpu/cpu1/online
-----------------------------------
There is only CPU0 in cpuset.cpus, but the task in this cpuset runs on
both CPU0 and CPU1.
It is because the task's cpu_allowed didn't get updated after we did CPU
offline/online manipulation. Similar for mem_allowed.
This patch fixes this bug expect for root cpuset. Because there is a
problem about root cpuset, in that whether it is necessary to update all
the tasks in root cpuset or not after cpu/node offline/online.
If updating, some kernel threads which is bound into a specified cpu will
be unbound.
If not updating, there is a bug in root cpuset. This bug is also caused
by offline/online manipulation. For example, there is a dual-cpu machine.
we create a sub cpuset in root cpuset and assign 1 to its cpus. And then
we attach some tasks into this sub cpuset. After this, we offline CPU1.
Now, the tasks in this new cpuset are moved into root cpuset automatically
because there is no cpu in sub cpuset. Then we online CPU1, we find all
the tasks which doesn't belong to root cpuset originally just run on CPU0.
Maybe we need to add a flag in the task_struct to mark which task can't be
unbound?
Signed-off-by: Miao Xie <miaox at cn.fujitsu.com>
Acked-by: Paul Jackson <pj at sgi.com>
Cc: Li Zefan <lizf at cn.fujitsu.com>
Cc: Paul Jackson <pj at sgi.com>
Cc: Paul Menage <menage at google.com>
Cc: David Rientjes <rientjes at google.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 0b2f630a28d53b5a2082a5275bc3334b10373508
Author: Miao Xie <miaox at cn.fujitsu.com>
Date: Fri Jul 25 01:47:21 2008 -0700
cpusets: restructure the function update_cpumask() and update_nodemask()
Extract two functions from update_cpumask() and update_nodemask().They
will be used later for updating tasks' cpus_allowed and mems_allowed after
CPU/NODE offline/online.
[lizf at cn.fujitsu.com: build fix]
Signed-off-by: Miao Xie <miaox at cn.fujitsu.com>
Acked-by: Paul Jackson <pj at sgi.com>
Cc: David Rientjes <rientjes at google.com>
Cc: Li Zefan <lizf at cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 628f42355389cfb596ca3a5a5f64fb9054a2a06a
Author: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Date: Fri Jul 25 01:47:20 2008 -0700
memcg: limit change shrink usage
Shrinking memory usage at limit change.
[akpm at linux-foundation.org: coding-style fixes]
Acked-by: Balbir Singh <balbir at linux.vnet.ibm.com>
Acked-by: Pavel Emelyanov <xemul at openvz.org>
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Cc: Paul Menage <menage at google.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 12b9804419cfb1c1bdac413f6c373af3b88d154b
Author: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Date: Fri Jul 25 01:47:19 2008 -0700
res_counter: limit change support ebusy
Add an interface to set limit. This is necessary to memory resource
controller because it shrinks usage at set limit.
Other controllers may not need this interface to shrink usage because
shrinking is not necessary or impossible.
Acked-by: Balbir Singh <balbir at linux.vnet.ibm.com>
Acked-by: Pavel Emelyanov <xemul at openvz.org>
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Cc: Paul Menage <menage at google.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit cede86acd8bd5d2205dec28db8ac86410a3a19e8
Author: Li Zefan <lizf at cn.fujitsu.com>
Date: Fri Jul 25 01:47:18 2008 -0700
memcg: clean up checking of the disabled flag
Those checks are unnecessary, because when the subsystem is disabled
it can't be mounted, so those functions won't get called.
The check is needed in functions which will be called in other places
except cgroup.
[hugh at veritas.com: further checking of disabled flag]
Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
Acked-by: Balbir Singh <balbir at linux.vnet.ibm.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Acked-by: KOSAKI Motohiro <kosaki.motohiro at jp.fujitsu.com>
Signed-off-by: Hugh Dickins <hugh at veritas.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit accf163e6ab729f1fc5fffaa0310e498270bf4e7
Author: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Date: Fri Jul 25 01:47:17 2008 -0700
memcg: remove a redundant check
Because of remove refcnt patch, it's very rare case to that
mem_cgroup_charge_common() is called against a page which is accounted.
mem_cgroup_charge_common() is called when.
1. a page is added into file cache.
2. an anon page is _newly_ mapped.
A racy case is that a newly-swapped-in anonymous page is referred from
prural threads in do_swap_page() at the same time.
(a page is not Locked when mem_cgroup_charge() is called from do_swap_page.)
Another case is shmem. It charges its page before calling add_to_page_cache().
Then, mem_cgroup_charge_cache() is called twice. This case is handled in
mem_cgroup_cache_charge(). But this check may be too hacky...
Signed-off-by : KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: "Eric W. Biederman" <ebiederm at xmission.com>
Cc: Pavel Emelyanov <xemul at openvz.org>
Cc: Li Zefan <lizf at cn.fujitsu.com>
Cc: Hugh Dickins <hugh at veritas.com>
Cc: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
Cc: Paul Menage <menage at google.com>
Cc: David Rientjes <rientjes at google.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b76734e5e34e1889ab9fc5f3756570b1129f0f50
Author: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Date: Fri Jul 25 01:47:16 2008 -0700
memcg: add hints for branch
Showing brach direction for obvious conditions.
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: "Eric W. Biederman" <ebiederm at xmission.com>
Cc: Pavel Emelyanov <xemul at openvz.org>
Cc: Li Zefan <lizf at cn.fujitsu.com>
Cc: Hugh Dickins <hugh at veritas.com>
Cc: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
Cc: Paul Menage <menage at google.com>
Cc: David Rientjes <rientjes at google.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit c9b0ed51483cc2fc42bb801b6675c4231b0e4634
Author: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Date: Fri Jul 25 01:47:15 2008 -0700
memcg: helper function for relcaim from shmem.
A new call, mem_cgroup_shrink_usage() is added for shmem handling and
relacing non-standard usage of mem_cgroup_charge/uncharge.
Now, shmem calls mem_cgroup_charge() just for reclaim some pages from
mem_cgroup. In general, shmem is used by some process group and not for
global resource (like file caches). So, it's reasonable to reclaim pages
from mem_cgroup where shmem is mainly used.
[hugh at veritas.com: shmem_getpage release page sooner]
[hugh at veritas.com: mem_cgroup_shrink_usage css_put]
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: "Eric W. Biederman" <ebiederm at xmission.com>
Cc: Pavel Emelyanov <xemul at openvz.org>
Cc: Li Zefan <lizf at cn.fujitsu.com>
Cc: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
Cc: Paul Menage <menage at google.com>
Cc: David Rientjes <rientjes at google.com>
Signed-off-by: Hugh Dickins <hugh at veritas.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 69029cd550284e32de13d6dd2f77b723c8a0e444
Author: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Date: Fri Jul 25 01:47:14 2008 -0700
memcg: remove refcnt from page_cgroup
memcg: performance improvements
Patch Description
1/5 ... remove refcnt fron page_cgroup patch (shmem handling is fixed)
2/5 ... swapcache handling patch
3/5 ... add helper function for shmem's memory reclaim patch
4/5 ... optimize by likely/unlikely ppatch
5/5 ... remove redundunt check patch (shmem handling is fixed.)
Unix bench result.
== 2.6.26-rc2-mm1 + memory resource controller
Execl Throughput 2915.4 lps (29.6 secs, 3 samples)
C Compiler Throughput 1019.3 lpm (60.0 secs, 3 samples)
Shell Scripts (1 concurrent) 5796.0 lpm (60.0 secs, 3 samples)
Shell Scripts (8 concurrent) 1097.7 lpm (60.0 secs, 3 samples)
Shell Scripts (16 concurrent) 565.3 lpm (60.0 secs, 3 samples)
File Read 1024 bufsize 2000 maxblocks 1022128.0 KBps (30.0 secs, 3 samples)
File Write 1024 bufsize 2000 maxblocks 544057.0 KBps (30.0 secs, 3 samples)
File Copy 1024 bufsize 2000 maxblocks 346481.0 KBps (30.0 secs, 3 samples)
File Read 256 bufsize 500 maxblocks 319325.0 KBps (30.0 secs, 3 samples)
File Write 256 bufsize 500 maxblocks 148788.0 KBps (30.0 secs, 3 samples)
File Copy 256 bufsize 500 maxblocks 99051.0 KBps (30.0 secs, 3 samples)
File Read 4096 bufsize 8000 maxblocks 2058917.0 KBps (30.0 secs, 3 samples)
File Write 4096 bufsize 8000 maxblocks 1606109.0 KBps (30.0 secs, 3 samples)
File Copy 4096 bufsize 8000 maxblocks 854789.0 KBps (30.0 secs, 3 samples)
Dc: sqrt(2) to 99 decimal places 126145.2 lpm (30.0 secs, 3 samples)
INDEX VALUES
TEST BASELINE RESULT INDEX
Execl Throughput 43.0 2915.4 678.0
File Copy 1024 bufsize 2000 maxblocks 3960.0 346481.0 875.0
File Copy 256 bufsize 500 maxblocks 1655.0 99051.0 598.5
File Copy 4096 bufsize 8000 maxblocks 5800.0 854789.0 1473.8
Shell Scripts (8 concurrent) 6.0 1097.7 1829.5
=========
FINAL SCORE 991.3
== 2.6.26-rc2-mm1 + this set ==
Execl Throughput 3012.9 lps (29.9 secs, 3 samples)
C Compiler Throughput 981.0 lpm (60.0 secs, 3 samples)
Shell Scripts (1 concurrent) 5872.0 lpm (60.0 secs, 3 samples)
Shell Scripts (8 concurrent) 1120.3 lpm (60.0 secs, 3 samples)
Shell Scripts (16 concurrent) 578.0 lpm (60.0 secs, 3 samples)
File Read 1024 bufsize 2000 maxblocks 1003993.0 KBps (30.0 secs, 3 samples)
File Write 1024 bufsize 2000 maxblocks 550452.0 KBps (30.0 secs, 3 samples)
File Copy 1024 bufsize 2000 maxblocks 347159.0 KBps (30.0 secs, 3 samples)
File Read 256 bufsize 500 maxblocks 314644.0 KBps (30.0 secs, 3 samples)
File Write 256 bufsize 500 maxblocks 151852.0 KBps (30.0 secs, 3 samples)
File Copy 256 bufsize 500 maxblocks 101000.0 KBps (30.0 secs, 3 samples)
File Read 4096 bufsize 8000 maxblocks 2033256.0 KBps (30.0 secs, 3 samples)
File Write 4096 bufsize 8000 maxblocks 1611814.0 KBps (30.0 secs, 3 samples)
File Copy 4096 bufsize 8000 maxblocks 847979.0 KBps (30.0 secs, 3 samples)
Dc: sqrt(2) to 99 decimal places 128148.7 lpm (30.0 secs, 3 samples)
INDEX VALUES
TEST BASELINE RESULT INDEX
Execl Throughput 43.0 3012.9 700.7
File Copy 1024 bufsize 2000 maxblocks 3960.0 347159.0 876.7
File Copy 256 bufsize 500 maxblocks 1655.0 101000.0 610.3
File Copy 4096 bufsize 8000 maxblocks 5800.0 847979.0 1462.0
Shell Scripts (8 concurrent) 6.0 1120.3 1867.2
=========
FINAL SCORE 1004.6
This patch:
Remove refcnt from page_cgroup().
After this,
* A page is charged only when !page_mapped() && no page_cgroup is assigned.
* Anon page is newly mapped.
* File page is added to mapping->tree.
* A page is uncharged only when
* Anon page is fully unmapped.
* File page is removed from LRU.
There is no change in behavior from user's view.
This patch also removes unnecessary calls in rmap.c which was used only for
refcnt mangement.
[akpm at linux-foundation.org: fix warning]
[hugh at veritas.com: fix shmem_unuse_inode charging]
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: "Eric W. Biederman" <ebiederm at xmission.com>
Cc: Pavel Emelyanov <xemul at openvz.org>
Cc: Li Zefan <lizf at cn.fujitsu.com>
Cc: Hugh Dickins <hugh at veritas.com>
Cc: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
Cc: Paul Menage <menage at google.com>
Cc: David Rientjes <rientjes at google.com>
Signed-off-by: Hugh Dickins <hugh at veritas.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit e8589cc189f96b87348ae83ea4db38eaac624135
Author: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Date: Fri Jul 25 01:47:10 2008 -0700
memcg: better migration handling
This patch changes page migration under memory controller to use a
different algorithm. (thanks to Christoph for new idea.)
Before:
- page_cgroup is migrated from an old page to a new page.
After:
- a new page is accounted , no reuse of page_cgroup.
Pros:
- We can avoid compliated lock depndencies and races in migration.
Cons:
- new param to mem_cgroup_charge_common().
- mem_cgroup_getref() is added for handling ref_cnt ping-pong.
This version simplifies complicated lock dependency in page migraiton
under memory resource controller.
new refcnt sequence is following.
a mapped page:
prepage_migration() ..... +1 to NEW page
try_to_unmap() ..... all refs to OLD page is gone.
move_pages() ..... +1 to NEW page if page cache.
remap... ..... all refs from *map* is added to NEW one.
end_migration() ..... -1 to New page.
page's mapcount + (page_is_cache) refs are added to NEW one.
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: Pavel Emelyanov <xemul at openvz.org>
Cc: Li Zefan <lizf at cn.fujitsu.com>
Cc: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
Cc: Hugh Dickins <hugh at veritas.com>
Cc: Christoph Lameter <cl at linux-foundation.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 508b7be0a5b06b64203512ed9b34191cddc83f56
Author: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Date: Fri Jul 25 01:47:09 2008 -0700
memcg: avoid unnecessary initialization
* remove over-killing initialization (in fast path)
* makeing the condition for PAGE_CGROUP_FLAG_ACTIVE be more obvious.
Signed-off-by: KAMEAZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Reviewed-by: Li Zefan <lizf at cn.fujitsu.com>
Acked-by: Balbir Singh <balbir at linux.vnet.ibm.com>
Acked-by: Pavel Emelyanov <xemul at openvz.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a181b0e888a1d917edcab57cd73ccf7d8e75a46c
Author: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Date: Fri Jul 25 01:47:08 2008 -0700
memcg: make global var read_mostly
mem_cgroup_subsys and page_cgroup_cache should be read_mostly and
MEM_CGROUP_RECLAIM_RETRIES can be just a fixed number.
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Acked-by: Balbir Singh <balbir at linux.vnet.ibm.com>
Acked-by: Pavel Emelyanov <xemul at openvz.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7759fc9d10d3559f365cb122d81e0c0a185fe0fe
Author: Li Zefan <lizf at cn.fujitsu.com>
Date: Fri Jul 25 01:47:08 2008 -0700
devcgroup: code cleanup
- clean up set_majmin()
- use simple_strtoul() to parse major/minor
[akpm at linux-foundation.org: fix simple_strtoul() usage]
[kosaki.motohiro at jp.fujitsu.com: fix warnings]
Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
Acked-by: Serge Hallyn <serue at us.ibm.com>
Cc: Serge Hallyn <serue at us.ibm.com>
Cc: Paul Menage <menage at google.com>
Cc: Pavel Emelyanov <xemul at openvz.org>
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro at jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 4efd1a1b2f09a4b746dd9dc057986c6dadcb1317
Author: Pavel Emelyanov <xemul at openvz.org>
Date: Fri Jul 25 01:47:07 2008 -0700
devcgroup: relax white-list protection down to RCU
Currently this list is protected with a simple spinlock, even for reading
from one. This is OK, but can be better.
Actually I want it to be better very much, since after replacing the
OpenVZ device permissions engine with the cgroup-based one I noticed, that
we set 12 default device permissions for each newly created container (for
/dev/null, full, terminals, ect devices), and people sometimes have up to
20 perms more, so traversing the ~30-40 elements list under a spinlock
doesn't seem very good.
Here's the RCU protection for white-list - dev_whitelist_item-s are added
and removed under the devcg->lock, but are looked up in permissions
checking under the rcu_read_lock.
Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
Acked-by: Serge Hallyn <serue at us.ibm.com>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: Paul Menage <menage at google.com>
Cc: "Paul E. McKenney" <paulmck at us.ibm.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit e885dcde75685e09f23cffae1f6d5169c105b8a0
Author: Serge E. Hallyn <serue at us.ibm.com>
Date: Fri Jul 25 01:47:06 2008 -0700
cgroup_clone: use pid of newly created task for new cgroup
cgroup_clone creates a new cgroup with the pid of the task. This works
correctly for unshare, but for clone cgroup_clone is called from
copy_namespaces inside copy_process, which happens before the new pid is
created. As a result, the new cgroup was created with current's pid.
This patch:
1. Moves the call inside copy_process to after the new pid
is created
2. Passes the struct pid into ns_cgroup_clone (as it is not
yet attached to the task)
3. Passes a name from ns_cgroup_clone() into cgroup_clone()
so as to keep cgroup_clone() itself simpler
4. Uses pid_vnr() to get the process id value, so that the
pid used to name the new cgroup is always the pid as it
would be known to the task which did the cloning or
unsharing. I think that is the most intuitive thing to
do. This way, task t1 does clone(CLONE_NEWPID) to get
t2, which does clone(CLONE_NEWPID) to get t3, then the
cgroup for t3 will be named for the pid by which t2 knows
t3.
(Thanks to Dan Smith for finding the main bug)
Changelog:
June 11: Incorporate Paul Menage's feedback: don't pass
NULL to ns_cgroup_clone from unshare, and reduce
patch size by using 'nodename' in cgroup_clone.
June 10: Original version
[akpm at linux-foundation.org: build fix]
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Serge Hallyn <serge at us.ibm.com>
Acked-by: Paul Menage <menage at google.com>
Tested-by: Dan Smith <danms at us.ibm.com>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 856c13aa1ff6136c1968414fdea5938ea9d5ebf2
Author: Paul Menage <menage at google.com>
Date: Fri Jul 25 01:47:04 2008 -0700
cgroup files: convert res_counter_write() to be a cgroups write_string() handler
Currently res_counter_write() is a raw file handler even though it's
ultimately taking a number, since in some cases it wants to
pre-process the string when converting it to a number.
This patch converts res_counter_write() from a raw file handler to a
write_string() handler; this allows some of the boilerplate
copying/locking/checking to be removed, and simplies the cleanup path,
since these functions are now performed by the cgroups framework.
[lizf at cn.fujitsu.com: build fix]
Signed-off-by: Paul Menage <menage at google.com>
Cc: Paul Jackson <pj at sgi.com>
Cc: Pavel Emelyanov <xemul at openvz.org>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: Serge Hallyn <serue at us.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f92523e3a7861f5dbd76021e0719a35fe8771f2d
Author: Paul Menage <menage at google.com>
Date: Fri Jul 25 01:47:03 2008 -0700
cgroup files: convert devcgroup_access_write() into a cgroup write_string() handler
This patch converts devcgroup_access_write() from a raw file handler
into a handler for the cgroup write_string() method. This allows some
boilerplate copying/locking/checking to be removed and simplifies the
cleanup path, since these functions are performed by the cgroups
framework before calling the handler.
Signed-off-by: Paul Menage <menage at google.com>
Cc: Paul Jackson <pj at sgi.com>
Cc: Pavel Emelyanov <xemul at openvz.org>
Cc: Balbir Singh <balbir at in.ibm.com>
Acked-by: Serge Hallyn <serue at us.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit e37123953292146445c8629b3950d0513fd10ae2
Author: Paul Menage <menage at google.com>
Date: Fri Jul 25 01:47:02 2008 -0700
cgroup files: remove cpuset_common_file_write()
This patch tweaks the signatures of the update_cpumask() and
update_nodemask() functions so that they can be called directly as
handlers for the new cgroups write_string() method.
This allows cpuset_common_file_write() to be removed.
Signed-off-by: Paul Menage <menage at google.com>
Cc: Paul Jackson <pj at sgi.com>
Cc: Pavel Emelyanov <xemul at openvz.org>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: Serge Hallyn <serue at us.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit af351026aafc8da16518a02b41c66d3e0c1cdef4
Author: Paul Menage <menage at google.com>
Date: Fri Jul 25 01:47:01 2008 -0700
cgroup files: turn attach_task_by_pid directly into a cgroup write handler
This patch changes attach_task_by_pid() to take a u64 rather than a
string; as a result it can be called directly as a control groups
write_u64 handler, and cgroup_common_file_write() can be removed.
Signed-off-by: Paul Menage <menage at google.com>
Cc: Paul Jackson <pj at sgi.com>
Cc: Pavel Emelyanov <xemul at openvz.org>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: Serge Hallyn <serue at us.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 6379c106152388f7ea45d6dda63edda0e9181fc8
Author: Paul Menage <menage at google.com>
Date: Fri Jul 25 01:47:01 2008 -0700
cgroup files: move notify_on_release file to separate write handler
This patch moves the write handler for the cgroups notify_on_release
file into a separate handler. This handler requires no cgroups locking
since it relies on atomic bitops for synchronization.
Signed-off-by: Paul Menage <menage at google.com>
Cc: Paul Jackson <pj at sgi.com>
Cc: Pavel Emelyanov <xemul at openvz.org>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: Serge Hallyn <serue at us.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 84eea842886ac35020be6043e04748ed22014359
Author: Paul Menage <menage at google.com>
Date: Fri Jul 25 01:47:00 2008 -0700
cgroups: misc cleanups to write_string patchset
This patch contains cleanups suggested by reviewers for the recent
write_string() patchset:
- pair cgroup_lock_live_group() with cgroup_unlock() in cgroup.c for
clarity, rather than directly unlocking cgroup_mutex.
- make the return type of cgroup_lock_live_group() a bool
- use a #define'd constant for the local buffer size in read/write functions
Signed-off-by: Paul Menage <menage at google.com>
Cc: Paul Jackson <pj at sgi.com>
Cc: Pavel Emelyanov <xemul at openvz.org>
Cc: Balbir Singh <balbir at in.ibm.com>
Acked-by: Serge Hallyn <serue at us.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit e788e066c651b1bbf4a927dc95395c1aa13be436
Author: Paul Menage <menage at google.com>
Date: Fri Jul 25 01:46:59 2008 -0700
cgroup files: move the release_agent file to use typed handlers
Adds cgroup_release_agent_write() and cgroup_release_agent_show()
methods to handle writing/reading the path to a cgroup hierarchy's
release agent. As a result, cgroup_common_file_read() is now unnecessary.
As part of the change, a previously-tolerated race in
cgroup_release_agent() is avoided by copying the current
release_agent_path prior to calling call_usermode_helper().
Signed-off-by: Paul Menage <menage at google.com>
Cc: Paul Jackson <pj at sgi.com>
Cc: Pavel Emelyanov <xemul at openvz.org>
Cc: Balbir Singh <balbir at in.ibm.com>
Acked-by: Serge Hallyn <serue at us.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit db3b14978abc02041046ed8353f0899cb58ffffc
Author: Paul Menage <menage at google.com>
Date: Fri Jul 25 01:46:58 2008 -0700
cgroup files: add write_string cgroup control file method
This patch adds a write_string() method for cgroups control files. The
semantics are that a buffer is copied from userspace to kernelspace
and the handler function invoked on that buffer. The buffer is
guaranteed to be nul-terminated, and no longer than max_write_len
(defaulting to 64 bytes if unspecified). Later patches will convert
existing raw file write handlers in control group subsystems to use
this method.
Signed-off-by: Paul Menage <menage at google.com>
Cc: Paul Jackson <pj at sgi.com>
Cc: Pavel Emelyanov <xemul at openvz.org>
Acked-by: Balbir Singh <balbir at in.ibm.com>
Acked-by: Serge Hallyn <serue at us.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit ce16b49d37e748574f7fabc2726268d542d0aa1a
Author: Paul Menage <menage at google.com>
Date: Fri Jul 25 01:46:57 2008 -0700
cgroup files: clean up whitespace in struct cftype
This patch removes some extraneous spaces from method declarations in
struct cftype, to fit in with conventional kernel style.
Signed-off-by: Paul Menage <menage at google.com>
Cc: Paul Jackson <pj at sgi.com>
Cc: Pavel Emelyanov <xemul at openvz.org>
Cc: Balbir Singh <balbir at in.ibm.com>
Cc: Serge Hallyn <serue at us.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 8947f9d5b361ce927be6d5c11fed57905b7a4100
Author: Li Zefan <lizf at cn.fujitsu.com>
Date: Fri Jul 25 01:46:56 2008 -0700
cgroups: annotate two variables with __read_mostly
- need_forkexit_callback will be read only after system boot.
- use_task_css_set_links will be read only after it's set.
And these 2 variables are checked when a new process is forked.
Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
Acked-by: Paul Menage <menage at google.com>
Acked-by: KOSAKI Motohiro <kosaki.motohiro at jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 71cbb949d17d4d776abd547135feb7f3282405c8
Author: KOSAKI Motohiro <kosaki.motohiro at jp.fujitsu.com>
Date: Fri Jul 25 01:46:55 2008 -0700
cgroup: list_for_each cleanup
--------------------------
while() {
list_entry();
...
}
--------------------------
is equivalent to following code.
--------------------------
list_for_each_entry(){
...
}
--------------------------
later can review easily more.
this patch is just clean up.
it doesn't have any behavor change.
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro at jp.fujitsu.com>
Cc: Paul Menage <menage at google.com>
Cc: Li Zefan <lizf at cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f2992db2a4f7ae10f61d5bc68c7c1528cec639e2
Author: Pavel Emelyanov <xemul at openvz.org>
Date: Fri Jul 25 01:46:55 2008 -0700
Mark res_counter_charge(_locked) with __must_check
Ignoring their return values may result in counter underflow in the future -
when the value charged will be uncharged (or in "leaks" - when the value is
not uncharged).
This also prevents from using charging routines to decrement the
counter value (i.e. uncharge it) ;)
(Current code works OK with res_counter, however :) )
Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
Cc: Balbir Singh <balbir at linux.vnet.ibm.com>
Cc: Paul Menage <menage at google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7e9abd89cbdf9b73d327d8173343abce9022609b
Author: Li Zefan <lizf at cn.fujitsu.com>
Date: Fri Jul 25 01:46:54 2008 -0700
cgroup: use read lock to guard find_existing_css_set()
The function does not modify anything (except the temporary css template), so
it's sufficient to hold read lock.
Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
Acked-by: Paul Menage <menage at google.com>
Cc: Balbir Singh <balbir at linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 9d96d82da437ed5f2053821779ed5d7797ed1f81
Author: Mike Frysinger <vapier at gentoo.org>
Date: Fri Jul 25 01:46:53 2008 -0700
procfs-guide: drop pointless entities
Having trailing entities in a revision numer seems pretty pointless
to me. More so, it's causing me pains, so just drop them since no other
guide is doing this.
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
Acked-by: Randy Dunlap <randy.dunlap at oracle.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 657d3bfa98e542271b449f8cd84c7501ae2b2255
Author: Jan Kara <jack at suse.cz>
Date: Fri Jul 25 01:46:52 2008 -0700
quota: implement sending information via netlink about user below quota
Sometimes it may be useful for userspace to know (e.g. for some hosting
guys) that some user stopped exceeding his hardlimit or softlimit in
quotas. Implement sending of such events to userspace via quota netlink
protocol so that they don't have to poll for such events. Based on idea
and initial implementation by Vladislav Bogdanov.
Cc: Vladislav Bogdanov <slava at nsys.by>
Signed-off-by: Jan Kara <jack at suse.cz>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 03b063436ca1076301de58d9d628f610ab5404ad
Author: Jan Kara <jack at suse.cz>
Date: Fri Jul 25 01:46:52 2008 -0700
quota: convert macros to inline functions
Signed-off-by: Jan Kara <jack at suse.cz>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 74abb9890dafb12a50dc140de215ed477beb1b88
Author: Jan Kara <jack at suse.cz>
Date: Fri Jul 25 01:46:51 2008 -0700
quota: move function-macros from quota.h to quotaops.h
Move declarations of some macros, which should be in fact functions to
quotaops.h. This way they can be later converted to inline functions
because we can now use declarations from quota.h. Also add necessary
includes of quotaops.h to a few files.
[akpm at linux-foundation.org: fix JFS build]
[akpm at linux-foundation.org: fix UFS build]
[vegard.nossum at gmail.com: fix QUOTA=n build]
Signed-off-by: Jan Kara <jack at suse.cz>
Cc: Vegard Nossum <vegard.nossum at gmail.com>
Cc: Arjen Pool <arjenpool at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 02a55ca87185e114e5d298a8d00608501dbabf67
Author: Jan Kara <jack at suse.cz>
Date: Fri Jul 25 01:46:50 2008 -0700
quota: cleanup loop in sync_dquots()
Make loop in sync_dquots() checking whether there's something to write
more readable, remove useless variable and macro info_any_dirty() which
is used only in this place.
Signed-off-by: Jan Kara <jack at suse.cz>
Cc: "Vegard Nossum" <vegard.nossum at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b85f4b87a511bea86dac68c4f0fabaee2cac6c4c
Author: Jan Kara <jack at suse.cz>
Date: Fri Jul 25 01:46:50 2008 -0700
quota: rename quota functions from upper case, make bigger ones non-inline
Cleanup quotaops.h: Rename functions from uppercase to lowercase (and
define backward compatibility macros), move larger functions to dquot.c
and make them non-inline.
Signed-off-by: Jan Kara <jack at suse.cz>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b48d380541f634663b71766005838edbb7261685
Author: Jan Kara <jack at suse.cz>
Date: Fri Jul 25 01:46:49 2008 -0700
quota: fix possible infinite loop in quota code
When quota structure is going to be dropped and it is dirty, quota code tries
to write it. If the write fails for some reason (e. g. transaction cannot
be started because the journal is aborted), we try writing again and again and
again... Fix the problem by clearing the dirty bit even if the write failed.
(akpm: for 2.6.27, 2.6.26.x and 2.6.25.x)
Signed-off-by: Jan Kara <jack at suse.cz>
Reviewed-by: dingdinghua <dingdinghua85 at gmail.com>
Cc: <stable at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 41003cde95e7e976d3876dbdcdc83dd0a9059279
Author: Joe Peterson <joe at skyrush.com>
Date: Fri Jul 25 01:46:48 2008 -0700
UTC timestamp option for FAT filesystems fix
Signed-off-by: Joe Peterson <joe at skyrush.com>
Acked-by: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b271e067c896ad4082b15e96077675d08db40625
Author: Joe Peterson <joe at skyrush.com>
Date: Fri Jul 25 01:46:47 2008 -0700
fatfs: add UTC timestamp option
Provide a new mount option ("tz=UTC") for DOS (vfat/msdos) filesystems,
allowing timestamps to be in coordinated universal time (UTC) rather than
local time in applications where doing this is advantageous.
In particular, portable devices that use fat/vfat (such as digital
cameras) can benefit from using UTC in their internal clocks, thus
avoiding daylight saving time errors and general time ambiguity issues.
The user of the device does not have to worry about changing the time when
moving from place or when daylight saving changes.
The new mount option, when set, disables the counter-adjustment that Linux
currently makes to FAT timestamp info in anticipation of the normal
userspace time zone correction. When used in this new mode, all daylight
saving time and time zone handling is done in userspace as is normal for
many other filesystems (like ext3). The default mode, which remains
unchanged, is still appropriate when mounting volumes written in Windows
(because of its use of local time).
I originally based this patch on one submitted last year by Paul Collins,
but I updated it to work with current source and changed variable/option
naming. Ogawa Hirofumi (who maintains these filesystems) and I discussed
this patch at length on lkml, and he suggested using the option name in
the attached version of the patch. Barry Bouwsma pointed out a good
addition to the patch as well.
Signed-off-by: Joe Peterson <joe at skyrush.com>
Signed-off-by: Paul Collins <paul at ondioline.org>
Acked-by: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
Cc: Barry Bouwsma <free_beer_for_all at yahoo.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit e8938a62a85d1f487e02c3b01955b47c9598f6d2
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 01:46:46 2008 -0700
remove unused #include <linux/dirent.h>'s
Remove some unused #include <linux/dirent.h>'s.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Cc: Ralf Baechle <ralf at linux-mips.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit cf6ae8b50e0ee3f764392dadd1970e3f03c40773
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 01:46:46 2008 -0700
remove the in-kernel struct dirent{,64}
The kernel struct dirent{,64} were different from the ones in
userspace.
Even worse, we exported the kernel ones to userspace.
But after the fat usages are fixed we can remove the conflicting
kernel versions.
Reviewed-by: H. Peter Anvin <hpa at kernel.org>
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Cc: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7557bc66be629d19a402e752673708bfbb8b5e86
Author: Rene Scharfe <rene.scharfe at lsrfire.ath.cx>
Date: Fri Jul 25 01:46:45 2008 -0700
msdos fs: remove unsettable atari option
It has been impossible to set the option 'atari' of the MSDOS filesystem
for several years. Since nobody seems to have missed it, let's remove its
remains.
Signed-off-by: Rene Scharfe <rene.scharfe at lsrfire.ath.cx>
Acked-by: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit dcd8c53f13f068ee039589d84fbd0baf686abc41
Author: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
Date: Fri Jul 25 01:46:44 2008 -0700
fat: small optimization to __fat_readdir()
This removes unnecessary parsing for directory entries.
If short_only, we don't need to parse longname. And if !both and it found
the longname, we don't need shortname.
Signed-off-by: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 98a15160049fc1a0f822047f33ff513906a35567
Author: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
Date: Fri Jul 25 01:46:44 2008 -0700
fat: use same logic in fat_search_long() and __fat_readdir()
This uses uses stack for shortname, and uses __getname() for longname in
fat_search_long() and __fat_readdir(). By this, it removes unneeded
__getname() for shortname.
Signed-off-by: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit d688611674cc9c265ee67e89d2ea8bf060c17e8d
Author: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
Date: Fri Jul 25 01:46:43 2008 -0700
fat: cleanup fs/fat/dir.c
This is no logic changes, just cleans fs/fat/dir.c up.
Signed-off-by: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 531f710f8e68fd2bad7516a090bff372f5f9cf6d
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 01:46:43 2008 -0700
fat/dir.c: switch to struct __fat_dirent
struct __fat_dirent is what was formerly the kernel struct dirent (that
was different from the userspace struct dirent).
Converting all fat users to struct __fat_dirent will allow us to get rid
of the conflicting struct dirent definition.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 4596c8aaf96e8634ca755c9f34b91420a39bebd4
Author: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
Date: Fri Jul 25 01:46:42 2008 -0700
fat: fix VFAT_IOCTL_READDIR_xxx and cleanup for userland
"struct dirent" is a kernel type here, but is a **different type** in
userspace! This means both the structure and the IOCTL number is wrong!
So, this adds new "struct __fat_dirent" to generate correct IOCTL number.
And kernel stuff moves to under __KERNEL__.
Signed-off-by: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 8d44d9741f6808c107a144f469fb89e6fe7c55e3
Author: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
Date: Fri Jul 25 01:46:41 2008 -0700
fat: fix parse_options()
Current parse_options() exits too early. We need to run the code of
bottom in this function even if users doesn't specify options.
Signed-off-by: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3264d4ded4d916d294d776b77b72d477c63ac3be
Author: Shen Feng <shen at cn.fujitsu.com>
Date: Fri Jul 25 01:46:41 2008 -0700
reiserfs: remove double definitions of xattr macros
remove the definitions of macros:
XATTR_SECURITY_PREFIX
XATTR_TRUSTED_PREFIX
XATTR_USER_PREFIX
since they are defined in linux/xattr.h
Signed-off-by: Shen Feng <shen at cn.fujitsu.com>
Signed-off-by: Mingming Cao <cmm at us.ibm.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 90415deac75a761a25239af6f56381546f8d2201
Author: Jeff Mahoney <jeffm at suse.com>
Date: Fri Jul 25 01:46:40 2008 -0700
reiserfs: convert j_commit_lock to mutex
j_commit_lock is a semaphore but uses it as if it were a mutex. This patch
converts it to a mutex.
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Jeff Mahoney <jeffm at suse.com>
Cc: Matthew Wilcox <matthew at wil.cx>
Cc: Chris Mason <chris.mason at oracle.com>
Cc: Edward Shishkin <edward.shishkin at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit afe70259076fff0446001eaa1a287f615241a357
Author: Jeff Mahoney <jeffm at suse.com>
Date: Fri Jul 25 01:46:39 2008 -0700
reiserfs: convert j_flush_sem to mutex
j_flush_sem is a semaphore but uses it as if it were a mutex. This patch
converts it to a mutex.
[akpm at linux-foundation.org: fix mutex_trylock retval treatment]
Signed-off-by: Jeff Mahoney <jeffm at suse.com>
Cc: Matthew Wilcox <matthew at wil.cx>
Cc: Chris Mason <chris.mason at oracle.com>
Cc: Edward Shishkin <edward.shishkin at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f68215c4640a38d66429014e524a627bf572d26a
Author: Jeff Mahoney <jeffm at suse.com>
Date: Fri Jul 25 01:46:38 2008 -0700
reiserfs: convert j_lock to mutex
j_lock is a semaphore but uses it as if it were a mutex. This patch converts
it to a mutex.
Signed-off-by: Jeff Mahoney <jeffm at suse.com>
Cc: Matthew Wilcox <matthew at wil.cx>
Cc: Chris Mason <chris.mason at oracle.com>
Cc: Edward Shishkin <edward.shishkin at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 00b441970a0ab48185244300ac7d4e4eb76df692
Author: Jan Kara <jack at suse.cz>
Date: Fri Jul 25 01:46:38 2008 -0700
reiserfs: correct mount option parsing to detect when quota options can be changed
We should not allow user to change quota mount options when quota is just
suspended. It would make mount options and internal quota state inconsistent.
Also we should not allow user to change quota format when quota is turned on.
On the other hand we can just silently ignore when some option is set to the
value it already has (some mount versions do this on remount). Finally, we
should not discard current quota options if parsing of mount options fails.
Cc: <reiserfs-devel at vger.kernel.org>
Signed-off-by: Jan Kara <jack at suse.cz>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 4506567b24d3ea707e46e8aad64caef539382f4b
Author: Jan Kara <jack at suse.cz>
Date: Fri Jul 25 01:46:37 2008 -0700
reiserfs: fix typos in messages and comments (journalled -> journaled)
Cc: <reiserfs-devel at vger.kernel.org>
Signed-off-by: Jan Kara <jack at suse.cz>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 5d4f7fddf8882b214e4aabb3bdb37f90a72b2537
Author: Jan Kara <jack at suse.cz>
Date: Fri Jul 25 01:46:36 2008 -0700
reiserfs: fix synchronization of quota files in journal=data mode
In journal=data mode, it is not enough to do write_inode_now() as done in
vfs_quota_on() to write all data to their final location (which is needed for
quota_read to work correctly). Calling journal_end_sync() before calling
vfs_quota_on() does it's job because transactions are committed to the journal
and data marked as dirty in memory so write_inode_now() writes them to their
final locations.
Cc: <reiserfs-devel at vger.kernel.org>
Signed-off-by: Jan Kara <jack at suse.cz>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 895c23f8c39c0c8d7b536bb2566d4aa968d78be2
Author: Matthias Kaehlcke <matthias at kaehlcke.net>
Date: Fri Jul 25 01:46:36 2008 -0700
hfsplus: convert the extents_lock in a mutex
Apple Extended HFS file system: The semaphore extents lock is used as a
mutex. Convert it to the mutex API.
Signed-off-by: Matthias Kaehlcke <matthias at kaehlcke.net>
Cc: Roman Zippel <zippel at linux-m68k.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 39f8d472f280dee6503a364d1d911b9e20ce3ec9
Author: Matthias Kaehlcke <matthias at kaehlcke.net>
Date: Fri Jul 25 01:46:35 2008 -0700
hfs: convert extents_lock in a mutex
Apple Macintosh file system: The semaphore extens_lock is used as a mutex.
Convert it to the mutex API
Signed-off-by: Matthias Kaehlcke <matthias at kaehlcke.net>
Cc: Roman Zippel <zippel at linux-m68k.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3084b72de73a6f8af0f16989ffb348068bd066d4
Author: Matthias Kaehlcke <matthias at kaehlcke.net>
Date: Fri Jul 25 01:46:34 2008 -0700
hfs: convert bitmap_lock in a mutex
Apple Macintosh file system: The semaphore bitmap_lock is used as a mutex.
Convert it to the mutex API
Signed-off-by: Matthias Kaehlcke <matthias at kaehlcke.net>
Cc: Roman Zippel <zippel at linux-m68k.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit de0ca06a99c33df8333955642843331ab6b6e7ff
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 01:46:34 2008 -0700
coda: remove CODA_FS_OLD_API
While fixing CONFIG_ leakages to the userspace kernel headers I ran into
CODA_FS_OLD_API.
After five years, are there still people using the old API left?
Especially considering that you have to choose at compile time which API
to support in the kernel (and distributions tend to offer the new API for
some time).
Jan: "The old API can definitely go. Around the time the new
interface went in there were some non-Coda userspace file system
implementations that took a while longer to convert to the new API,
but by now they all switched to the new interface or in some cases
to a FUSE-based solution."
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Acked-by: Jan Harkes <jaharkes at cs.cmu.edu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit c0a1633b6201ef79e31b7da464d44fdf5953054d
Author: Adam Greenblatt <adam.greenblatt at gmail.com>
Date: Fri Jul 25 01:46:32 2008 -0700
isofs: fix minor filesystem corruption
Some iso9660 images contain files with rockridge data that is either
incorrect or incompletely parsed. Prior to commit
f2966632a134e865db3c819346a1dc7d96e05309 ("[PATCH] rock: handle directory
overflows") (included with kernel 2.6.13) the kernel ignored the rockridge
data for these files, while still allowing the files to be accessed under
their non-rockridge names. That commit inadvertently changed things so
that files with invalid rockridge data could not be accessed at all. (I
ran across the problem when comparing some old CDs with hard disk copies I
had made long ago under kernel 2.4: a few of the files on the hard disk
copies were no longer visible on the CDs.)
This change reverts to the pre-2.6.13 behavior.
Signed-off-by: Adam Greenblatt <adam.greenblatt at gmail.com>
Reviewed-by: Pekka Enberg <penberg at cs.helsinki.fi>
Cc: <stable at kernel.org> [2.6.25.x, 2.6.26.x]
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 275c0a8f1253a7542ad9726956c918d8a1f694c4
Author: Duane Griffin <duaneg at dghda.com>
Date: Fri Jul 25 01:46:31 2008 -0700
ext3: validate directory entry data before use
ext3_dx_find_entry uses ext3_next_entry without verifying that the entry
is valid. If its rec_len == 0 this causes an infinite loop. Refactor the
loop to check the validity of entries before checking whether they match
and moving onto the next one.
There are other uses of ext3_next_entry in this file which also look
problematic. They should be reviewed and fixed if/when we have a
test-case that triggers them.
This patch fixes the first case (image hdb.25.softlockup.gz) reported in
http://bugzilla.kernel.org/show_bug.cgi?id=10882.
Signed-off-by: Duane Griffin <duaneg at dghda.com>
Cc: <linux-ext4 at vger.kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit cbe5f466f6995e10a10c7ae66d6dc8608f08a6b8
Author: Hidehiro Kawai <hidehiro.kawai.ez at hitachi.com>
Date: Fri Jul 25 01:46:30 2008 -0700
jbd: don't abort if flushing file data failed
In ordered mode, the current jbd aborts the journal if a file data buffer
has an error. But this behavior is unintended, and we found that it has
been adopted accidentally.
This patch undoes it and just calls printk() instead of aborting the
journal. Additionally, set AS_EIO into the address_space object of the
failed buffer which is submitted by journal_do_submit_data() so that
fsync() can get -EIO.
Missing error checkings are also added to inform errors on file data
buffers to the user. The following buffers are targeted.
(a) the buffer which has already been written out by pdflush
(b) the buffer which has been unlocked before scanned in the
t_locked_list loop
[akpm at linux-foundation.org: improve grammar in a printk]
Signed-off-by: Hidehiro Kawai <hidehiro.kawai.ez at hitachi.com>
Acked-by: Jan Kara <jack at suse.cz>
Cc: <linux-ext4 at vger.kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 8ef2720397bb813d4985405a5ae7b8ad6474188b
Author: Li Zefan <lizf at cn.fujitsu.com>
Date: Fri Jul 25 01:46:29 2008 -0700
ext3: kill 2 useless magic numbers
dx_root_limit() will never return 20, and I can't figure out what 20
stands for. This function has never changed since htree directory
indexing was merged.
Similar for dx_node_limit() and the magic 22.
Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
Acked-by: Andreas Dilger <adilger at sun.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit fc80c44277b3c92d808b73e9d40e120229aa4b6a
Author: Toshiyuki Okajima <toshi.okajima at jp.fujitsu.com>
Date: Fri Jul 25 01:46:29 2008 -0700
jbd: positively dispose the unmapped data buffers in journal_commit_transaction()
After ext3-ordered files are truncated, there is a possibility that the
pages which cannot be estimated still remain. Remaining pages can be
released when the system has really few memory. So, it is not memory
leakage. But the resource management software etc. may not work
correctly.
It is possible that journal_unmap_buffer() cannot release the buffers, and
the pages to which they belong because they are attached to a commiting
transaction and journal_unmap_buffer() cannot release them. To release
such the buffers and the pages later, journal_unmap_buffer() leaves it to
journal_commit_transaction(). (journal_unmap_buffer() puts the mark
'BH_Freed' to the buffers so that journal_commit_transaction() can
identify whether they can be released or not.)
In the journalled mode and the writeback mode, jbd does with only metadata
buffers. But in the ordered mode, jbd does with metadata buffers and also
data buffers.
Actually, journal_commit_transaction() releases only the metadata buffers
of which release is demanded by journal_unmap_buffer(), and also releases
the pages to which they belong if possible.
As a result, the data buffers of which release is demanded by
journal_unmap_buffer() remain after a transaction commits. And also the
pages to which they belong remain.
Such the remained pages don't have mapping any longer. Due to this fact,
there is a possibility that the pages which cannot be estimated remain.
The metadata buffers marked 'BH_Freed' and the pages to which
they belong can be released at 'JBD: commit phase 7'.
Therefore, by applying the same code into 'JBD: commit phase 2' (where the
data buffers are done with), journal_commit_transaction() can also release
the data buffers marked 'BH_Freed' and the pages to which they belong.
As a result, all the buffers marked 'BH_Freed' can be released, and also
all the pages to which these buffers belong can be released at
journal_commit_transaction(). So, the page which cannot be estimated is
lost.
<<Excerpt of code at 'JBD: commit phase 7'>>
> spin_lock(&journal->j_list_lock);
> while (commit_transaction->t_forget) {
> transaction_t *cp_transaction;
> struct buffer_head *bh;
>
> jh = commit_transaction->t_forget;
>...
> if (buffer_freed(bh)) {
> ^^^^^^^^^^^^^^^^^^^^^^^^
> clear_buffer_freed(bh);
> ^^^^^^^^^^^^^^^^^^^^^^^^
> clear_buffer_jbddirty(bh);
> }
>
> if (buffer_jbddirty(bh)) {
> JBUFFER_TRACE(jh, "add to new checkpointing trans");
> __journal_insert_checkpoint(jh, commit_transaction);
> JBUFFER_TRACE(jh, "refile for checkpoint writeback");
> __journal_refile_buffer(jh);
> jbd_unlock_bh_state(bh);
> } else {
> J_ASSERT_BH(bh, !buffer_dirty(bh));
> ...
> JBUFFER_TRACE(jh, "refile or unfile freed buffer");
> __journal_refile_buffer(jh);
> if (!jh->b_transaction) {
> jbd_unlock_bh_state(bh);
> /* needs a brelse */
> journal_remove_journal_head(bh);
> release_buffer_page(bh);
> ^^^^^^^^^^^^^^^^^^^^^^^^
> } else
> }
****************************************************************
* Apply the code of "^^^^^^" lines into 'JBD: commit phase 2' *
****************************************************************
At journal_commit_transaction() code, there is one extra message in the
series of jbd debug messages. ("JBD: commit phase 2") This patch fixes
it, too.
Signed-off-by: Toshiyuki Okajima <toshi.okajima at jp.fujitsu.com>
Acked-by: Jan Kara <jack at suse.cz>
Cc: <linux-ext4 at vger.kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a10320e8f7c4dcfa050aac566092f29b40458d5a
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 01:46:26 2008 -0700
jbd: unexport journal_update_superblock
Remove the unused EXPORT_SYMBOL(journal_update_superblock).
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Cc: <linux-ext4 at vger.kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3ccc3167b0e5d46ab3bf03e22fbdb7616ce038cd
Author: Duane Griffin <duaneg at dghda.com>
Date: Fri Jul 25 01:46:26 2008 -0700
ext3: handle deleting corrupted indirect blocks
While freeing indirect blocks we attach a journal head to the parent
buffer head, free the blocks, then journal the parent. If the indirect
block list is corrupted and points to the parent the journal head will be
detached when the block is cleared, causing an OOPS.
Check for that explicitly and handle it gracefully.
This patch fixes the third case (image hdb.20000057.nullderef.gz)
reported in http://bugzilla.kernel.org/show_bug.cgi?id=10882.
Immediately above the change, in the ext3_free_data function, we call
ext3_clear_blocks to clear the indirect blocks in this parent block. If
one of those blocks happens to actually be the parent block it will clear
b_private / BH_JBD.
I did the check at the end rather than earlier as it seemed more elegant.
I don't think there should be much practical difference, although it is
possible the FS may not be quite so badly corrupted if we did it the other
way (and didn't clear the block at all). To be honest, I'm not convinced
there aren't other similar failure modes lurking in this code, although I
couldn't find any with a quick review.
[akpm at linux-foundation.org: fix printk warning]
Signed-off-by: Duane Griffin <duaneg at dghda.com>
Cc: <linux-ext4 at vger.kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 95450f5a7e53d5752ce1a0d0b8282e10fe745ae0
Author: Hidehiro Kawai <hidehiro.kawai.ez at hitachi.com>
Date: Fri Jul 25 01:46:24 2008 -0700
ext3: don't read inode block if the buffer has a write error
A transient I/O error can corrupt inode data. Here is the scenario:
(1) update inode_A at the block_B
(2) pdflush writes out new inode_A to the filesystem, but it results
in write I/O error, at this point, BH_Uptodate flag of the buffer
for block_B is cleared and BH_Write_EIO is set
(3) create new inode_C which located at block_B, and
__ext3_get_inode_loc() tries to read on-disk block_B because the
buffer is not uptodate
(4) if it can read on-disk block_B successfully, inode_A is
overwritten by old data
This patch makes __ext3_get_inode_loc() not read the inode block if the
buffer has BH_Write_EIO flag. In this case, the buffer should have the
latest information, so setting the uptodate flag to the buffer (this
avoids WARN_ON_ONCE() in mark_buffer_dirty().)
According to this change, we would need to test BH_Write_EIO flag for the
error checking. Currently nobody checks write I/O errors on metadata
buffers, but it will be done in other patches I'm working on.
Signed-off-by: Hidehiro Kawai <hidehiro.kawai.ez at hitachi.com>
Cc: sugita <yumiko.sugita.yf at hitachi.com>
Cc: Satoshi OSHIMA <satoshi.oshima.fk at hitachi.com>
Cc: Nick Piggin <nickpiggin at yahoo.com.au>
Cc: Jan Kara <jack at ucw.cz>
Cc: <linux-ext4 at vger.kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit ae76dd9a6b5bbe5315fb7028e03f68f75b8538f3
Author: Duane Griffin <duaneg at dghda.com>
Date: Fri Jul 25 01:46:23 2008 -0700
ext3: handle corrupted orphan list at mount
If the orphan node list includes valid, untruncatable nodes with nlink > 0
the ext3_orphan_cleanup loop which attempts to delete them will not do so,
causing it to loop forever. Fix by checking for such nodes in the
ext3_orphan_get function.
This patch fixes the second case (image hdb.20000009.softlockup.gz)
reported in http://bugzilla.kernel.org/show_bug.cgi?id=10882.
[akpm at linux-foundation.org: coding-style fixes]
[akpm at linux-foundation.org: printk warning fix]
Signed-off-by: Duane Griffin <duaneg at dghda.com>
Cc: <linux-ext4 at vger.kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit ef1afd39519b74fbe1f63c9ab5a14490effec0e3
Author: Shen Feng <shen at cn.fujitsu.com>
Date: Fri Jul 25 01:46:23 2008 -0700
ext3: remove double definitions of xattr macros
remove the definitions of macros:
XATTR_TRUSTED_PREFIX
XATTR_USER_PREFIX
since they are defined in linux/xattr.h
Signed-off-by: Shen Feng <shen at cn.fujitsu.com>
Signed-off-by: Mingming Cao <cmm at us.ibm.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3f31fddfa26b7594b44ff2b34f9a04ba409e0f91
Author: Mingming Cao <cmm at us.ibm.com>
Date: Fri Jul 25 01:46:22 2008 -0700
jbd: fix race between free buffer and commit transaction
journal_try_to_free_buffers() could race with jbd commit transaction when
the later is holding the buffer reference while waiting for the data
buffer to flush to disk. If the caller of journal_try_to_free_buffers()
request tries hard to release the buffers, it will treat the failure as
error and return back to the caller. We have seen the directo IO failed
due to this race. Some of the caller of releasepage() also expecting the
buffer to be dropped when passed with GFP_KERNEL mask to the
releasepage()->journal_try_to_free_buffers().
With this patch, if the caller is passing the __GFP_WAIT and __GFP_FS to
indicating this call could wait, in case of try_to_free_buffers() failed,
let's waiting for journal_commit_transaction() to finish commit the
current committing transaction, then try to free those buffers again.
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Mingming Cao <cmm at us.ibm.com>
Reviewed-by: Badari Pulavarty <pbadari at us.ibm.com>
Acked-by: Jan Kara <jack at suse.cz>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 9ebfbe9f926553eabc21b4400918d1216b27ed0c
Author: Shen Feng <shen at cn.fujitsu.com>
Date: Fri Jul 25 01:46:21 2008 -0700
ext3: improve some code in rb tree part of dir.c
- remove unnecessary code in free_rb_tree_fname
- rename free_rb_tree_fname to ext3_htree_create_dir_info
since it and ext3_htree_free_dir_info are a pair
- replace kmalloc with kzalloc in ext3_htree_free_dir_info
Signed-off-by: Shen Feng <shen at cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 1984bb763c2e50d0ebfb0cf56d1b319bd7afe63a
Author: Duane Griffin <duaneg at dghda.com>
Date: Fri Jul 25 01:46:21 2008 -0700
jbd: tidy up revoke cache initialisation and destruction
Make revocation cache destruction safe to call if initialisation fails
partially or entirely. This allows it to be used to cleanup in the case
of initialisation failure, simplifying that code slightly.
Signed-off-by: Duane Griffin <duaneg at dghda.com>
Cc: <linux-ext4 at vger.kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f4d79ca2fa211cffc07306eeed7013448e77d7ec
Author: Duane Griffin <duaneg at dghda.com>
Date: Fri Jul 25 01:46:20 2008 -0700
jbd: eliminate duplicated code in revocation table init/destroy functions
The revocation table initialisation/destruction code is repeated for each
of the two revocation tables stored in the journal. Refactoring the
duplicated code into functions is tidier, simplifies the logic in
initialisation in particular, and slightly reduces the code size.
There should not be any functional change.
Signed-off-by: Duane Griffin <duaneg at dghda.com>
Cc: <linux-ext4 at vger.kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3850f7a521dc17659ef6758a219f083418788490
Author: Duane Griffin <duaneg at dghda.com>
Date: Fri Jul 25 01:46:19 2008 -0700
jbd: replace potentially false assertion with if block
If an error occurs during jbd cache initialisation it is possible for the
journal_head_cache to be NULL when journal_destroy_journal_head_cache is
called. Replace the J_ASSERT with an if block to handle the situation
correctly.
Note that even with this fix things will break badly if jbd is statically
compiled in and cache initialisation fails.
Signed-off-by: Duane Griffin <duaneg at dghda.com
Cc: <linux-ext4 at vger.kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit d06bf1d252fe16f5f0d13e04da7a9913420aa1cf
Author: Jan Kara <jack at suse.cz>
Date: Fri Jul 25 01:46:18 2008 -0700
ext3: correct mount option parsing to detect when quota options can be changed
We should not allow user to change quota mount options when quota is just
suspended. I would make mount options and internal quota state inconsistent.
Also we should not allow user to change quota format when quota is turned on.
On the other hand we can just silently ignore when some option is set to the
value it already has (mount does this on remount).
Cc: <linux-ext4 at vger.kernel.org>
Signed-off-by: Jan Kara <jack at suse.cz>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 99aeaf639f61ab6be1967e5f92e2e28dafad8383
Author: Jan Kara <jack at suse.cz>
Date: Fri Jul 25 01:46:17 2008 -0700
ext3: fix typos in messages and comments (journalled -> journaled)
Cc: <linux-ext4 at vger.kernel.org>
Signed-off-by: Jan Kara <jack at suse.cz>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 9cfe7b9010aa66da5f3b2bc33d9e30a4d53bd274
Author: Jan Kara <jack at suse.cz>
Date: Fri Jul 25 01:46:16 2008 -0700
ext3: fix synchronization of quota files in journal=data mode
In journal=data mode, it is not enough to do write_inode_now as done in
vfs_quota_on() to write all data to their final location (which is needed for
quota_read to work correctly). Calling journal_flush() does its job.
Reported-by: Nick <gentuu at gmail.com>
Cc: <linux-ext4 at vger.kernel.org>
Signed-off-by: Jan Kara <jack at suse.cz>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 50c33a84db4aa5082e3af8d873b22344ae2ebea8
Author: Samuel Thibault <samuel.thibault at ens-lyon.org>
Date: Fri Jul 25 01:46:16 2008 -0700
ext2: fix typo in Hurd part of include/linux/ext2_fs.h
Fix typo in Hurd part of include/linux/ext2_fs.h
The ';' here is redundant or can even pose problem. This is actually not
used by the Linux kernel, but it is exposed in GNU/Hurd.
Signed-off-by: Samuel Thibault <samuel.thibault at ens-lyon.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f905f06fca5d3949eca12f5a43e251a404b3470a
Author: Shen Feng <shen at cn.fujitsu.com>
Date: Fri Jul 25 01:46:15 2008 -0700
ext2: remove double definitions of xattr macros
remove the definitions of macros:
XATTR_TRUSTED_PREFIX
XATTR_USER_PREFIX
since they are defined in linux/xattr.h
Signed-off-by: Shen Feng <shen at cn.fujitsu.com>
Signed-off-by: Mingming Cao <cmm at us.ibm.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit fb523f32275344282f20ef3352cbf03e599241e6
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 01:46:14 2008 -0700
minix: remove !NO_TRUNCATE code
This patch removes the !NO_TRUNCATE code that anyway required a manual
editing of the code for being used.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit bbcd6d543de335bf81e96477f46a60a8bf51039c
Author: Eric Miao <eric.miao at marvell.com>
Date: Fri Jul 25 01:46:14 2008 -0700
gpio: max732x driver
This adds a driver supporting a family of I2C port expanders from Maxim,
which includes the MAX7319 and MAX7320-7327 chips.
[dbrownell at users.sourceforge.net: minor fixes]
Signed-off-by: Jack Ren <jack.ren at marvell.com>
Signed-off-by: Eric Miao <eric.miao at marvell.com>
Acked-by: Jean Delvare <khali at linux-fr.org>
Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7444a72effa632fcd8edc566f880d96fe213c73b
Author: Michael Buesch <mb at bu3sch.de>
Date: Fri Jul 25 01:46:11 2008 -0700
gpiolib: allow user-selection
This patch adds functionality to the gpio-lib subsystem to make it
possible to enable the gpio-lib code even if the architecture code didn't
request to get it built in.
The archtitecture code does still need to implement the gpiolib accessor
functions in its asm/gpio.h file. This patch adds the implementations for
x86 and PPC.
With these changes it is possible to run generic GPIO expansion cards on
every architecture that implements the trivial wrapper functions. Support
for more architectures can easily be added.
Signed-off-by: Michael Buesch <mb at bu3sch.de>
Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Cc: Stephen Rothwell <sfr at canb.auug.org.au>
Cc: David Brownell <david-b at pacbell.net>
Cc: Russell King <rmk at arm.linux.org.uk>
Cc: Haavard Skinnemoen <hskinnemoen at atmel.com>
Cc: Jesper Nilsson <jesper.nilsson at axis.com>
Cc: Ralf Baechle <ralf at linux-mips.org>
Cc: Paul Mackerras <paulus at samba.org>
Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Thomas Gleixner <tglx at linutronix.de>
Cc: Jean Delvare <khali at linux-fr.org>
Cc: Samuel Ortiz <sameo at openedhand.com>
Cc: Kumar Gala <galak at gate.crashing.org>
Cc: Sam Ravnborg <sam at ravnborg.org>
Cc: Adrian Bunk <bunk at stusta.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit ff1d5c2f0268f4e32103536e2e65480b5b7b6530
Author: Michael Buesch <mb at bu3sch.de>
Date: Fri Jul 25 01:46:10 2008 -0700
gpio: add bt8xxgpio driver
This adds the bt8xxgpio driver. The purpose of the bt8xxgpio driver is to
export all of the 24 GPIO pins available on Brooktree 8xx chips to the
kernel GPIO infrastructure.
This makes it possible to use a physically modified BT8xx card as
cheap digital GPIO card.
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Michael Buesch <mb at bu3sch.de>
Cc: David Brownell <david-b at pacbell.net>
Cc: Stephen Rothwell <sfr at canb.auug.org.au>
Cc: Mauro Carvalho Chehab <mchehab at infradead.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 8f1cc3b10e6ee0c5c7c8ed27f8771c4f252b4862
Author: David Brownell <david-b at pacbell.net>
Date: Fri Jul 25 01:46:09 2008 -0700
gpio: mcp23s08 handles multiple chips per chipselect
Teach the mcp23s08 driver about a curious feature of these chips: up to
four of them can share the same chipselect, with the SPI signals wired in
parallel, by matching two bits in the first protocol byte against two
address lines on the chip.
This is handled by three software changes:
* Platform data now holds an array of per-chip structs, not
just one chip's address and pullup configuration.
* Probe() and remove() now use another level of structure,
wrapping an instance of the original structure for each
mcp23s08 chip sharing that chipselect.
* The HAEN bit is set, so that the hardware address bits can no
longer be ignored (boot firmware may not have enabled them).
The "one struct per chip" preserves the guts of the current code,
but platform_data will need minor changes.
OLD:
/* incorrect "slave" ID may not have mattered */
.slave = 3,
.pullups = BIT(3) | BIT(1) | BIT(0),
NEW:
/* slave address _must_ match chip's wiring */
.chip[3] = {
.is_present = true,
.pullups = BIT(3) | BIT(1) | BIT(0),
},
There's no change in how things _behave_ for spi_device nodes with a
single mcp23s08 chip. New multi-chip configurations assign GPIOs in
sequence, without holes. The spi_device just resembles a bigger
controller, but internally it has multiple gpio_chip instances.
Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit d8f388d8dc8d4f36539dd37c1fff62cc404ea0fc
Author: David Brownell <dbrownell at users.sourceforge.net>
Date: Fri Jul 25 01:46:07 2008 -0700
gpio: sysfs interface
This adds a simple sysfs interface for GPIOs.
/sys/class/gpio
/export ... asks the kernel to export a GPIO to userspace
/unexport ... to return a GPIO to the kernel
/gpioN ... for each exported GPIO #N
/value ... always readable, writes fail for input GPIOs
/direction ... r/w as: in, out (default low); write high, low
/gpiochipN ... for each gpiochip; #N is its first GPIO
/base ... (r/o) same as N
/label ... (r/o) descriptive, not necessarily unique
/ngpio ... (r/o) number of GPIOs; numbered N .. N+(ngpio - 1)
GPIOs claimed by kernel code may be exported by its owner using a new
gpio_export() call, which should be most useful for driver debugging.
Such exports may optionally be done without a "direction" attribute.
Userspace may ask to take over a GPIO by writing to a sysfs control file,
helping to cope with incomplete board support or other "one-off"
requirements that don't merit full kernel support:
echo 23 > /sys/class/gpio/export
... will gpio_request(23, "sysfs") and gpio_export(23);
use /sys/class/gpio/gpio-23/direction to (re)configure it,
when that GPIO can be used as both input and output.
echo 23 > /sys/class/gpio/unexport
... will gpio_free(23), when it was exported as above
The extra D-space footprint is a few hundred bytes, except for the sysfs
resources associated with each exported GPIO. The additional I-space
footprint is about two thirds of the current size of gpiolib (!). Since
no /dev node creation is involved, no "udev" support is needed.
Related changes:
* This adds a device pointer to "struct gpio_chip". When GPIO
providers initialize that, sysfs gpio class devices become children of
that device instead of being "virtual" devices.
* The (few) gpio_chip providers which have such a device node have
been updated.
* Some gpio_chip drivers also needed to update their module "owner"
field ... for which missing kerneldoc was added.
* Some gpio_chips don't support input GPIOs. Those GPIOs are now
flagged appropriately when the chip is registered.
Based on previous patches, and discussion both on and off LKML.
A Documentation/ABI/testing/sysfs-gpio update is ready to submit once this
merges to mainline.
[akpm at linux-foundation.org: a few maintenance build fixes]
Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
Cc: Guennadi Liakhovetski <g.liakhovetski at pengutronix.de>
Cc: Greg KH <greg at kroah.com>
Cc: Kay Sievers <kay.sievers at vrfy.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 8b6dd986823a8d92ed9f54baa5cef8604d9d9d44
Author: Abhishek Sagar <sagar.abhishek at gmail.com>
Date: Fri Jul 25 01:46:05 2008 -0700
kprobes: remove redundant config check
I noticed that there's a CONFIG_KPROBES check inside kernel/kprobes.c,
which is redundant.
Signed-off-by: Abhishek Sagar <sagar.abhishek at gmail.com>
Acked-by: Masami Hiramatsu <mhiramat at redhat.com>
Cc: Ananth N Mavinakayanahalli <ananth at in.ibm.com>
Cc: Anil S Keshavamurthy <anil.s.keshavamurthy at intel.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit ef53d9c5e4da147ecaa43c44c5e5945eb83970a2
Author: Srinivasa D S <srinivasa at in.ibm.com>
Date: Fri Jul 25 01:46:04 2008 -0700
kprobes: improve kretprobe scalability with hashed locking
Currently list of kretprobe instances are stored in kretprobe object (as
used_instances,free_instances) and in kretprobe hash table. We have one
global kretprobe lock to serialise the access to these lists. This causes
only one kretprobe handler to execute at a time. Hence affects system
performance, particularly on SMP systems and when return probe is set on
lot of functions (like on all systemcalls).
Solution proposed here gives fine-grain locks that performs better on SMP
system compared to present kretprobe implementation.
Solution:
1) Instead of having one global lock to protect kretprobe instances
present in kretprobe object and kretprobe hash table. We will have
two locks, one lock for protecting kretprobe hash table and another
lock for kretporbe object.
2) We hold lock present in kretprobe object while we modify kretprobe
instance in kretprobe object and we hold per-hash-list lock while
modifying kretprobe instances present in that hash list. To prevent
deadlock, we never grab a per-hash-list lock while holding a kretprobe
lock.
3) We can remove used_instances from struct kretprobe, as we can
track used instances of kretprobe instances using kretprobe hash
table.
Time duration for kernel compilation ("make -j 8") on a 8-way ppc64 system
with return probes set on all systemcalls looks like this.
cacheline non-cacheline Un-patched kernel
aligned patch aligned patch
===============================================================================
real 9m46.784s 9m54.412s 10m2.450s
user 40m5.715s 40m7.142s 40m4.273s
sys 2m57.754s 2m58.583s 3m17.430s
===========================================================
Time duration for kernel compilation ("make -j 8) on the same system, when
kernel is not probed.
=========================
real 9m26.389s
user 40m8.775s
sys 2m7.283s
=========================
Signed-off-by: Srinivasa DS <srinivasa at in.ibm.com>
Signed-off-by: Jim Keniston <jkenisto at us.ibm.com>
Acked-by: Ananth N Mavinakayanahalli <ananth at in.ibm.com>
Cc: Anil S Keshavamurthy <anil.s.keshavamurthy at intel.com>
Cc: David S. Miller <davem at davemloft.net>
Cc: Masami Hiramatsu <mhiramat at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 53a9600c634e3bfd6230e0597aca159bf4d4d010
Author: Ben Dooks <ben-linux at fluff.org>
Date: Fri Jul 25 01:46:03 2008 -0700
mfd: sm501 fix gpio number calculation for upper bank
The sm501_gpio_pin2nr() routine returns the wrong values for gpios in the
upper bank.
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f2999209d779573e17468b680f5f267d8cb2a9c7
Author: Ben Dooks <ben-linux at fluff.org>
Date: Fri Jul 25 01:46:02 2008 -0700
mfd: sm501 build fixes when CONFIG_MFD_SM501_GPIO unset
Fix the build problems if CONFIG_MFD_SM501_GPIO is not set, which is
generally when there is no gpiolib support available as currently happens
on x86 when building PCI SM501.
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Tested-by: Li Zefan <lizf at cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 28130bea3bcfefe3437b0a5dcab786f1f0296953
Author: Ben Dooks <ben-linux at fluff.org>
Date: Fri Jul 25 01:46:02 2008 -0700
sm501: fixes for akpms comments on gpiolib addition
Fixup the comments from the patch that added the gpiolib support from
Andrew Morton. These include spotting some missing frees on error or
release, and changing a memcpy for a type-safe assingment.
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 42cd2366fb9b58cdfc1855be32b31a78e40b2079
Author: Ben Dooks <ben-linux at fluff.org>
Date: Fri Jul 25 01:46:01 2008 -0700
sm501: gpio I2C support
Add support for adding the GPIO based I2C resources.
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Cc: Arnaud Patard <apatard at mandriva.com>
Cc: David Brownell <david-b at pacbell.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 60e540d617b40eb3d37f1dd99c97af588ff9b70b
Author: Arnaud Patard <apatard at mandriva.com>
Date: Fri Jul 25 01:46:00 2008 -0700
sm501: gpio dynamic registration for PCI devices
The SM501 PCI card requires a dyanmic gpio allocation as the number of
cards is not known at compile time. Fixup the platform data and
registration to deal with this.
Acked-by: Ben Dooks <ben-linux at fluff.org>
Signed-off-by: Arnaud Patard <apatard at mandriva.com>
Cc: David Brownell <david-b at pacbell.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f61be273d3699d174bc1438e6804f9f9e52bb932
Author: Ben Dooks <ben-linux at fluff.org>
Date: Fri Jul 25 01:45:59 2008 -0700
sm501: add gpiolib support
Add support for exporting the GPIOs on the SM501 via gpiolib.
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Cc: Arnaud Patard <apatard at mandriva.com>
Cc: David Brownell <david-b at pacbell.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 472dba7d117844c746be97db6be26c2810d79b62
Author: Ben Dooks <ben-linux at fluff.org>
Date: Fri Jul 25 01:45:58 2008 -0700
sm501: add power control callback
Add callback to get or set the power control if the device has the sleep
connected to some form of GPIO.
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Cc: Arnaud Patard <apatard at mandriva.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 717115e1a5856b57af0f71e1df7149108294fc10
Author: Dave Young <hidave.darkstar at gmail.com>
Date: Fri Jul 25 01:45:58 2008 -0700
printk ratelimiting rewrite
All ratelimit user use same jiffies and burst params, so some messages
(callbacks) will be lost.
For example:
a call printk_ratelimit(5 * HZ, 1)
b call printk_ratelimit(5 * HZ, 1) before the 5*HZ timeout of a, then b will
will be supressed.
- rewrite __ratelimit, and use a ratelimit_state as parameter. Thanks for
hints from andrew.
- Add WARN_ON_RATELIMIT, update rcupreempt.h
- remove __printk_ratelimit
- use __ratelimit in net_ratelimit
Signed-off-by: Dave Young <hidave.darkstar at gmail.com>
Cc: "David S. Miller" <davem at davemloft.net>
Cc: "Paul E. McKenney" <paulmck at us.ibm.com>
Cc: Dave Young <hidave.darkstar at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 2711b793eb62a5873a0ba583a69252040aef176e
Author: Vegard Nossum <vegard.nossum at gmail.com>
Date: Fri Jul 25 01:45:56 2008 -0700
kallsyms: unify 32- and 64-bit code
Use the %p format string which already accounts for the padding you need
with a pointer type on a particular architecture.
Also replace the macro with a static inline function to match the rest of
the file.
Cc: Heiko Carstens <heiko.carstens at de.ibm.com>
Cc: Arjan van de Ven <arjan at infradead.org>
Signed-off-by: Vegard Nossum <vegard.nossum at gmail.com>
Cc: Sam Ravnborg <sam at ravnborg.org>
Cc: Randy Dunlap <randy.dunlap at oracle.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 924d9addb9b1474fc81a78a5c6706755efea7aaa
Author: Dave Jones <davej at redhat.com>
Date: Fri Jul 25 01:45:55 2008 -0700
list debugging: use WARN() instead of BUG()
Arjan noted that the list_head debugging is BUG'ing when it detects
corruption. By causing the box to panic immediately, we're possibly
losing some bug reports. Changing this to a WARN() should mean we at the
least start seeing reports collected at kerneloops.org
Signed-off-by: Dave Jones <davej at redhat.com>
Cc: Matthew Wilcox <matthew at wil.cx>
Cc: Arjan van de Ven <arjan at infradead.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit d955c78ac4699ac9c3fe07be62982cda13d13267
Author: Arjan van de Ven <arjan at linux.intel.com>
Date: Fri Jul 25 01:45:55 2008 -0700
Example use of WARN()
Now that WARN() exists, we can fold some of the printk's into it.
Signed-off-by: Arjan van de Ven <arjan at linux.intel.com>
Cc: Greg KH <greg at kroah.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7a2c477069fbd32f91598f05334003979b987a39
Author: Arjan van de Ven <arjan at linux.intel.com>
Date: Fri Jul 25 01:45:54 2008 -0700
kernel/irq/manage.c: replace a printk + WARN_ON() to a WARN()
Replace a printk+WARN_ON() by a WARN(); this increases the chance of the
string making it into the bugreport (ie: it goes inside the
---[ cut here ]--- section)
Signed-off-by: Arjan van de Ven <arjan at linux.intel.com>
Cc: Thomas Gleixner <tglx at linutronix.de>
Cc: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a8f18b909c0a3f22630846207035c8b84bb252b8
Author: Arjan van de Ven <arjan at linux.intel.com>
Date: Fri Jul 25 01:45:53 2008 -0700
Add a WARN() macro; this is WARN_ON() + printk arguments
Add a WARN() macro that acts like WARN_ON(), with the added feature that it
takes a printk like argument that is printed as part of the warning message.
[akpm at linux-foundation.org: fix printk arguments]
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Arjan van de Ven <arjan at linux.intel.com>
Cc: Greg KH <greg at kroah.com>
Cc: Jiri Slaby <jirislaby at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b6c63937001889af6fe431aaba97e59d04e028e7
Author: Arjan van de Ven <arjan at linux.intel.com>
Date: Fri Jul 25 01:45:52 2008 -0700
Rename WARN() to WARNING() to clear the namespace
We want to use WARN() as a variant of WARN_ON(), however a few drivers are
using WARN() internally. This patch renames these to WARNING() to avoid the
namespace clash. A few cases were defining but not using the thing, for those
cases I just deleted the definition.
Signed-off-by: Arjan van de Ven <arjan at linux.intel.com>
Acked-by: Greg KH <greg at kroah.com>
Cc: Karsten Keil <kkeil at suse.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f38954c93c4a548f55d73ac5c1cf5e7f4023bb6c
Author: Andrew Morton <akpm at linux-foundation.org>
Date: Fri Jul 25 01:45:52 2008 -0700
drivers/misc/hpilo.c needs CONFIG_PCI
m68k allmodconfig:
drivers/misc/hpilo.c: In function 'ilo_ccb_close':
drivers/misc/hpilo.c:225: error: implicit declaration of function 'pci_free_consistent'
drivers/misc/hpilo.c: In function 'ilo_ccb_open':
drivers/misc/hpilo.c:244: error: implicit declaration of function 'pci_alloc_consistent'
drivers/misc/hpilo.c:245: warning: assignment makes pointer from integer without a cast
Cc: David Altobelli <david.altobelli at hp.com>
Cc: Greg Kroah-Hartman <gregkh at suse.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a7f371e54fac49ff62bb640d4a7276fca01527e8
Author: Johannes Weiner <hannes at saeurebad.de>
Date: Fri Jul 25 01:45:51 2008 -0700
documentation: update CodingStyle tips for Emacs users
Describe a setup that integrates better with Emacs' cc-mode and also fixes
up the alignment of continuation lines to really only use tabs.
Signed-off-by: Johannes Weiner <hannes at saeurebad.de>
Cc: Jonathan Corbet <corbet at lwn.net>
Cc: Randy Dunlap <randy.dunlap at oracle.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 197dcffc8ba0ea943fee86e28e99cd9575799772
Author: Daniel Guilak <guilak at linux.vnet.ibm.com>
Date: Fri Jul 25 01:45:50 2008 -0700
init/version.c: define version_string only if CONFIG_KALLSYMS is not defined
int Version_* is only used with ksymoops, which is only needed (according
to README and Documentation/Changes) if CONFIG_KALLSYMS is NOT defined.
Therefore this patch defines version_string only if CONFIG_KALLSYMS is not
defined.
Signed-off-by: Daniel Guilak <daniel at danielguilak.com>
Cc: Randy Dunlap <randy.dunlap at oracle.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 277e2c695907a70b316a31769cd891dc4d43b7f3
Author: Daniel Guilak <guilak at linux.vnet.ibm.com>
Date: Fri Jul 25 01:45:49 2008 -0700
init/version.c: silence sparse warning by declaring the version string
Signed-off-by: Daniel Guilak <daniel at danielguilak.com>
Cc: Randy Dunlap <randy.dunlap at oracle.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 4500d067eeb3d00679335d9cf5c6536e79cd3ef4
Author: Robert P. J. Day <rpjday at crashcourse.ca>
Date: Fri Jul 25 01:45:49 2008 -0700
init.h: remove obsolete content
Remove apparently obsolete content from init.h referring to gcc 2.9x
and to "no_module_init".
Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit db358b40e0674fd4079204d8e3e1c8ab3829a1b9
Author: Kay Sievers <kay.sievers at vrfy.org>
Date: Fri Jul 25 01:45:48 2008 -0700
parport: fix platform driver hotplug/coldplug
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf (platform: prefix MODALIAS
with "platform:"), the platform modalias is prefixed with "platform:".
Add MODULE_ALIAS() to the hotpluggable parport platform drivers, to
re-enable auto loading.
Signed-off-by: Kay Sievers <kay.sievers at vrfy.org>
Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
Cc: Greg KH <greg at kroah.com>
Cc: "Rafael J. Wysocki" <rjw at sisk.pl>
Acked-by: Ben Dooks <ben-linux at fluff.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 4f46d6e7e5ffbce0ee1d1a80767fdf45e56cc863
Author: Kay Sievers <kay.sievers at vrfy.org>
Date: Fri Jul 25 01:45:47 2008 -0700
mfd: fix platform driver hotplug/coldplug
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf (platform: prefix MODALIAS
with "platform:"), the platform modalias is prefixed with "platform:".
Add MODULE_ALIAS() to the MFD platform drivers, to re-enable auto loading.
[dbrownell at users.sourceforge.net: one was missing]
Signed-off-by: Kay Sievers <kay.sievers at vrfy.org>
Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
Cc: Greg KH <greg at kroah.com>
Cc: "Rafael J. Wysocki" <rjw at sisk.pl>
Cc: Samuel Ortiz <samuel at sortiz.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 2f5a5cf93fae7b8354b45b8443dcc3448a8fc276
Author: Kay Sievers <kay.sievers at vrfy.org>
Date: Fri Jul 25 01:45:46 2008 -0700
drivers/power: fix platform driver hotplug/coldplug
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf ("platform: prefix MODALIAS
with "platform:"), the platform modalias is prefixed with "platform:".
Add MODULE_ALIAS() to the hotpluggable "power" drivers drivers, to
re-enable auto loading.
[dbrownell at users.sourceforge.net: one was missing]
Signed-off-by: Kay Sievers <kay.sievers at vrfy.org>
Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
Cc: Greg KH <greg at kroah.com>
Cc: "Rafael J. Wysocki" <rjw at sisk.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 2d6ffcca623a9a16df6cdfbe8250b7a5904a5f5e
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date: Fri Jul 25 01:45:44 2008 -0700
inflate: refactor inflate malloc code
Inflate requires some dynamic memory allocation very early in the boot
process and this is provided with a set of four functions:
malloc/free/gzip_mark/gzip_release.
The old inflate code used a mark/release strategy rather than implement
free. This new version instead keeps a count on the number of outstanding
allocations and when it hits zero, it resets the malloc arena.
This allows removing all the mark and release implementations and unifying
all the malloc/free implementations.
The architecture-dependent code must define two addresses:
- free_mem_ptr, the address of the beginning of the area in which
allocations should be made
- free_mem_end_ptr, the address of the end of the area in which
allocations should be made. If set to 0, then no check is made on
the number of allocations, it just grows as much as needed
The architecture-dependent code can also provide an arch_decomp_wdog()
function call. This function will be called several times during the
decompression process, and allow to notify the watchdog that the system is
still running. If an architecture provides such a call, then it must
define ARCH_HAS_DECOMP_WDOG so that the generic inflate code calls
arch_decomp_wdog().
Work initially done by Matt Mackall, updated to a recent version of the
kernel and improved by me.
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Cc: Matt Mackall <mpm at selenic.com>
Cc: Richard Henderson <rth at twiddle.net>
Cc: Ivan Kokshaysky <ink at jurassic.park.msu.ru>
Cc: Mikael Starvik <mikael.starvik at axis.com>
Cc: Jesper Nilsson <jesper.nilsson at axis.com>
Cc: Haavard Skinnemoen <hskinnemoen at atmel.com>
Cc: David Howells <dhowells at redhat.com>
Cc: Ingo Molnar <mingo at elte.hu>
Cc: Thomas Gleixner <tglx at linutronix.de>
Cc: Andi Kleen <andi at firstfloor.org>
Cc: "H. Peter Anvin" <hpa at zytor.com>
Acked-by: Paul Mundt <lethal at linux-sh.org>
Acked-by: Yoshinori Sato <ysato at users.sourceforge.jp>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit ba92a43dbaee339cf5915ef766d3d3ffbaaf103c
Author: Hugh Dickins <hugh at veritas.com>
Date: Fri Jul 25 01:45:43 2008 -0700
exec: remove some includes
fs/exec.c used to need mman.h pagemap.h swap.h and rmap.h when it did
mm-ish stuff in install_arg_page(); but no need for them after 2.6.22.
[akpm at linux-foundation.org: unbreak arm]
Signed-off-by: Hugh Dickins <hugh at veritas.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 2b4bc46052ea8cd7c370b67ca0b9c26586f1439a
Author: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
Date: Fri Jul 25 01:45:42 2008 -0700
pdflush: use time_after() instead of open-coding it
Signed-off-by: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b69c49b78457f681ecfb3147bd968434ee6559c1
Author: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
Date: Fri Jul 25 01:45:40 2008 -0700
clean up duplicated alloc/free_thread_info
We duplicate alloc/free_thread_info defines on many platforms (the
majority uses __get_free_pages/free_pages). This patch defines common
defines and removes these duplicated defines.
__HAVE_ARCH_THREAD_INFO_ALLOCATOR is introduced for platforms that do
something different.
Signed-off-by: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
Acked-by: Russell King <rmk+kernel at arm.linux.org.uk>
Cc: Pekka Enberg <penberg at cs.helsinki.fi>
Cc: <linux-arch at vger.kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 62ec30d45ecbb85b5991474c8f04192697687495
Author: Matthew Garrett <mjg59 at srcf.ucam.org>
Date: Fri Jul 25 01:45:39 2008 -0700
misc: add HP WMI laptop extras driver
This driver adds support for reading and configuring certain information
on modern HP laptops with WMI BIOS interfaces. It supports enabling and
disabling the ambient light sensor, querying attached displays and hard
drive temperature, sending events on docking and querying the state of the
dock and toggling the state of the wifi, bluetooth and wwan hardware via
rfkill. It also makes the little "(i)" button work on machines that send
that via WMI rather than via the keyboard controller.
Signed-off-by: Matthew Garrett <mjg at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit ac331d158e198d2a91a5b0a3ec4ca9991fdb57af
Author: KOSAKI Motohiro <kosaki.motohiro at jp.fujitsu.com>
Date: Fri Jul 25 01:45:38 2008 -0700
call_usermodehelper(): increase reliability
Presently call_usermodehelper_setup() uses GFP_ATOMIC. but it can return
NULL _very_ easily.
GFP_ATOMIC is needed only when we can't sleep. and, GFP_KERNEL is robust
and better.
thus, I add gfp_mask argument to call_usermodehelper_setup().
So, its callers pass the gfp_t as below:
call_usermodehelper() and call_usermodehelper_keys():
depend on 'wait' argument.
call_usermodehelper_pipe():
always GFP_KERNEL because always run under process context.
orderly_poweroff():
pass to GFP_ATOMIC because may run under interrupt context.
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro at jp.fujitsu.com>
Cc: "Paul Menage" <menage at google.com>
Reviewed-by: Li Zefan <lizf at cn.fujitsu.com>
Acked-by: Jeremy Fitzhardinge <jeremy at xensource.com>
Cc: Rusty Russell <rusty at rustcorp.com.au>
Cc: Andi Kleen <andi at firstfloor.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f557d0996a6f9c06912528ea85e1dba0fb7d485f
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 01:45:37 2008 -0700
remove some more tipar bits
Some bits were missed when the tipar driver was removed.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f16695f4ac088cf7593e113574046d2d7e5af5eb
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 01:45:36 2008 -0700
asm-generic/int-ll64.h: always provide __{s,u}64
Several compilers offer "long long" without claiming to support C99.
Considering how frequent __s64/__u64 are used our userspace headers are
anyway unusable without __s64/__u64 available.
Always offer __s64/__u64 to non-gcc non-C99 compilers - if they provide
"long long" that makes the headers compiling and if they don't they are
anyway screwed.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Acked-by: H. Peter Anvin <hpa at zytor.com>
Cc: Harvey Harrison <harvey.harrison at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit cebbd3fb803603b12408458ba17c29ce1e15a5f2
Author: Andrew Morton <akpm at linux-foundation.org>
Date: Fri Jul 25 01:45:35 2008 -0700
build-kernel-profileo-only-when-requested-cleanups
Cc: Adrian Bunk <bunk at kernel.org>
Cc: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b03f6489f9f27dc519a4c60ebf39cc7b8a58eae7
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 01:45:35 2008 -0700
build kernel/profile.o only when requested
Build kernel/profile.o only if CONFIG_PROFILING is enabled.
This makes CONFIG_PROFILING=n kernels smaller.
As a bonus, some profile_tick() calls and one branch from schedule() are
now eliminated with CONFIG_PROFILING=n (but I doubt these are
measurable effects).
This patch changes the effects of CONFIG_PROFILING=n, but I don't think
having more than two choices would be the better choice.
This patch also adds the name of the first parameter to the prototypes
of profile_{hits,tick}() since I anyway had to add them for the dummy
functions.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Cc: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 696adfe84c11c571a1e0863460ff0ec142b4e5a9
Author: Paul E. McKenney <paulmck at linux.vnet.ibm.com>
Date: Fri Jul 25 01:45:34 2008 -0700
list_for_each_rcu must die: networking
All uses of list_for_each_rcu() can be profitably replaced by the
easier-to-use list_for_each_entry_rcu(). This patch makes this change for
networking, in preparation for removing the list_for_each_rcu() API
entirely.
Acked-by: David S. Miller <davem at davemloft.net>
Signed-off-by: Paul E. McKenney <paulmck at linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 2fc9c4e18f94431e7eb77d97edb2a995b46fba55
Author: Vegard Nossum <vegard.nossum at gmail.com>
Date: Fri Jul 25 01:45:34 2008 -0700
kallsyms: fix potential overflow in binary search
This will probably never trigger... but it won't hurt to be careful.
http://googleresearch.blogspot.com/2006/06/extra-extra-read-all-about-it-nearly.html
Signed-off-by: Vegard Nossum <vegard.nossum at gmail.com>
Cc: Joshua Bloch <jjb at google.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 58340a07c194e0aed7bc58b61ff24330bb2a409f
Author: Johannes Berg <johannes at sipsolutions.net>
Date: Fri Jul 25 01:45:33 2008 -0700
introduce HAVE_EFFICIENT_UNALIGNED_ACCESS Kconfig symbol
In many cases, especially in networking, it can be beneficial to know at
compile time whether the architecture can do unaligned accesses efficiently.
This patch introduces a new Kconfig symbol
HAVE_EFFICIENT_UNALIGNED_ACCESS
for that purpose and adds it to the powerpc and x86 architectures. Also add
some documentation about alignment and networking, and especially one intended
use of this symbol.
Signed-off-by: Johannes Berg <johannes at sipsolutions.net>
Acked-by: Sam Ravnborg <sam at ravnborg.org>
Acked-by: Ingo Molnar <mingo at elte.hu> [x86 architecture part]
Cc: <linux-arch at vger.kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit e0ce0da9fefcc723dc006c35a7f91a32750abd40
Author: Robert P. J. Day <rpjday at crashcourse.ca>
Date: Fri Jul 25 01:45:32 2008 -0700
lists: remove a redundant conditional definition of list_add()
Remove the conditional surrounding the definition of list_add() from list.h
since, if you define CONFIG_DEBUG_LIST, the definition you will subsequently
pick up from lib/list_debug.c will be absolutely identical, at which point you
can remove that redundant definition from list_debug.c as well.
Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>
Cc: Dave Jones <davej at codemonkey.org.uk>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit fd193829744bc77392395cf8f47889235c97f0a3
Author: Robert P. J. Day <rpjday at crashcourse.ca>
Date: Fri Jul 25 01:45:31 2008 -0700
lib: allow memparse() to accept a NULL and ignorable second parm
Extend memparse() to allow the caller to use a NULL second parameter, which
would represent no interest in returning the address of the end of the parsed
string.
In numerous cases, callers invoke memparse() to parse a possibly-suffixed
string (such as "64K" or "2G" or whatever) and define a character pointer to
accept the end pointer being returned by memparse() even though they have no
interest in it and promptly throw it away.
This (backward-compatible) enhancement allows callers to use NULL in the cases
where they just don't care about getting back that end pointer.
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit cb345d7352aa9e692ef4b83c41d3e6e1cdb2f846
Author: Robert P. J. Day <rpjday at crashcourse.ca>
Date: Fri Jul 25 01:45:30 2008 -0700
init/: delete hard-coded setting and testing of BUILD_CRAMDISK
There seems to be little point in explicitly setting, then testing the macro
BUILD_CRAMDISK within the context of a single source file.
Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b39c08cb692cb8898c30e0d8187c7cbe27cc905c
Author: Robert P. J. Day <rpjday at crashcourse.ca>
Date: Fri Jul 25 01:45:29 2008 -0700
Remove apparently unused fd1772.h header file.
This header file has been unused for quite some time, and the
corresponding source files appear to have been removed back in commit
99eb8a550dbccc0e1f6c7e866fe421810e0585f6 ("Remove the arm26 port")
Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>
Cc: Adrian Bunk <bunk at stusta.de>
Cc: Ian Molton <spyro at f2s.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 82c8253ac27291d6c70114eb445c714359812a10
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 01:45:29 2008 -0700
init/do_mounts.c should #include <linux/initrd.h>
Every file should include the headers containing the externs for its
global code (in this case for rd_doload).
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit abddaec56ebb7911bbf0578a4636a74bd7376d92
Author: Eric Sandeen <sandeen at redhat.com>
Date: Fri Jul 25 01:45:28 2008 -0700
fix checkstack.pl arch detection
uname -m was leaving a newline in $arch, and not passing the tests.
Also, printing the unknown arch on failure is probably helpful.
Signed-off-by: Eric Sandeen <sandeen at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 585e93ae83b80c874bf4eb50a239027cef5db4af
Author: Eric Sandeen <sandeen at redhat.com>
Date: Fri Jul 25 01:45:27 2008 -0700
find dynamic stack allocations in checkstack.pl
Currently, checkstack.pl only looks for fixed subtractions from the stack
pointer. However, things like this:
void function(int size)
{
char stackbuster[size << 2];
...
are certainly worth pointing out, I think.
This could perhaps be done more cleanly, and the following patch only
adds "dynamic" REs for x86 and x86_64, but it works:
0x00b0 crypto_cbc_decrypt_inplace [cbc]: Dynamic (%rax)
0x00ad crypto_pcbc_decrypt_inplace [pcbc]: Dynamic (%rax)
0x02f6 crypto_pcbc_encrypt_inplace [pcbc]: Dynamic (%rax)
0x036c _crypto_xcbc_digest_setkey [xcbc]: Dynamic (%rax)
...
(Inspired by Keith Owens' old stack-check script)
Signed-off-by: Eric Sandeen <sandeen at redhat.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 545e400619b24b6b17b7f1f1e838e9ff6d036949
Author: Harvey Harrison <harvey.harrison at gmail.com>
Date: Fri Jul 25 01:45:27 2008 -0700
lzo: use get/put_unaligned_* helpers
Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
Acked-by: Richard Purdie <rpurdie at rpsys.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 8b5ac31e27135a6f2c210c40d03bf8f1b3a86b77
Author: Harvey Harrison <harvey.harrison at gmail.com>
Date: Fri Jul 25 01:45:26 2008 -0700
include: use get/put_unaligned_* helpers
Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
Cc: "John W. Linville" <linville at tuxdriver.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b7bbf8fa6ba329b3552b75a0716f5fbc6f839499
Author: Harvey Harrison <harvey.harrison at gmail.com>
Date: Fri Jul 25 01:45:25 2008 -0700
fs: ldm.[ch] use get_unaligned_* helpers
Replace the private BE16/BE32/BE64 macros with direct calls to
get_unaligned_be16/32/64.
Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3f307891ce0e7b0438c432af1aacd656a092ff45
Author: Steven Rostedt <rostedt at goodmis.org>
Date: Fri Jul 25 01:45:25 2008 -0700
locking: add typecheck on irqsave and friends for correct flags
There haave been several areas in the kernel where an int has been used for
flags in local_irq_save() and friends instead of a long. This can cause some
hard to debug problems on some architectures.
This patch adds a typecheck inside the irqsave and restore functions to flag
these cases.
[akpm at linux-foundation.org: coding-style fixes]
[akpm at linux-foundation.org: build fix]
Signed-off-by: Steven Rostedt <srostedt at redhat.com>
Cc: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit e0deaff470900a4c3222ca7139f6c9639e26a2f5
Author: Andrew Morton <akpm at linux-foundation.org>
Date: Fri Jul 25 01:45:24 2008 -0700
split the typecheck macros out of include/linux/kernel.h
Needed to fix up a recursive include snafu in
locking-add-typecheck-on-irqsave-and-friends-for-correct-flags.patch
Cc: Steven Rostedt <rostedt at goodmis.org>
Cc: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 5df439ef06d4173357711a04740aa8bfcf50d621
Author: Wang Chen <wangchen at cn.fujitsu.com>
Date: Fri Jul 25 01:45:23 2008 -0700
flag parameters: fix compile error of sys_epoll_create1
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD vmlinux
arch/x86/kernel/built-in.o: In function `sys_call_table':
(.rodata+0x8a4): undefined reference to `sys_epoll_create1'
make: *** [vmlinux] Error 1
Signed-off-by: Wang Chen <wangchen at cn.fujitsu.com>
Cc: Ulrich Drepper <drepper at redhat.com>
Cc: Davide Libenzi <davidel at xmailserver.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit c82dd5321cf779f1f536ef26b383cbe8c9de7f10
Author: Andrew Morton <akpm at linux-foundation.org>
Date: Fri Jul 25 01:45:22 2008 -0700
mfd: don't use memzero
For it doesn't exist on i386.
Cc: Ian Molton <spyro at f2s.com>
Cc: Dmitry Baryshkov <dbaryshkov at gmail.com>
Cc: Russell King <rmk+kernel at arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3d6f4a20cc287a8980c6186624834cf10a70752b
Author: David Miller <davem at davemloft.net>
Date: Thu Jul 24 23:38:31 2008 -0700
endian: Always evaluate arguments.
Changeset 7fa897b91a3ea0f16c2873b869d7a0eef05acff4 ("ide: trivial sparse
annotations") created an IDE bootup regression on big-endian systems.
In drivers/ide/ide-iops.c, function ide_fixstring() we now have the
loop:
for (p = end ; p != s;)
be16_to_cpus((u16 *)(p -= 2));
which will never terminate on big-endian because in such
a configuration be16_to_cpus() evaluates to "do { } while (0)"
Therefore, always evaluate the arguments to nop endian transformation
operations.
Signed-off-by: David S. Miller <davem at davemloft.net>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 43de804df8d6002059bf4af4522fa9273a19b8aa
Author: Huang Weiyi <weiyi.huang at gmail.com>
Date: Fri Jul 25 23:30:15 2008 +0800
char/xilinx_hwicap/xilinx_hwicap.c: Removed duplicated include
Removed duplicated include file <linux/version.h> in
char/xilinx_hwicap/xilinx_hwicap.c.
Signed-off-by: Huang Weiyi <weiyi.huang at gmail.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 29b309e52d3d51ef8a15bd15590903cf272beb93
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Fri Jul 25 09:19:36 2008 -0700
Undo duplicate "m68k: drivers/input/serio/hp_sdc.c needs <linux/semaphore.h>"
Both commits 0f17e4c796e89d1f69f13b653aba60e6ccfb8ae0 ("Add missing
semaphore.h includes") and 4933d07531711e399d8d578036aa9fc1be2f9b20
("m68k: drivers/input/serio/hp_sdc.c needs <linux/semaphore.h>") added a
We only really need one ;)
Reported-by: Huang Weiyi <weiyi.huang at gmail.com>
Requested-by: Dmitry Torokhov <dmitry.torokhov at gmail.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit d37e6bf68fc1eb34a4ad21d9ae8890ed37ea80e7
Author: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
Date: Thu Jul 24 18:28:11 2008 +0300
UBI: always start the background thread
This fix only affects UBI debugging.
If the the background thread is disabled for debugging purposes,
start it anyway, because otherwise we see tonns of kernel debugging
complaints like this:
INFO: task ubi_bgt0d:26857 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
ubi_bgt0d D dd37bf94 0 26857 2
dd37bfcc 00000086 f8e17cea dd37bf94 00000046 00000000 00000000 f5c62430
f5c62430 f5c62590 c2a09c80 f6cbd498 dd8e9cbc 00000296 dd37bfb0 00000296
dd8e9cb8 dd8e9cbc dd37bfcc c0119774 00000000 00000000 c0132e89 f6961560
Call Trace:
[<f8e17cea>] ? ubi_thread+0x0/0x127 [ubi]
[<c0119774>] ? complete+0x43/0x4b
[<c0132e89>] ? kthread+0x0/0x5b
[<f8e17cea>] ? ubi_thread+0x0/0x127 [ubi]
[<c0132eae>] kthread+0x25/0x5b
[<c0132e89>] ? kthread+0x0/0x5b
[<c0104953>] kernel_thread_helper+0x7/0x14
=======================
So start it, and go sleep inside it, instead of creating it and never
start.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
commit 973b7d83ebeb1e34b8bee69208916e5f0e2353c3
Author: Tony Breeds <tony at bakeyournoodle.com>
Date: Fri Jul 25 16:21:51 2008 +1000
powerpc: Wireup new syscalls
signalfd4, eventfd2, epoll_create1, dup3, pipe2 and inotify_init1
Signed-off-by: Tony Breeds <tony at bakeyournoodle.com>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 1e3519f8e1baec0b733cd42684fcd3d9681662f1
Author: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Date: Fri Jul 25 16:21:11 2008 +1000
Move update_mmu_cache() declaration from tlbflush.h to pgtable.h
where it belongs. This fixes some build problems on some configs
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 16c14b4621c7b6fc4611abf1f86cd78cdb1b2b03
Author: Nathan Fontenot <nfont at austin.ibm.com>
Date: Thu Jul 24 05:10:46 2008 +1000
powerpc/pseries: Remove kmalloc call in handling writes to lparcfg
There are only 4 valid name=value pairs for writes to
/proc/ppc64/lparcfg. Current code allocates a buffer to copy
this information in from the user. Since the longest name=value
pair will easily fit into a buffer of 64 characters, simply
put the buffer on the stack instead of allocating the buffer.
Signed-off-by: Nathan Fotenot <nfont at austin.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 8391e42a5c1f3d757faa5e7f46a4a68f9aa6cb12
Author: Nathan Fontenot <nfont at austin.ibm.com>
Date: Thu Jul 24 04:36:38 2008 +1000
powerpc/pseries: Update arch vector to indicate support for CMO
Update the architecture vector to indicate that Cooperative Memory
Overcommitment is supported if CONFIG_PPC_SMLPAR is set.
Signed-off-by: Nathan Fontenot <nfont at austin.ibm.com>
Signed-off-by: Robert Jennings <rcj at linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus at samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 39c1ffecc6aabcc8105602a95ce769f27bcf6048
Author: Brian King <brking at linux.vnet.ibm.com>
Date: Thu Jul 24 04:35:48 2008 +1000
ibmvfc: Add support for collaborative memory overcommit
Adds support to the ibmvfc driver for collaborative memory overcommit.
Signed-off-by: Brian King <brking at linux.vnet.ibm.com>
Signed-off-by: Robert Jennings <rcj at linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus at samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 7912a0ac5907df1f8b214b3ca15ccf96129daae0
Author: Robert Jennings <rcj at linux.vnet.ibm.com>
Date: Thu Jul 24 04:35:27 2008 +1000
ibmvscsi: driver enablement for CMO
Enable the driver to function in a Cooperative Memory Overcommitment (CMO)
environment.
The following changes are made to enable the driver for CMO:
* DMA mapping errors will not result in error messages if entitlement has
been exceeded and resources were not available.
* The driver has a get_desired_dma function defined to function
in a CMO environment. It will indicate how much IO memory it would like
to function.
Signed-off-by: Robert Jennings <rcj at linux.vnet.ibm.com>
Acked by: Brian King <brking at linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus at samba.org>
Acked-by: James Bottomley <James.Bottomley at HansenPartnership.com>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 1096d63d8e7d226630706e15648705d0187787e4
Author: Robert Jennings <rcj at linux.vnet.ibm.com>
Date: Thu Jul 24 04:34:52 2008 +1000
ibmveth: enable driver for CMO
Enable ibmveth for Cooperative Memory Overcommitment (CMO). For this driver
it means calculating a desired amount of IO memory based on the current MTU
and updating this value with the bus when MTU changes occur. Because DMA
mappings can fail, we have added a bounce buffer for temporary cases where
the driver can not map IO memory for the buffer pool.
The following changes are made to enable the driver for CMO:
* DMA mapping errors will not result in error messages if entitlement has
been exceeded and resources were not available.
* DMA mapping errors are handled gracefully, ibmveth_replenish_buffer_pool()
is corrected to check the return from dma_map_single and fail gracefully.
* The driver will have a get_desired_dma function defined to function
in a CMO environment.
* When the MTU is changed, the driver will update the device IO entitlement
Signed-off-by: Robert Jennings <rcj at linux.vnet.ibm.com>
Signed-off-by: Brian King <brking at linux.vnet.ibm.com>
Signed-off-by: Santiago Leon <santil at us.ibm.com>
Acked-by: Paul Mackerras <paulus at samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit ea866e6526b8a2ead92875732d41b26fdb470312
Author: Santiago Leon <santil at us.ibm.com>
Date: Thu Jul 24 04:34:23 2008 +1000
ibmveth: Automatically enable larger rx buffer pools for larger mtu
Activates larger rx buffer pools when the MTU is changed to a larger
value. This patch de-activates the large rx buffer pools when the MTU
changes to a smaller value.
Signed-off-by: Santiago Leon <santil at us.ibm.com>
Signed-off-by: Robert Jennings <rcj at linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus at samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 22e1a4dd3f2a9009d1d8896a5e833b6094877008
Author: Nathan Fontenot <nfont at austin.ibm.com>
Date: Thu Jul 24 04:31:52 2008 +1000
powerpc/pseries: Verify CMO memory entitlement updates with virtual I/O
Verify memory entitlement updates can be handled by vio.
Signed-off-by: Nathan Fontenot <nfont at austin.ibm.com>
Signed-off-by: Robert Jennings <rcj at linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus at samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit a90ab95a9576d35de0d05f9f4fc435edcccafaa9
Author: Robert Jennings <rcj at linux.vnet.ibm.com>
Date: Thu Jul 24 04:31:33 2008 +1000
powerpc/pseries: vio bus support for CMO
This is a large patch but the normal code path is not affected. For
non-pSeries platforms the code is ifdef'ed out and for non-CMO enabled
pSeries systems this does not affect the normal code path. Devices that
do not perform DMA operations do not need modification with this patch.
The function get_desired_dma was renamed from get_io_entitlement for
clarity.
Overview
Cooperative Memory Overcommitment (CMO) allows for a set of OS partitions
to be run with less RAM than the aggregate needs of the group of
partitions. The firmware will balance memory between the partitions
and page in/out memory as needed. Based on the number and type of IO
adpaters preset each partition is allocated an amount of memory for
DMA operations and this allocation will be guaranteed to the partition;
this is referred to as the partition's 'entitlement'.
Partitions running in a CMO environment can only have virtual IO devices
present. The VIO bus layer will manage the IO entitlement for the system.
Accounting, at a system and per-device level, is tracked in the VIO bus
code and exposed via sysfs. A set of dma_ops functions are added to
the bus to allow for this accounting.
Bus initialization
At initialization, the bus will calculate the minimum needs of the system
based on providing each device present with a standard minimum entitlement
along with a spare allocation for the bus to handle hotplug events.
If the minimum needs can not be met the system boot will be halted.
Device changes
The significant changes for devices while running under CMO are that the
devices must specify how much dedicated IO entitlement they desire and
must also handle DMA mapping errors that can occur due to constrained
IO memory. The virtual IO drivers are modified to silence errors when
DMA mappings fail for CMO and handle these failures gracefully.
Each devices will be guaranteed a minimum entitlement that can always
be mapped. Devices will specify how much entitlement they desire and
the VIO bus will attempt to provide for this. Devices can change their
desired entitlement level at any point in time to address particular needs
(via vio_cmo_set_dev_desired()), not just at device probe time.
VIO bus changes
The system will have a particular entitlement level available from which
it can provide memory to the devices. The bus defines two pools of memory
within this entitlement, the reserved and excess pools. Each device is
provided with it's own entitlement no less than a system defined minimum
entitlement and no greater than what the device has specified as it's
desired entitlement. The entitlement provided to devices comes from the
reserve pool. The reserve pool can also contain a spare allocation as
large as the system defined minimum entitlement which is used for device
hotplug events. Any entitlement not needed to fulfill the needs of a
reserve pool is placed in the excess pool. Each device is guaranteed
that it can map up to it's entitled level; additional mapping are possible
as long as there is unmapped memory in the excess pool.
Bus probe
As the system starts, each device is given an entitlement equal only
to the system defined minimum entitlement. The reserve pool is equal
to the sum of these entitlements, plus a spare allocation. The VIO bus
also tracks the aggregate desired entitlement of all the devices. If the
system desired entitlement is greater than the size of the reserve pool,
when devices unmap IO memory it will be reserved and a balance operation
will be scheduled for some time in the future.
Entitlement balancing
The balance function tries to fairly distribute entitlement between the
devices in the system with the goal of providing each device with it's
desired amount of entitlement. Devices using more than what would be
ideal will have their entitled set-point adjusted; this will effectively
set a goal for lower IO memory usage as future mappings can fail and
deallocations will trigger a balance operation to distribute the newly
unmapped memory. A fair distribution of entitlement can take several
balance operations to achieve. Entitlement changes and device DLPAR
events will alter the state of CMO and will trigger balance operations.
Hotplug events
The VIO bus allows for changes in system entitlement at run-time via
'vio_cmo_entitlement_update()'. When devices are added the hotplug
device event will be preceded by a system entitlement increase and this
is reversed when devices are removed.
The following changes are made that the VIO bus layer for CMO:
* add IO memory accounting per device structure.
* add IO memory entitlement query function to driver structure.
* during vio bus probe, if CMO is enabled, check that driver has
memory entitlement query function defined. Fail if function not defined.
* fail to register driver if io entitlement function not defined.
* create set of dma_ops at vio level for CMO that will track allocations
and return DMA failures once entitlement is reached. Entitlement will
limited by overall system entitlement. Devices will have a reserved
quantity of memory that is guaranteed, the rest can be used as available.
* expose entitlement, current allocation, desired allocation, and the
allocation error counter for devices to the user through sysfs
* provide mechanism for changing a device's desired entitlement at run time
for devices as an exported function and sysfs tunable
* track any DMA failures for entitled IO memory for each vio device.
* check entitlement against available system entitlement on device add
* track entitlement metrics (high water mark, current usage)
* provide function to reset high water mark
* provide minimum and desired entitlement numbers at a bus level
* provide drivers with a minimum guaranteed entitlement
* balance available entitlement between devices to satisfy their needs
* handle system entitlement changes and device hotplug
Signed-off-by: Robert Jennings <rcj at linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus at samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 6490c4903d12f242bec4454301f76f6a7520e399
Author: Robert Jennings <rcj at linux.vnet.ibm.com>
Date: Thu Jul 24 04:31:16 2008 +1000
powerpc/pseries: iommu enablement for CMO
To support Cooperative Memory Overcommitment (CMO), we need to check
for failure from some of the tce hcalls.
These changes for the pseries platform affect the powerpc architecture;
patches for the other affected platforms are included in this patch.
pSeries platform IOMMU code changes:
* platform TCE functions must handle H_NOT_ENOUGH_RESOURCES errors and
return an error.
Architecture IOMMU code changes:
* Calls to ppc_md.tce_build need to check return values and return
DMA_MAPPING_ERROR for transient errors.
Architecture changes:
* struct machdep_calls for tce_build*_pSeriesLP functions need to change
to indicate failure.
* all other platforms will need updates to iommu functions to match the new
calling semantics; they will return 0 on success. The other platforms
default configs have been built, but no further testing was performed.
Signed-off-by: Robert Jennings <rcj at linux.vnet.ibm.com>
Acked-by: Olof Johansson <olof at lixom.net>
Acked-by: Paul Mackerras <paulus at samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit ffa5abbd0c399b32fc13a1b4718d87ee7a716999
Author: Brian King <brking at linux.vnet.ibm.com>
Date: Thu Jul 24 04:30:58 2008 +1000
powerpc/pseries: Add CMO paging statistics
With the addition of Cooperative Memory Overcommitment (CMO) support
for IBM Power Systems, two fields have been added to the VPA to report
paging statistics. Add support in lparcfg to report them to userspace.
Signed-off-by: Brian King <brking at linux.vnet.ibm.com>
Signed-off-by: Robert Jennings <rcj at linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus at samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 84af458bb23bf5f0ba1af4320dd2a57f7c4363e5
Author: Brian King <brking at linux.vnet.ibm.com>
Date: Thu Jul 24 04:30:29 2008 +1000
powerpc/pseries: Add collaborative memory manager
Adds a collaborative memory manager, which acts as a simple balloon driver
for System p machines that support cooperative memory overcommitment
(CMO).
Adds a platform configuration option for CMO called PPC_SMLPAR.
Signed-off-by: Brian King <brking at linux.vnet.ibm.com>
Signed-off-by: Robert Jennings <rcj at linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus at samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 86630a32320f83736c4c24e2c8bae218e4c56c7c
Author: Brian King <brking at linux.vnet.ibm.com>
Date: Thu Jul 24 04:29:16 2008 +1000
powerpc/pseries: Utilities to set firmware page state
Newer versions of firmware support page states, which are used by the
collaborative memory manager (future patch) to "loan" pages to the
hypervisor for use by other partitions.
Signed-off-by: Brian King <brking at linux.vnet.ibm.com>
Signed-off-by: Robert Jennings <rcj at linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus at samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit e46de429cb954d30a5642fba81d516ede518c65e
Author: Robert Jennings <rcj at linux.vnet.ibm.com>
Date: Thu Jul 24 04:29:03 2008 +1000
powerpc/pseries: Enable CMO feature during platform setup
For Cooperative Memory Overcommitment (CMO), set the FW_FEATURE_CMO
flag in powerpc_firmware_features from the rtas ibm,get-system-parameters
table prior to calling iommu_init_early_pSeries.
With this, any CMO specific functionality can be controlled by checking:
firmware_has_feature(FW_FEATURE_CMO)
Signed-off-by: Robert Jennings <rcj at linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus at samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 398778f78b76fb72cb18411487af01dea202709e
Author: Robert Jennings <rcj at linux.vnet.ibm.com>
Date: Thu Jul 24 04:28:05 2008 +1000
powerpc/pseries: Split retrieval of processor entitlement data into a helper routine
Split the retrieval of processor entitlement data returned in the H_GET_PPP
hcall into its own helper routine.
Signed-off-by: Nathan Fontenot <nfont at austin.ibm.com>
Signed-off-by: Robert Jennings <rcj at linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus at samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit dfc3403f0e5ffb94ee29942f313b87d4061d951b
Author: Nathan Fontenot <nfont at austin.ibm.com>
Date: Thu Jul 24 04:27:30 2008 +1000
powerpc/pseries: Add memory entitlement capabilities to /proc/ppc64/lparcfg
Update /proc/ppc64/lparcfg to display Cooperative Memory
Overcommitment statistics as reported by the H_GET_MPP hcall. This
also updates the lparcfg interface to allow setting memory entitlement
and weight.
Signed-off-by: Nathan Fontenot <nfont at austin.ibm.com>
Signed-off-by: Robert Jennings <rcj at linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus at samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 11529396ea3190113173f7a15e59a58dbcaa36c8
Author: Nathan Fotenot <nfont at austin.ibm.com>
Date: Thu Jul 24 04:25:16 2008 +1000
powerpc/pseries: Split processor entitlement retrieval and gathering to helper routines
Split the retrieval and setting of processor entitlement and weight into
helper routines. This also removes the printing of the raw values
returned from h_get_ppp, the values are already parsed and printed.
Signed-off-by: Nathan Fontenot <nfont at austin.ibm.com>
Signed-off-by: Robert Jennings <rcj at linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus at samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 545500b307658ad5783e0f3a52a32b97b2dfaed2
Author: Nathan Fontenot <nfont at austin.ibm.com>
Date: Thu Jul 24 04:25:00 2008 +1000
powerpc/pseries: Remove extraneous error reporting for hcall failures in lparcfg
Remove the extraneous error reporting used when a hcall made from lparcfg fails.
Signed-off-by: Nathan Fontenot <nfont at austin.ibm.com>
Signed-off-by: Robert Jennings <rcj at linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus at samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 80c60bf9b96f6108c630d90efc073cd520801e6c
Author: Segher Boessenkool <segher at kernel.crashing.org>
Date: Fri Jul 25 10:08:41 2008 +1000
powerpc: Fix compile error with binutils 2.15
My previous patch to fix compilation with binutils-2.17 causes
a "file truncated" build error from ld with binutils 2.15 (and
possibly older), and a warning with 2.16 and 2.17.
This fixes it.
Signed-off-by: Segher Boessenkool <segher at kernel.crashing.org>
Acked-by: Chuck Meade <chuckmeade at mindspring.com>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 7886250e9d71b24d0205ac6798ee855fb3836318
Author: Mark Nelson <markn at au1.ibm.com>
Date: Thu Jul 24 14:28:48 2008 +1000
powerpc/cell: Fixed IOMMU mapping uses weak ordering for a pcie endpoint
At the moment the fixed mapping is by default strongly ordered (the
iommu_fixed=weak boot option must be used to make the fixed mapping weakly
ordered). If we're on a setup where the southbridge is being used in
endpoint mode (triblade and CAB boards) the default should be a weakly
ordered fixed mapping.
This adds a check so that if a node of type pcie-endpoint can be found in
the device tree the fixed mapping is set to be weak by default (but can be
overridden using iommu_fixed=strong).
Signed-off-by: Mark Nelson <markn at au1.ibm.com>
Acked-by: Arnd Bergmann <arnd at arndb.de>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit d6a61bfc06d6f2248f3e75f208d64e794082013c
Author: Luis Machado <luisgpm at linux.vnet.ibm.com>
Date: Thu Jul 24 02:10:41 2008 +1000
powerpc: BookE hardware watchpoint support
This patch implements support for HW based watchpoint via the
DBSR_DAC (Data Address Compare) facility of the BookE processors.
It does so by interfacing with the existing DABR breakpoint code
and adding the necessary bits and pieces for the new bits to
be properly set or cleared
Signed-off-by: Luis Machado <luisgpm at br.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 00bf6e906156b07cd641fe154ad0efe78f989692
Author: Stephen Rothwell <sfr at canb.auug.org.au>
Date: Wed Jul 23 10:44:58 2008 +1000
powerpc: Fallout from sysdev API changes
A struct sysdev_attribute * parameter was added to the show routine by
commit 4a0b2b4dbe1335b8b9886ba3dc85a145d5d938ed "sysdev: Pass the
attribute to the low level sysdev show/store function".
This eliminates a warning:
arch/powerpc/kernel/sysfs.c:538: warning: initialization from incompatible pointer type
Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 9115d13453dee22473a1e8cacc90a8d64a9c4bc9
Author: Nathan Lynch <ntl at pobox.com>
Date: Wed Jul 16 09:58:51 2008 +1000
powerpc: Enable AT_BASE_PLATFORM aux vector
Stash the first platform string matched by identify_cpu() in
powerpc_base_platform, and supply that to the ELF loader for the value
of AT_BASE_PLATFORM.
Signed-off-by: Nathan Lynch <ntl at pobox.com>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit 483fad1c3fa1060d7e6710e84a065ad514571739
Author: Nathan Lynch <ntl at pobox.com>
Date: Tue Jul 22 04:48:46 2008 +1000
ELF loader support for auxvec base platform string
Some IBM POWER-based platforms have the ability to run in a
mode which mostly appears to the OS as a different processor from the
actual hardware. For example, a Power6 system may appear to be a
Power5+, which makes the AT_PLATFORM value "power5+". This means that
programs are restricted to the ISA supported by Power5+;
Power6-specific instructions are treated as illegal.
However, some applications (virtual machines, optimized libraries) can
benefit from knowledge of the underlying CPU model. A new aux vector
entry, AT_BASE_PLATFORM, will denote the actual hardware. For
example, on a Power6 system in Power5+ compatibility mode, AT_PLATFORM
will be "power5+" and AT_BASE_PLATFORM will be "power6". The idea is
that AT_PLATFORM indicates the instruction set supported, while
AT_BASE_PLATFORM indicates the underlying microarchitecture.
If the architecture has defined ELF_BASE_PLATFORM, copy that value to
the user stack in the same manner as ELF_PLATFORM.
Signed-off-by: Nathan Lynch <ntl at pobox.com>
Acked-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
commit e9f76354ce83a20c7768ad37caa033f6506b4f96
Merge: c174aff95642bcc830102becb9802adeb8f87a5a ad1ede127760d6ca4903f44dfe1a8a38b3bfb36c
Author: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Date: Fri Jul 25 15:35:10 2008 +1000
Merge commit 'jk/jk-merge'
commit c174aff95642bcc830102becb9802adeb8f87a5a
Merge: fb2e405fc1fc8b20d9c78eaa1c7fd5a297efde43 79c28acb2b7d66ca48d23e1c8b5e9e043aa634f8
Author: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Date: Fri Jul 25 15:35:03 2008 +1000
Merge commit 'gcl/gcl-next'
commit 832fe9c222c7d431c2bff5765a0ac61bcb3df8c8
Merge: ed9559d38a87a44e3bda87d73a50aab92471d7dc e34f87256794b87e7f4a8f1812538be7b7b5214c
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Thu Jul 24 19:11:49 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus
* git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
virtio: Add transport feature handling stub for virtio_ring.
virtio: Rename set_features to finalize_features
virtio: Formally reserve bits 28-31 to be 'transport' features.
s390: use virtio_console for KVM on s390
virtio: console as a config option
virtio_console: use virtqueue notification for hvc_console
hvc_console: rework setup to replace irq functions with callbacks
virtio_blk: check for hardsector size from host
virtio: Use bus_type probe and remove methods
virtio: don't always force a notification when ring is full
virtio: clarify that ABI is usable by any implementations
virtio: Recycle unused recv buffer pages for large skbs in net driver
virtio net: Allow receiving SG packets
virtio net: Add ethtool ops for SG/GSO
virtio: fix virtio_net xmit of freed skb bug
commit ed9559d38a87a44e3bda87d73a50aab92471d7dc
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Fri Jul 25 12:11:09 2008 +1000
Label kthread_create() with printf attribute tag.
Obvious misc patch been in my queue (& linux-next) for over a cycle.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit e34f87256794b87e7f4a8f1812538be7b7b5214c
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Fri Jul 25 12:06:13 2008 -0500
virtio: Add transport feature handling stub for virtio_ring.
To prepare for virtio_ring transport feature bits, hook in a call in
all the users to manipulate them. This currently just clears all the
bits, since it doesn't understand any features.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit c624896e488ba2bff5ae497782cfb265c8b00646
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Fri Jul 25 12:06:07 2008 -0500
virtio: Rename set_features to finalize_features
Rather than explicitly handing the features to the lower-level, we just
hand the virtio_device and have it set the features. This make it clear
that it has the chance to manipulate the features of the device at this
point (and that all feature negotiation is already done).
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit dd7c7bc46211785a1aa7d70feb15830f62682b3c
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Fri Jul 25 12:06:07 2008 -0500
virtio: Formally reserve bits 28-31 to be 'transport' features.
We assign feature bits as required, but it makes sense to reserve some
for the particular transport, rather than the particular device.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit faeba830b086bc9e58748869054e994cb09693cd
Author: Christian Borntraeger <borntraeger at de.ibm.com>
Date: Fri Jun 20 15:24:18 2008 +0200
s390: use virtio_console for KVM on s390
This patch enables virtio_console as the default console on kvm for
s390. We currently use the same notify hack as lguest for early
console output. I will try to address this for lguest and s390 later.
Signed-off-by: Christian Borntraeger <borntraeger at de.ibm.com>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 7721c494a28e06543a3d6aa412957aa783a4a531
Author: Christian Borntraeger <borntraeger at de.ibm.com>
Date: Fri Jul 25 12:06:06 2008 -0500
virtio: console as a config option
I also added a small Kconfig change that allows the user to specify the
virtio console in menuconfig.
(Fixes to export symbols from Stephen Rothwell <sfr at canb.auug.org.au>)
(Fixes for CONFIG_VIRTIO_CONSOLE=y vs CONFIG_VIRTIO=m from Christian himself)
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
Cc: Stephen Rothwell <sfr at canb.auug.org.au>
commit 91fcad19d03ed67cb50fd0e1913a8b89cc3ed3ec
Author: Christian Borntraeger <borntraeger at de.ibm.com>
Date: Fri Jun 20 15:24:15 2008 +0200
virtio_console: use virtqueue notification for hvc_console
This patch exploits the new notifier callbacks of the hvc_console. We can
use the virtio callbacks instead of the polling code.
Signed-off-by: Christian Borntraeger <borntraeger at de.ibm.com>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 611e097d7707741a336a0677d9d69bec40f29f3d
Author: Christian Borntraeger <borntraeger at de.ibm.com>
Date: Fri Jun 20 15:24:08 2008 +0200
hvc_console: rework setup to replace irq functions with callbacks
This patch tries to change hvc_console to not use request_irq/free_irq if
the backend does not use irqs. This allows virtio_console to use hvc_console
without having a linker reference to request_irq/free_irq.
In addition, together with patch 2/3 it improves the performance for virtio
console input. (an earlier version of this patch was tested by Yajin on lguest)
The irq specific code is moved to hvc_irq.c and selected by the drivers that
use irqs (System p, System i, XEN).
I replaced "int irq" with the opaque "int data". The request_irq and
free_irq calls are replaced with notifier_add and notifier_del. I have also
changed the code a bit to call the notifier_add and notifier_del inside the
spinlock area as the callbacks are found via hp->ops.
Changes since last version:
o remove ifdef
o reintroduce "irq_requested" as "notified"
o cleanups, sparse..
I did not move the timer based polling into a separate polling scheme. I
played with several variants, but it seems we need to sleep/schedule in
a thread even for irq based consoles, as there are throttleing and buffer
size constraints.
I also kept hvc_struct defined in hvc_console.h so that hvc_irq.c can access
the irq_requested element.
Feedback is appreciated. virtio_console is currently the only available console
for kvm on s390. I plan to push this change as soon as all affected parties
agree on it. I would love to get test results from System p, Xen etc.
Signed-off-by: Christian Borntraeger <borntraeger at de.ibm.com>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 066f4d82a67f621ddd547bfa4b9c94631d8457b0
Author: Christian Borntraeger <borntraeger at de.ibm.com>
Date: Thu May 29 11:08:26 2008 +0200
virtio_blk: check for hardsector size from host
Currently virtio_blk assumes a 512 byte hard sector size. This can cause
trouble / performance issues if the backing has a different block size
(like a file on an ext3 file system formatted with 4k block size or a dasd).
Lets add a feature flag that tells the guest to use a different hard sector
size than 512 byte.
Signed-off-by: Christian Borntraeger <borntraeger at de.ibm.com>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit e962fa660d391fc9b90988e6538c94c858c099f9
Author: Mark McLoughlin <markmc at redhat.com>
Date: Fri Jun 13 13:46:40 2008 +0100
virtio: Use bus_type probe and remove methods
Hook up to the probe() and remove() methods in bus_type
rather than device_driver. The latter has been preferred
since 2.6.16.
Signed-off-by: Mark McLoughlin <markmc at redhat.com>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 44653eae1407f79dff6f52fcf594ae84cb165ec4
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Fri Jul 25 12:06:04 2008 -0500
virtio: don't always force a notification when ring is full
We force notification when the ring is full, even if the host has
indicated it doesn't want to know. This seemed like a good idea at
the time: if we fill the transmit ring, we should tell the host
immediately.
Unfortunately this logic also applies to the receiving ring, which is
refilled constantly. We should introduce real notification thesholds
to replace this logic. Meanwhile, removing the logic altogether breaks
the heuristics which KVM uses, so we use a hack: only notify if there are
outgoing parts of the new buffer.
Here are the number of exits with lguest's crappy network implementation:
Before:
network xmit 7859051 recv 236420
After:
network xmit 7858610 recv 118136
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 674bfc23c585b34c42263d73fb51710d49762a23
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Fri Jul 25 12:06:03 2008 -0500
virtio: clarify that ABI is usable by any implementations
We want others to implement and use virtio, so it makes sense to BSD
license the non-__KERNEL__ parts of the headers to make this crystal
clear.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
Acked-by: Christian Borntraeger <borntraeger at de.ibm.com>
Acked-by: Mark McLoughlin <markmc at redhat.com>
Acked-by: Ryan Harper <ryanh at us.ibm.com>
Acked-by: Eric Van Hensbergen <ericvh at gmail.com>
Acked-by: Anthony Liguori <aliguori at us.ibm.com>
commit fb6813f480806d62361719e84777c8e00d3e86a8
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Fri Jul 25 12:06:01 2008 -0500
virtio: Recycle unused recv buffer pages for large skbs in net driver
If we hack the virtio_net driver to always allocate full-sized (64k+)
skbuffs, the driver slows down (lguest numbers):
Time to receive 1GB (small buffers): 10.85 seconds
Time to receive 1GB (64k+ buffers): 24.75 seconds
Of course, large buffers use up more space in the ring, so we increase
that from 128 to 2048:
Time to receive 1GB (64k+ buffers, 2k ring): 16.61 seconds
If we recycle pages rather than using alloc_page/free_page:
Time to receive 1GB (64k+ buffers, 2k ring, recycle pages): 10.81 seconds
This demonstrates that with efficient allocation, we don't need to
have a separate "small buffer" queue.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 97402b96f87c6e32f75f1bffdd91a5ee144b679d
Author: Herbert Xu <herbert at gondor.apana.org.au>
Date: Fri Apr 18 11:24:27 2008 +0800
virtio net: Allow receiving SG packets
Finally this patch lets virtio_net receive GSO packets in addition
to sending them. This can definitely be optimised for the non-GSO
case. For comparison the Xen approach stores one page in each skb
and uses subsequent skb's pages to construct an SG skb instead of
preallocating the maximum amount of pages per skb.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au> (added feature bits)
commit a9ea3fc6f2654a7407864fec983d1671d775b5ee
Author: Herbert Xu <herbert at gondor.apana.org.au>
Date: Fri Apr 18 11:21:42 2008 +0800
virtio net: Add ethtool ops for SG/GSO
This patch adds some basic ethtool operations to virtio_net so
I could test SG without GSO (which was really useful because TSO
turned out to be buggy :)
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au> (remove MTU setting)
commit 9953ca6cb757fb317bb7cdd2fcbf9b88312e241b
Author: Mark McLoughlin <markmc at redhat.com>
Date: Tue May 27 12:06:26 2008 +0100
virtio: fix virtio_net xmit of freed skb bug
On Mon, 2008-05-26 at 17:42 +1000, Rusty Russell wrote:
> If we fail to transmit a packet, we assume the queue is full and put
> the skb into last_xmit_skb. However, if more space frees up before we
> xmit it, we loop, and the result can be transmitting the same skb twice.
>
> Fix is simple: set skb to NULL if we've used it in some way, and check
> before sending.
...
> diff -r 564237b31993 drivers/net/virtio_net.c
> --- a/drivers/net/virtio_net.c Mon May 19 12:22:00 2008 +1000
> +++ b/drivers/net/virtio_net.c Mon May 19 12:24:58 2008 +1000
> @@ -287,21 +287,25 @@ again:
> free_old_xmit_skbs(vi);
>
> /* If we has a buffer left over from last time, send it now. */
> - if (vi->last_xmit_skb) {
> + if (unlikely(vi->last_xmit_skb)) {
> if (xmit_skb(vi, vi->last_xmit_skb) != 0) {
> /* Drop this skb: we only queue one. */
> vi->dev->stats.tx_dropped++;
> kfree_skb(skb);
> + skb = NULL;
> goto stop_queue;
> }
> vi->last_xmit_skb = NULL;
With this, may drop an skb and then later in the function discover that
we could have sent it after all. Poor wee skb :)
How about the incremental patch below?
Cheers,
Mark.
Subject: [PATCH] virtio_net: Delay dropping tx skbs
Currently we drop the skb in start_xmit() if we have a
queued buffer and fail to transmit it.
However, if we delay dropping it until we've stopped the
queue and enabled the tx notification callback, then there
is a chance space might become available for it.
Signed-off-by: Mark McLoughlin <markmc at redhat.com>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit fb2e405fc1fc8b20d9c78eaa1c7fd5a297efde43
Author: Adrian Bunk <bunk at kernel.org>
Date: Fri Jul 25 02:55:49 2008 +0300
fix fs/nfs/nfsroot.c compilation
This fixes the following compile error caused by commit
f9247273cb69ba101877e946d2d83044409cc8c5 ("UFS: add const to parser
token table"):
CC fs/nfs/nfsroot.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/fs/nfs/nfsroot.c:130: error: tokens causes a section type conflict
make[3]: *** [fs/nfs/nfsroot.o] Error 1
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 4b9f12a3779c548b68bc9af7d94030868ad3aa1b
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Thu Jul 24 17:29:00 2008 -0700
x86/oprofile/nmi_int: add Nehalem to list of ppro cores
..otherwise oprofile will fall back on that poor timer interrupt.
Also replace the unreadable chain of if-statements with a "switch()"
statement instead. It generates better code, and is a lot clearer.
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b30f3ae50cd03ef2ff433a5030fbf88dd8323528
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Thu Jul 24 15:43:44 2008 -0700
x86-64: Clean up 'save/restore_i387()' usage
Suresh Siddha wants to fix a possible FPU leakage in error conditions,
but the fact that save/restore_i387() are inlines in a header file makes
that harder to do than necessary. So start off with an obvious cleanup.
This just moves the x86-64 version of save/restore_i387() out of the
header file, and moves it to the only file that it is actually used in:
arch/x86/kernel/signal_64.c. So exposing it in a header file was wrong
to begin with.
[ Side note: I'd like to fix up some of the games we play with the
32-bit version of these functions too, but that's a separate
matter. The 32-bit versions are shared - under different names
at that! - by both the native x86-32 code and the x86-64 32-bit
compatibility code ]
Acked-by: Suresh Siddha <suresh.b.siddha at intel.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b5684b83b1e1579bbbc80e703e990c0cccf5892c
Merge: 1481b9109fe771ec8b035d7760f42e36d2bed5d4 1b8ebad87b459e2e1333fbf28005977245ff5402
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Thu Jul 24 14:55:09 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6: (76 commits)
ide: use proper printk() KERN_* levels in ide-probe.c
ide: fix for EATA SCSI HBA in ATA emulating mode
ide: remove stale comments from drivers/ide/Makefile
ide: enable local IRQs in all handlers for TASKFILE_NO_DATA data phase
ide-scsi: remove kmalloced struct request
ht6560b: remove old history
ht6560b: update email address
ide-cd: fix oops when using growisofs
gayle: release resources on ide_host_add() failure
palm_bk3710: add UltraDMA/100 support
ide: trivial sparse annotations
ide: ide-tape.c sparse annotations and unaligned access removal
ide: drop 'name' parameter from ->init_chipset method
ide: prefix messages from IDE PCI host drivers by driver name
it821x: remove DECLARE_ITE_DEV() macro
it8213: remove DECLARE_ITE_DEV() macro
ide: include PCI device name in messages from IDE PCI host drivers
ide: remove <asm/ide.h> for some archs
ide-generic: remove ide_default_{io_base,irq}() inlines (take 3)
ide-generic: is no longer needed on ppc32
...
commit 1481b9109fe771ec8b035d7760f42e36d2bed5d4
Merge: 5042d99795d3d817bef2f4cc46e953bee9bf7398 f88133d76ea38761b7379d6233b752ed82250a4a
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Thu Jul 24 13:57:37 2008 -0700
Merge branch 'release-2.6.27' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-acpi-2.6
* 'release-2.6.27' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-acpi-2.6:
acpi: fix crash in core ACPI code, triggered by CONFIG_ACPI_PCI_SLOT=y
ACPI: thinkpad-acpi: don't misdetect in get_thinkpad_model_data() on -ENOMEM
ACPI: thinkpad-acpi: bump up version to 0.21
ACPI: thinkpad-acpi: add bluetooth and WWAN rfkill support
ACPI: thinkpad-acpi: WLSW overrides other rfkill switches
ACPI: thinkpad-acpi: prepare for bluetooth and wwan rfkill support
ACPI: thinkpad-acpi: consolidate wlsw notification function
ACPI: thinkpad-acpi: minor refactor on radio switch init
Revert "ACPI: don't walk tables if ACPI was disabled"
Revert "dock: bay: Don't call acpi_walk_namespace() when ACPI is disabled."
Revert "Fix FADT parsing"
ACPI : Set FAN device to correct state in boot phase
ACPI: Ignore _BQC object when registering backlight device
ACPI: stop complaints about interrupt link End Tags and blank IRQ descriptors
commit 5042d99795d3d817bef2f4cc46e953bee9bf7398
Merge: 5c402355adf8f920531f02099f4ec0d2bccd4c64 f17a077e61b627e58db5926bc474cf308318dad9
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Thu Jul 24 13:57:13 2008 -0700
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
PCI: fixup sparse endianness warnings in proc.c
PCI PM: make more PCI PM core functionality available to drivers
PCI/DMAR: don't assume presence of RMRRs
PCI hotplug: fix error path in pci_slot's register_slot
commit 1b8ebad87b459e2e1333fbf28005977245ff5402
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:36 2008 +0200
ide: use proper printk() KERN_* levels in ide-probe.c
While at it:
- fixup printk() messages in save_match() and hwif_init().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 52f3a771feafe3e9c56f8d00c8eb53fd8f578f2d
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:36 2008 +0200
ide: fix for EATA SCSI HBA in ATA emulating mode
IDE probing code used to skip devices attached to EATA SCSI HBA
in ATA emulating mode but because of warm-plug support port I/O
resources are no longer freed if no devices are detected on a port
and the decision about the driver to use is left up to the user.
Remove no longer valid EATA SCSI HBA quirk from do_identify().
Noticed-by: Alan Cox <alan at lxorguk.ukuu.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit d0b53f6866fa185da94968e62ae97923db18298c
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:36 2008 +0200
ide: remove stale comments from drivers/ide/Makefile
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 90d2c6bc68745d67cdbf00bab43818d90aa0dfb6
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:36 2008 +0200
ide: enable local IRQs in all handlers for TASKFILE_NO_DATA data phase
It is already done by task_no_data_intr() and there is no reason
not to do it in other TASKFILE_NO_DATA data phase handlers.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit e27420d046600cd3e4139ea1b6cba59a8b4050eb
Author: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
Date: Thu Jul 24 22:53:35 2008 +0200
ide-scsi: remove kmalloced struct request
This converts ide-scsi to use blk_get/put_request instead of
kmalloc/kfree.
Signed-off-by: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 216f9a88feabf5ed574c3aa78447a6bd872910bc
Author: Jan Evert van Grootheest <j.e.van.grootheest at caiway.nl>
Date: Thu Jul 24 22:53:35 2008 +0200
ht6560b: remove old history
Remove the ancient version history. Git does a better job.
From: Jan Evert van Grootheest <j.e.van.grootheest at caiway.nl>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit eb34b2d90e71380ad19695188934230b06a3668b
Author: Jan Evert van Grootheest <j.e.van.grootheest at caiway.nl>
Date: Thu Jul 24 22:53:35 2008 +0200
ht6560b: update email address
Update email address.
From: Jan Evert van Grootheest <j.e.van.grootheest at caiway.nl>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit e8e7b9eb11c34ee18bde8b7011af41938d1ad667
Author: Jens Axboe <jens.axboe at oracle.com>
Date: Thu Jul 24 22:53:35 2008 +0200
ide-cd: fix oops when using growisofs
cdrom_read_capacity() will blindly return the capacity from the device
without sanity-checking it. This later causes code in fs/buffer.c to
oops.
Fix this by checking that the device is telling us sensible things.
From: Jens Axboe <jens.axboe at oracle.com>
Cc: Michael Buesch <mb at bu3sch.de>
Cc: Jan Kara <jack at suse.cz>
Cc: Arnd Bergmann <arnd at arndb.de>
Cc: <stable at kernel.org>
Cc: Borislav Petkov <petkovbb at googlemail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
[bart: print device name instead of driver name]
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
[harvey: blocklen is a big-endian value]
Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 96cc112c09b3c6674da01ef8b377f7a916883ea2
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:34 2008 +0200
gayle: release resources on ide_host_add() failure
"gayle: reserve memory resources at once" patch temporary removed
freeing of resources on failure (to ease convertion to ide_host_add()
interface). This patch fixes it.
Thanks to Geert for noticing the issue.
Noticed-by: Geert Uytterhoeven <geert at linux-m68k.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit a0f403bc58dcaa118f02ec70c3ecfec1bc26e445
Author: Sergei Shtylyov <sshtylyov at ru.mvista.com>
Date: Thu Jul 24 22:53:34 2008 +0200
palm_bk3710: add UltraDMA/100 support
This controller supports UltraDMA up to mode 5 but it should be clocked with
at least twice the data strobe frequency, so enable mode 5 for 100+ MHz IDECLK.
While at it, start passing the correct device to clk_get() -- it worked anyway
but WTF? :-/
Signed-off-by: Sergei Shtylyov <sshtylyov at ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 7fa897b91a3ea0f16c2873b869d7a0eef05acff4
Author: Harvey Harrison <harvey.harrison at gmail.com>
Date: Thu Jul 24 22:53:34 2008 +0200
ide: trivial sparse annotations
Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit cd740ab0f69f6c94d9c7f916758e308f30a439fa
Author: Harvey Harrison <harvey.harrison at gmail.com>
Date: Thu Jul 24 22:53:33 2008 +0200
ide: ide-tape.c sparse annotations and unaligned access removal
If this is actually unaligned the access of speed/max_speed above
is already broken and needs a get_unaligned. Otherwise it is
aligned and they can be removed.
Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
Cc: Borislav Petkov <petkovbb at googlemail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit a326b02b0c576001353dbc489154959b0889c6bf
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:33 2008 +0200
ide: drop 'name' parameter from ->init_chipset method
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit ced3ec8aa7d0fa3300187ee47c144a22ccfc974e
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:32 2008 +0200
ide: prefix messages from IDE PCI host drivers by driver name
Prefix messages from IDE PCI host drivers by driver name instead of marketed
chipset name (it is still possible to exactly identify the particular chipset
basing on driver messages).
As a bonus this provides nice code savings for some drivers:
text data bss dec hex filename
3826 112 8 3946 f6a drivers/ide/pci/amd74xx.o.before
2786 112 8 2906 b5a drivers/ide/pci/amd74xx.o.after
764 108 0 872 368 drivers/ide/pci/cs5520.o.before
680 108 0 788 314 drivers/ide/pci/cs5520.o.after
1680 112 4 1796 704 drivers/ide/pci/generic.o.before
1155 112 4 1271 4f7 drivers/ide/pci/generic.o.after
7128 792 0 7920 1ef0 drivers/ide/pci/hpt366.o.before
6984 792 0 7776 1e60 drivers/ide/pci/hpt366.o.after
2800 148 0 2948 b84 drivers/ide/pci/pdc202xx_new.o.before
2523 148 0 2671 a6f drivers/ide/pci/pdc202xx_new.o.after
2831 148 0 2979 ba3 drivers/ide/pci/pdc202xx_old.o.before
2683 148 0 2831 b0f drivers/ide/pci/pdc202xx_old.o.after
3776 112 4 3892 f34 drivers/ide/pci/piix.o.before
2804 112 4 2920 b68 drivers/ide/pci/piix.o.after
4693 116 0 4809 12c9 drivers/ide/pci/siimage.o.before
4600 116 0 4716 126c drivers/ide/pci/siimage.o.after
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 04ba6e739e9c0623c25f94b191fd20dfbd1b26e3
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:32 2008 +0200
it821x: remove DECLARE_ITE_DEV() macro
While at it:
* it821x_chipsets[] -> it821x_chipset.
* Fix it821x_chipset's name field (as it is used for IT8211/8212).
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 29f1ca920cb8d65b979f7edf2fc7d11095461306
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:32 2008 +0200
it8213: remove DECLARE_ITE_DEV() macro
While at it:
* it8213_chipsets[] -> it8213_chipset.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 28cfd8af52a9ed4e5bd1751ea6bc0b8c870f68ec
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:31 2008 +0200
ide: include PCI device name in messages from IDE PCI host drivers
While at it:
* Apply small fixes to messages (s/dma/DMA/, remove trailing '.', etc).
* Fix printk() call in ide_setup_pci_baseregs() to use KERN_INFO.
* Move printk() call from ide_pci_clear_simplex() to the caller.
* Cleanup do_ide_setup_pci_device() a bit.
* amd74xx.c: remove superfluous PCI device revision information.
* hpt366.c: fix two printk() calls in ->init_chipset to use KERN_INFO.
* pdc202xx_new.c: fix printk() call in ->init_chipset to use KERN_INFO.
* pdc202xx_old.c: fix driver message in pdc202xx_init_one().
* via82cxxx.c: fix driver warning message in via_init_one().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 2a8f7450f828eaee49d66f41f99ac2e54f1160a6
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:31 2008 +0200
ide: remove <asm/ide.h> for some archs
* Remove <linux/irq.h> include from <asm-ia64.h> (<linux/ide.h> includes
<linux/interrupt.h> which is enough).
* Remove <asm/ide.h> for alpha/blackfin/h8300/ia64/m32r/sh/x86/xtensa
(this leaves us with arm/frv/m68k/mips/mn10300/parisc/powerpc/sparc[64]).
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit f01d35d87f39ab794ddcdefadb79c11054bcbfbc
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:31 2008 +0200
ide-generic: remove ide_default_{io_base,irq}() inlines (take 3)
Replace ide_default_{io_base,irq}() inlines by legacy_{bases,irqs}[].
v2:
Add missing zero-ing of hws[] (caught during testing by Borislav Petkov).
v3:
Fix zero-oing of hws[] for _real_ this time.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 35bbac9a2f73a7e0967d0a1d3e3673e2590ef716
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:30 2008 +0200
ide-generic: is no longer needed on ppc32
Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit ffed0b6e1a6f5132681d4b521531d992f893190b
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:30 2008 +0200
ide-generic: remove broken PPC_PREP support
PPC_PREP has been depending on BROKEN for some time now.
Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit d83b8b85cd56a083d30df73f3fd5e4714591b910
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:30 2008 +0200
ide: define MAX_HWIFS in <linux/ide.h>
* Now that ide_hwif_t instances are allocated dynamically
the difference between MAX_HWIFS == 2 and MAX_HWIFS == 10
is ~100 bytes (x86-32) so use MAX_HWIFS == 10 on all archs
except these ones that use MAX_HWIFS == 1.
* Define MAX_HWIFS in <linux/ide.h> instead of <asm/ide.h>.
[ Please note that avr32/cris/v850 have no <asm/ide.h>
and alpha/ia64/sh always define CONFIG_IDE_MAX_HWIFS. ]
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 2c9d86438a0104800da2a8ecdc1e27baf38ba6a4
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:29 2008 +0200
ide: remove <asm-cris/ide.h>
Remove <asm-cris/arch-v{10,32}/ide.h> and <asm-cris/ide.h>.
This has been a broken code for some time now and needs rewrite
to match IDE core code / host driver model anyway.
Cc: Jesper Nilsson <Jesper.Nilsson at axis.com>
Cc: Mikael Starvik <mikael.starvik at axis.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit b6cd7da5be2522b62bbc48d41b36c828b88e02fe
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:28 2008 +0200
ide-generic: remove "no_pci_devices()" quirk from ide_default_io_base()
Since the decision to probe for ISA ide2-6 is now left to the user
"no_pci_devices()" quirk is no longer needed and may be removed.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit dbdec839c4c2bfc8f2da8e50c06b9947e5ad0394
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:28 2008 +0200
ide-generic: minor fix for mips
Move ide_probe_legacy() call to ide_generic_init() so it fails
early if necessary and returns the proper error value (nowadays
ide_default_io_base() is used only by ide-generic).
Cc: Ralf Baechle <ralf at linux-mips.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit ac32f3238c1d95a6ebea2c312160dbdbd61bf91c
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:27 2008 +0200
ide-generic: fix ide_default_io_base() for m32r
Fix ide_default_io_base() to match ide_default_irq().
Cc: Hirokazu Takata <takata at linux-m32r.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit b0a62817961796f6dcef5f316134d8bc7279bf6e
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:27 2008 +0200
ide: fix <asm-xtensa/ide.h>
* Add missing <asm-generic/ide_iops.h> include.
While at it:
* Remove needless ide_default_{irq,io_base}() inlines.
Cc: Chris Zankel <chris at zankel.net>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 37c5ef56989717d871d048f98fb6411e7a17c43d
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:27 2008 +0200
rapide: add module_exit()
Cc: Russell King <rmk at arm.linux.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 8e27cb1135de4cc69bf358209f91e1f7ba81eca1
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:27 2008 +0200
icside: add module_exit()
Cc: Russell King <rmk at arm.linux.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 585f67e736eece4cdf96b628042170273221e770
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:26 2008 +0200
via82cxxx: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit fc2c32b737fa370683f8c44d74f41febe33b9c23
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:26 2008 +0200
trm290: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 29d72f2df933ea5ecf294b170b2f02af2af88120
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:26 2008 +0200
triflex: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit ea881d6d6c58aa6d56105d1faba7432243ea7118
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:26 2008 +0200
tc86c001: add ->remove method and module_exit()
Cc: Sergei Shtylyov <sshtylyov at ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 64b0fed31d6704e4e2e42e9a1ac5995b0a1b54e4
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:25 2008 +0200
slc90e66: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 6ce7199897bcbad05ecd06a4df22795fb37f4d0a
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:25 2008 +0200
sl82c105: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 1ceb906b4062954e92295191402e9214345ee0e9
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:25 2008 +0200
sis5513: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit fe3825808ad67af02bd826a0d2ca6831e947e80e
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:25 2008 +0200
siimage: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit bc2c9a8025921972f0774859b8f19b324734e824
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:25 2008 +0200
serverworks: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 991f5e69c512b284aaec81432dff0440b2a2f418
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:24 2008 +0200
sc1200: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 0fd188047ca75df85191cc55f929cb2889631430
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:24 2008 +0200
rz1000: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit da8c3e0d21c5dbb2815d7c8f1f09e0c68f626ed1
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:24 2008 +0200
piix: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 574a1c24b63fdb584935b4924a38b451eeb0880e
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:24 2008 +0200
pdc202xx_old: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit d69c8f8c0068b9fc7f5a5082d8a891618b732e2d
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:23 2008 +0200
pdc202xx_new: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit adc7f85ae68bd2e8db2e0136dcd4679891e5c321
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:23 2008 +0200
opti621: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit aa6e518d75742fd3ac3d2cb4c2bcbae850319fc1
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:23 2008 +0200
ns87415: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 1bcaaba7749dce7c0506cff0e811c9bed8121f38
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:22 2008 +0200
jmicron: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 87d8b61356108835f5e91c0fb32b830ec585978c
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:22 2008 +0200
it821x: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 5102f768570b3486979afb68c595b71cfb7f026f
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:22 2008 +0200
it8213: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit a6c43a2be9721d00ef9d6ef5b7b0e8113444577b
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:21 2008 +0200
hpt366: add ->remove method and module_exit()
Cc: Sergei Shtylyov <sshtylyov at ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 741ac62f6fca55ddbef52513fbc687ba6b04f99e
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:21 2008 +0200
hpt34x: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit f566bcae9fb39b108e39a2f31594c028d6ee2e77
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:21 2008 +0200
ide/pci/generic: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit cd68841b854e24076d41c32eae3ccfce6ae60a59
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:21 2008 +0200
cy82c693: add ->remove method and module_exit()
Fix the refcounting for dev2 while at it.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 40c8a7f67d38de87f97a548b81b6cd0621a3ff9a
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:20 2008 +0200
cs5535: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit d16492a9789982955e627a7ffdcd1c3b945f7e85
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:20 2008 +0200
cs5530: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit e2b15b4765ca032d0837dfc8c195ecd3bc56a433
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:20 2008 +0200
cmd64x: add ->remove method and module_exit()
Cc: Sergei Shtylyov <sshtylyov at ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit f354fbc4b45a730aa0f876322ea4f096b47d1013
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:20 2008 +0200
atiixp: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit b2509ac1d9dbe7a9d3a9915afbe108978002c95b
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:19 2008 +0200
amd74xx: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 8ee3f3b69d9c37f86a45862f53451699ec77fe12
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:19 2008 +0200
alim15x3: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit eb7cb98b1cc8be1d4395d9accf49ae3924cd68f1
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:19 2008 +0200
aec62xx: add ->remove method and module_exit()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit ef0b04276d8f719d754c092434fbd62c2aeb5307
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:19 2008 +0200
ide: add ide_pci_remove() helper
* Add 'unsigned long host_flags' field to struct ide_host.
* Set ->host_flags in ide_host_alloc_all().
* Always set PCI dev's ->driver_data in ide_pci_init_{one,two}().
* Add ide_pci_remove() helper (the default implementation for
struct pci_driver's ->remove method).
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 37525bebcfc15a1fe5a9cb50bf49b21bf43559c1
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:18 2008 +0200
via82cxxx: cleanup ->init_chipset method
* Move the boot message and via_clock setup from
init_chipset_via82cxxx() to via_init_one().
* Set vdev->via_config in via_init_one() and cleanup
init_chipset_via82cxxx() accordingly.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 0794230fd4b1bf61af8aabd7e987a595d6dbc430
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:17 2008 +0200
cmd64x: cleanup ->init_chipset method
Remove verbose reporting for CMD646 (PCI device revision is always
logged by IDE PCI layer).
Cc: Sergei Shtylyov <sshtylyov at ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit d51f19c86583ca70468883d8137a92689f1a80c1
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:17 2008 +0200
amd74xx: cleanup ->init_chipset method
Move amd_clock setup from init_chipset_amd74xx() to amd74xx_probe().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit b16040b14e766d390138b04c8829c816f4c1d95b
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:17 2008 +0200
tc86c001: remove ->init_chipset method
* Reserve PCI BAR 5 in tc86c001_init_one() and remove no longer needed
init_chipset_tc86c001().
While at it:
* Add & use DRV_NAME define.
Cc: Sergei Shtylyov <sshtylyov at ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit ee77325b074a73694b66ec9eca4f7e55dad58b84
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:17 2008 +0200
via82cxxx: convert to use ->host_priv
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 4c674235d667d7ddc6b0c95a228a507eb94da2d6
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:16 2008 +0200
siimage: convert to use ->host_priv
While at it:
* Reserve PCI BAR 5 in siimage_init_one() and remove no longer needed
setup_mmio_siimage().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 96776f3b57eb7beb889a4368937cc9d74082a47e
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:16 2008 +0200
sc1200: convert to use ->host_priv
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 1d76d9dc448d5a6fc7b49ba06c634aa6927bcc3d
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:16 2008 +0200
it821x: convert to use ->host_priv
While at it:
* Allocate both struct it821x_dev instances at once.
* Don't leak itdevs on ide_pci_init_one() failure.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 74811f355f4f69a187fa74892dcf2a684b84ce99
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:15 2008 +0200
hpt366: convert to use ->host_priv
While at it:
* Allocate both struct hpt_info instances at once.
Cc: Sergei Shtylyov <sshtylyov at ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 60e57ed7c12917932a01d1679d92a7a8735afbce
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:15 2008 +0200
aec62xx: convert to use ->host_priv
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 08da591e14cf87247ec09b17c350235157a92fc3
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:15 2008 +0200
ide: add ide_device_{get,put}() helpers
* Add 'struct ide_host *host' field to ide_hwif_t and set it
in ide_host_alloc_all().
* Add ide_device_{get,put}() helpers loosely based on SCSI's
scsi_device_{get,put}() ones.
* Convert IDE device drivers to use ide_device_{get,put}().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 6cdf6eb357c2681596b7b1672b92396ba82333d4
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:14 2008 +0200
ide: add ->dev and ->host_priv fields to struct ide_host
* Add 'struct device *dev[2]' and 'void *host_priv' fields
to struct ide_host.
* Set ->dev[] in ide_host_alloc_all()/ide_setup_pci_device[s]().
* Pass 'void *priv' argument to ide_setup_pci_device[s]()
and use it to set ->host_priv.
* Set PCI dev's ->driver_data to point to the struct ide_host
instance if PCI host driver wants to use ->host_priv.
* Rename ide_setup_pci_device[s]() to ide_pci_init_{one,two}().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 8c2eece50a368c7986bae0b3e52739558dd71b51
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:12 2008 +0200
ide: call ide_pci_setup_ports() before do_ide_setup_pci_device()
* Call ide_pci_setup_ports() before do_ide_setup_pci_device()
in ide_setup_pci_device[s]().
While at it:
* Remove stale FIXMEs.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit a742d6cf0b37b1a96a1549b1fda0d6b19e0185c2
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:12 2008 +0200
ide: move ide_setup_pci_controller() call to ide_setup_pci_device[s]()
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit a95925a309cd9a2e7f5a5713fd70e0dadb09890c
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:11 2008 +0200
ide: respect dev->irq in do_ide_setup_pci_device() also if 'tried_config'
* If device is in the PCI native mode respect dev->irq regardless of
'tried_config' in do_ide_setup_pci_device().
* Drop no longer needed 'config' argument from ide_setup_pci_controller().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 708e5f9eb68589b87724af3f0fb4e681dfdfd69f
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date: Thu Jul 24 22:53:11 2008 +0200
ide: always call ->init_chipset method in do_ide_setup_pci_device()
Call ->init_chipset method also for 'tried_config' / '!pciirq' conditions.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
commit 5c402355adf8f920531f02099f4ec0d2bccd4c64
Merge: ecc8b655b38a880b578146895e0e1e2d477ca2c0 2cc177364e4746becdf421f926fb967c047ccc32
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Thu Jul 24 12:56:07 2008 -0700
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
MAINTAINERS: Remove Glenn Streiff from NetEffect entry
mlx4_core: Improve error message when not enough UAR pages are available
IB/mlx4: Add support for memory management extensions and local DMA L_Key
IB/mthca: Keep free count for MTT buddy allocator
mlx4_core: Keep free count for MTT buddy allocator
mlx4_code: Add missing FW status return code
IB/mlx4: Rename struct mlx4_lso_seg to mlx4_wqe_lso_seg
mlx4_core: Add module parameter to enable QoS support
RDMA/iwcm: Remove IB_ACCESS_LOCAL_WRITE from remote QP attributes
IPoIB: Include err code in trace message for ib_sa_path_rec_get() failures
IB/sa_query: Check if sm_ah is NULL in ib_sa_remove_one()
IB/ehca: Release mutex in error path of alloc_small_queue_page()
IB/ehca: Use default value for Local CA ACK Delay if FW returns 0
IB/ehca: Filter PATH_MIG events if QP was never armed
IB/iser: Add support for RDMA_CM_EVENT_ADDR_CHANGE event
RDMA/cma: Add RDMA_CM_EVENT_TIMEWAIT_EXIT event
RDMA/cma: Add RDMA_CM_EVENT_ADDR_CHANGE event
commit ecc8b655b38a880b578146895e0e1e2d477ca2c0
Merge: 2528ce3237be4e900f5eaa455490146e1422e424 e338125b8a886923ba8367207c144764dc352584
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Thu Jul 24 12:55:01 2008 -0700
Merge branch 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
nohz: adjust tick_nohz_stop_sched_tick() call of s390 as well
nohz: prevent tick stop outside of the idle loop
commit 2528ce3237be4e900f5eaa455490146e1422e424
Merge: 8ffa5b65968262ba6bb046329972791c0d960745 36bd53d07243ae83c1b73bae549086cea2252854
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Thu Jul 24 12:54:26 2008 -0700
Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
arch/mips/kernel/stacktrace.c: Heiko can't type
kthread: reduce stack pressure in create_kthread and kthreadd
fix core/stacktrace changes on avr32, mips, sh
commit 8ffa5b65968262ba6bb046329972791c0d960745
Merge: 6209ed9d8443b63c36d340908530fa470c4d4fff 58838cf3ca3337d76141c33d6c68376490263468
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Thu Jul 24 12:53:51 2008 -0700
Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
sched: clean up compiler warning
sched: fix hrtick & generic-ipi dependency
commit 6209ed9d8443b63c36d340908530fa470c4d4fff
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Thu Jul 24 12:49:26 2008 -0700
x86-64: make BUILD_IRQ() also reset section back
Commit 9d25d4db81833029d30b7b03cc1000cbbe09e192 ("x86: BUILD_IRQ say
.text to avoid .data.percpu") added a ".text" specifier to make sure
that BUILD_IRQ() builds the irq trampoline in the text segment rather
than in some random left-over segment that the compiler happened to
leave the asm in.
However, we should also make sure that we switch back by adding a
".previous" at the end, so that there are no subtle issues with
subsequent compiler-generated code.
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 6044110742bc2ae0577b962985e7c63e0634b2e9
Merge: 7540081c6b16dc941895bca840749cabfd0d3b48 04bbe430f73c6c31bbd067349c029e907e153a8d
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Thu Jul 24 12:33:51 2008 -0700
Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
x86: fix header export, asm-x86/processor-flags.h, CONFIG_* leaks
x86: BUILD_IRQ say .text to avoid .data.percpu
xen: don't use sysret for sysexit32
x86: call early_cpu_init at the same point
commit 7540081c6b16dc941895bca840749cabfd0d3b48
Merge: 3fde80e94c2bbffbb13f5faa3340cf438440ebea b552068999b0b05087c454e525b30b785c79dc9b
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Thu Jul 24 12:24:40 2008 -0700
Merge branch 'semaphore' of git://git.kernel.org/pub/scm/linux/kernel/git/willy/misc
* 'semaphore' of git://git.kernel.org/pub/scm/linux/kernel/git/willy/misc:
Remove __DECLARE_SEMAPHORE_GENERIC
Remove asm/semaphore.h
Remove use of asm/semaphore.h
Add missing semaphore.h includes
Remove mention of semaphores from kernel-locking
commit 3fde80e94c2bbffbb13f5faa3340cf438440ebea
Merge: ac9f80ad16e6e934b6c1f12f82d27889c0f9abcc 9b0e74102494971ca37a425c63031fea68bb5b79
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Thu Jul 24 12:17:19 2008 -0700
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
m68knommu: put ColdFire head code into .text.head section
m68knommu: remove last use of CONFIG_FADS and CONFIG_RPXCLASSIC
m68knommu: remove RPXCLASSIC from the m68k tree
m68knommu: fec: remove FADS
m68knommu: MCF5307 PIT GENERIC_CLOCKEVENTS support
m68knommu: add read_barrier_depends() and irqs_disabled_flags()
m68knommu: add byteswap assembly opcode for ISA A+
m68knommu: add ffs and __ffs plattform which support ISA A+ or ISA C
m68knommu: add sched_clock() for the DMA timer
m68knommu: complete generic time
m68knommu: move code within time.c
m68knommu: m68knommu: add old stack trace method
m68knommu: Add Coldfire DMA Timer support
m68knommu: defconfig for M5407C3 board
m68knommu: defconfig for M5307C3 board
m68knommu: defconfig for M5275EVB board
m68knommu: defconfig for M5249EVB board
m68knommu: change to a configs directory for board configurations
commit ac9f80ad16e6e934b6c1f12f82d27889c0f9abcc
Merge: c54554d388369f7f88ddcbe285ca96f7fb8a2d4b f6ec2d96796d0accda6c325890206f3629130729
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Thu Jul 24 12:16:40 2008 -0700
Merge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-backlight
* 'for-linus' of git://git.o-hand.com/linux-rpurdie-backlight:
backlight: Fix missing kernel doc entry
backlight: Add Nvidia-based Apple Macbook Pro backlight driver
commit c54554d388369f7f88ddcbe285ca96f7fb8a2d4b
Merge: 4378dcca8578b0fd0fba883a3354ad4820d4f85f fe3025b55c8ed06929afe94e9c9095fc19d15aa0
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Thu Jul 24 12:16:02 2008 -0700
Merge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-leds
* 'for-linus' of git://git.o-hand.com/linux-rpurdie-leds:
leds: Ensure led->trigger is set earlier
leds: Add support for Philips PCA955x I2C LED drivers
leds: Fix sparse warnings in leds-h1940 driver
leds: mark led_classdev.default_trigger as const
leds: fix unsigned value overflow in atmel pwm driver
leds: Add pca9532 platform data for Thecus N2100
leds: Add pca9532 led driver
commit 4378dcca8578b0fd0fba883a3354ad4820d4f85f
Merge: c3c2233d84bee397b8271923c007264eb3efa67b 7ae93f51d7fa8b9130d47e0b7d17979a165c5bc3
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Thu Jul 24 12:15:16 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
sparc64: Fix cpufreq notifier registry.
sparc64: Fix lockdep issues in LDC protocol layer.
commit c3c2233d84bee397b8271923c007264eb3efa67b
Merge: f9247273cb69ba101877e946d2d83044409cc8c5 f867e6af94239a04ec23aeec2fcda5aa58e41db7
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Thu Jul 24 12:14:58 2008 -0700
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
pkt_sched: sch_sfq: dump a real number of flows
atm: [fore200e] use MODULE_FIRMWARE() and other suggested cleanups
netfilter: make security table depend on NETFILTER_ADVANCED
tcp: Clear probes_out more aggressively in tcp_ack().
e1000e: fix e1000_netpoll(), remove extraneous e1000_clean_tx_irq() call
net: Update entry in af_family_clock_key_strings
netdev: Remove warning from __netif_schedule().
sky2: don't stop queue on shutdown
commit f9247273cb69ba101877e946d2d83044409cc8c5
Author: Steven Whitehouse <swhiteho at redhat.com>
Date: Thu Jul 24 17:22:13 2008 +0100
UFS: add const to parser token table
This patch adds a "const" to the parser token table. I've done an
allmodconfig build to see if this produces any warnings/failures and the
patch includes a fix for the only warning that was produced.
Signed-off-by: Steven Whitehouse <swhiteho at redhat.com>
Acked-by: Alexander Viro <aviro at redhat.com>
Acked-by: Evgeniy Dushistov <dushistov at mail.ru>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b340e8a57ef381e69c99a7a8ede61a6bf71a8014
Author: Akinobu Mita <akinobu.mita at gmail.com>
Date: Wed Jul 23 21:31:51 2008 -0700
auxdisplay: small cleanups
- Use BUILD_BUG_ON for CFAG12864B_SIZE instead of runtime-check
- Use get_zeroed_page()
Signed-off-by: Akinobu Mita <akinobu.mita at gmail.com>
Cc: Miguel Ojeda Sandonis <maxextreme at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 5bb49fcd501aa9fd3d321a22b7c01d9b0db7ab36
Author: Philippe De Muyter <phdm at macqel.be>
Date: Wed Jul 23 21:31:50 2008 -0700
video/fb: cleanup FB_MAJOR usage
Currently, linux/major.h defines a GRAPHDEV_MAJOR (29) that nobody uses,
and linux/fb.h defines the real FB_MAJOR (also 29), that only fbmem.c
needs. Drop GRAPHDEV_MAJOR from major.h, move FB_MAJOR definition from
fb.h to major.h, and fix fbmem.c to use major.h's definition.
Signed-off-by: Philippe De Muyter <phdm at macqel.be>
Cc: Krzysztof Helt <krzysztof.h1 at poczta.fm>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit cba603bf514c101bf48f6adf393c3d00ed457a57
Author: Jan Beulich <jbeulich at novell.com>
Date: Wed Jul 23 21:31:49 2008 -0700
fbcon: remove stray semicolons
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Jan Beulich <jbeulich at novell.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3e074058d72486676f6fdf6fe803200c62dcb403
Author: Hans-Christian Egtvedt <hans-christian.egtvedt at atmel.com>
Date: Wed Jul 23 21:31:48 2008 -0700
fbdev: LCD backlight driver using Atmel PWM driver
This patch adds a platform driver using the ATMEL PWM driver to control a
backlight which requires a PWM signal and optional GPIO signal for discrete
on/off signal. It has been tested on Favr-32 board from EarthLCD.
The driver is configurable by supplying a struct with the platform data. See
the include/linux/atmel-pwm-bl.h for details.
The board code for Favr-32 will be submitted to the AVR32 kernel list.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt at atmel.com>
Cc: Krzysztof Helt <krzysztof.h1 at poczta.fm>
Cc: Haavard Skinnemoen <hskinnemoen at atmel.com>
Cc: Richard Purdie <rpurdie at rpsys.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 2d04a4a72d7e1519b4838f24bdd4b5d0f3f426dc
Author: Stefano Stabellini <stefano.stabellini at eu.citrix.com>
Date: Wed Jul 23 21:31:48 2008 -0700
fbcon: bgcolor fix
The fourth bit of the background color is the blink property bit, not the
intensity bit, as for the foreground color. Therefore it shouldn't be
included in the background color.
Signed-off-by: Stefano Stabellini <stefano.stabellini at eu.citrix.com>
Cc: Krzysztof Helt <krzysztof.h1 at poczta.fm>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 4a25e41831ee851c1365d8b41decc22493b18e6d
Author: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
Date: Wed Jul 23 21:31:46 2008 -0700
video: sh7760fb: SH7760/SH7763 LCDC framebuffer driver
Framebuffer driver for the SH7760/SH7763 integrated LCD controller.
Signed-off-by: Manuel Lauss <mano at roarinelk.homelinux.net>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
Reviewed-by: Paul Mundt <lethal at linux-sh.org>
Cc: Krzysztof Helt <krzysztof.h1 at poczta.fm>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Cc: Siegfried Schaefer <s.schaefer at schaefer-edv.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit c6b044d6bab5e2878d408666469362fc200a889a
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:45 2008 -0700
neofb: drop the xtimings structure
Remove the xtimings structure which only stored some values to be used
later (mostly once). Calculate and use these values in places they are
needed.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 1ca6b62f8ca668ccfab0da9112c0125ef82343bd
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:45 2008 -0700
neofb: drop redundant code
Drop structure which is only set but never read. Drop variables which are
only set and never read. Convert one long switch into two shorter ones.
Add cpu_relax() in busy waiting loop.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7fc80b7bd682b47825e806018cca8ff7dc6bb55a
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:44 2008 -0700
neofb: simplify clock calculation
There is nothing to gain by converting value in kHz to fixed point MHz.
Just calculate everything in kHz.
A reorder of the loop allows reducing number of iterations (check if
frequency is not too high already).
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 5798712d608f5ebad994487748a2ccf3cc613d78
Author: Adrian Bunk <bunk at kernel.org>
Date: Wed Jul 23 21:31:43 2008 -0700
drivers/video/amifb.c cleanups
This patch contains the following cleanups:
- make the needlessly global amifb_init() static
- rename cleanup_module() to amifb_exit(),
make it static __exit,
use module_exit(),
there's no need to #ifdef MODULE it
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Acked-by: Geert Uytterhoeven <geert at linux-m68k.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 104b198dd0b3b62a4fc4e9146f01f2abc718e926
Author: Jordan Crouse <jordan.crouse at amd.com>
Date: Wed Jul 23 21:31:43 2008 -0700
lxfb: fix console blanking
Simply enabling DAC blanking without turning off the CRT seems to be resulting
in characters remaining on the screen when the monitor blanks. This patch
turns off the CRT for all modes, and also powers down the DACs when vsync
and/or hsync are disabled.
Signed-off-by: Jordan Crouse <jordan.crouse at amd.com>
Acked-by: Andres Salomon <dilinger at debian.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit be935d5b6301865b4e9ec35d79d398cedb3c82b7
Author: Andres Salomon <dilinger at queued.net>
Date: Wed Jul 23 21:31:41 2008 -0700
lxfb: drop dead declarations from header
We never sent the gamma stuff upstream, and don't really care about it.
However, lx_[gs]_et_gamma prototypes snuck into lxfb.h anyways; there are
no definitions for them. Drop the dead code.
Signed-off-by: Andres Salomon <dilinger at debian.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 18b095d4b847bb08bf8a1bace7711a93d27732c0
Author: Yoichi Yuasa <yoichi_yuasa at tripeaks.co.jp>
Date: Wed Jul 23 21:31:41 2008 -0700
drivers/char: remove old broken Cobalt LCD driver
Remove old broken Cobalt LCD driver.
Signed-off-by: Yoichi Yuasa <yoichi_yuasa at tripeaks.co.jp>
Acked-by: Ralf Baechle <ralf at linux-mips.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 5abe3b4063f16245b8fafbff37bd93814eb8e363
Author: Yoichi Yuasa <yoichi_yuasa at tripeaks.co.jp>
Date: Wed Jul 23 21:31:40 2008 -0700
fbdev: add new Cobalt LCD framebuffer driver
Add new Cobalt LCD framebuffer driver.
[akpm at linux-foundation.org: fix build]
Signed-off-by: Yoichi Yuasa <yoichi_yuasa at tripeaks.co.jp>
Cc: Krzysztof Helt <krzysztof.h1 at poczta.fm>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Cc: Ralf Baechle <ralf at linux-mips.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 6b51d51a9d24719f905ba9657b29e04efd82a7ea
Author: Timur Tabi <timur at freescale.com>
Date: Wed Jul 23 21:31:39 2008 -0700
fsl-diu-fb: update Freescale DIU driver to use page_alloc_exact()
Update the Freescale DIU driver to use page_alloc_exact() to allocate a
DMA buffer. This also eliminates the rheap-based memory allocator. We
can do this now because commit 6ccf61f9 allows us to allocate 8MB
physically- contiguous memory blocks.
[akpm at linux-foundation.org: fix printk warnings]
Signed-off-by: Timur Tabi <timur at freescale.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit c25826a7cf1c61b5c6e6db8365172eb97ef39ef3
Author: Ben Dooks <ben-linux at fluff.org>
Date: Wed Jul 23 21:31:38 2008 -0700
lcd: add platform_lcd driver
Add a platform_lcd driver to allow boards with simple lcd power controls
to register themselves easily.
[akpm at linux-foundation.org: build fix]
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Cc: Richard Purdie <rpurdie at rpsys.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 0c531360ed504aa0ce995fcb8ef08e82b6534d0b
Author: Ben Dooks <ben-linux at fluff.org>
Date: Wed Jul 23 21:31:38 2008 -0700
lcd: add lcd_device to check_fb() entry in lcd_ops
Add the lcd_device being checked to the check_fb entry of lcd_ops. This
ensures that any driver using this to check against it's own state can do
so, and also makes all the calls in lcd_ops more orthogonal in their
arguments.
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit cccb6d3c149603b9c15d3c460dff317455df1766
Author: Ben Dooks <ben-linux at fluff.org>
Date: Wed Jul 23 21:31:37 2008 -0700
fb: add support for the ILI9320 video display controller
Provide support for the ILI9320 display controller chip which is found in
many LCD displays. Included with this is support for an example LCD using
this chip, the VGG2432A4.
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit d05254190dd1a4751284f4a51efb70fcc16c45a4
Author: Ben Dooks <ben-linux at fluff.org>
Date: Wed Jul 23 21:31:37 2008 -0700
sm501: fixup allocation code to be 64bit resource compliant
As pointed out by Andrew Morton, we have a problem when setting the 64bit
resources option. Alter the allocation routines to remove the need to use
the start and end fields, use the proper HEAD_PANEL/HEAD_CRT and update
the comments.
Note, we also fix the bug where we failed to check the size of the
CRT memory allocation.
[akpm at linux-foundation.org: cleanup]
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 9b599fb2fc23386dfd2965bf7d10b2b0f628b208
Author: Ben Dooks <ben-linux at fluff.org>
Date: Wed Jul 23 21:31:36 2008 -0700
sm501: restructure init to allow only 1 fb on an SM501
Add the ability to register only one of the two possible main framebuffer
devices on the SM501 by passing platform data for only the framebuffer
that you are interested in having.
As a side note, we update the init sequence to commonise the code that is
executed twice, and fix a pair of missing frees that we didn't do on
framebuffer exit, such as freeing the fb's cmap.
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 206c5d69d0540024faffd423fc703f1e457332d7
Author: Ben Dooks <ben-linux at fluff.org>
Date: Wed Jul 23 21:31:35 2008 -0700
sm501: add inversion controls for VBIASEN and FPEN
Add flags to allow the driver to invert the sense of both VBIASEN and FPEN
signals comming from the SM501.
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 968910bd03b226ed410d092c2da59dffe5bfe8de
Author: Nicolas Ferre <nicolas.ferre at atmel.com>
Date: Wed Jul 23 21:31:34 2008 -0700
atmel_lcdfb: avoid division by zero
Avoid division by zero in atmel_lcdfb_check_var() function.
If pixclock is not specified while passing a var structure in
the check_var() funtion, a division by zero occurs (when
translating pixclock to KHz).
This patch adds a checking of this value and try to choose a
video mode in the modelist.
The mode found in the probe function in added to the modelist.
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Nicolas Ferre <nicolas.ferre at atmel.com>
Cc: Haavard Skinnemoen <hskinnemoen at atmel.com>
Cc: Andrew Victor <linux at maxim.org.za>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Cc: Krzysztof Helt <krzysztof.h1 at poczta.fm>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 84c41ce83e9b2987ccef352f28ba0055b26c8f8e
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:34 2008 -0700
skeletonfb: update to correct platform driver usage
It updates skeletonfb to new platform driver API. The skeletonfb is
templates for creating new drivers.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a882ef47c7156e8cc47e72f2aa396f2514569c48
Author: Akinobu Mita <akinobu.mita at gmail.com>
Date: Wed Jul 23 21:31:33 2008 -0700
aty: use memory_read_from_buffer()
Signed-off-by: Akinobu Mita <akinobu.mita at gmail.com>
Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Cc: Krzysztof Helt <krzysztof.h1 at poczta.fm>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 1c554ff9554d67b4db0fb5e2f78c7cb4b2e0d627
Author: Ville Syrjala <syrjala at sci.fi>
Date: Wed Jul 23 21:31:32 2008 -0700
atyfb: fix a cast
The argument to iounmap() is void __iomem *. Fix the cast.
Signed-off-by: Ville Syrjala <syrjala at sci.fi>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Cc: Krzysztof Helt <krzysztof.h1 at poczta.fm>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 89c69d2b8eb3ee2338fded9d70a0795b4712f112
Author: Ville Syrjala <syrjala at sci.fi>
Date: Wed Jul 23 21:31:32 2008 -0700
atyfb: report probe errors
Properly propagate errors to the probe function.
Signed-off-by: Ville Syrjala <syrjala at sci.fi>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Cc: Krzysztof Helt <krzysztof.h1 at poczta.fm>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 6cfafc15994ac2a2377b32b5a65cf62a90a80d49
Author: Ville Syrjala <syrjala at sci.fi>
Date: Wed Jul 23 21:31:31 2008 -0700
atyfb: use a PCI device ID table
Convert atyfb to use a PCI device ID table.
Signed-off-by: Ville Syrjala <syrjala at sci.fi>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Cc: Krzysztof Helt <krzysztof.h1 at poczta.fm>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3880b0b5297ae9bf58a7662d13a46b5d5f0b2af6
Author: Ville Syrjala <syrjala at sci.fi>
Date: Wed Jul 23 21:31:30 2008 -0700
atyfb: correct_chipset() can fail
Atari probe code relies on correct_chipset() failing if the device is not
a mach64 GX/CX. aty_chips[] array would be indexed with -1 in that case.
Signed-off-by: Ville Syrjala <syrjala at sci.fi>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Cc: Krzysztof Helt <krzysztof.h1 at poczta.fm>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 50cd0221c9062ec5dac8a3620f36f568df052ac1
Author: Olaf Hering <olaf at aepfle.de>
Date: Wed Jul 23 21:31:29 2008 -0700
atyfb: remove dead code
Remove dead code. This will slightly change the behaviour of the driver
on systems that support backlight control. Previously they would just
turn the backlight off using the backlight control but now the generic LCD
code will also turn off the LCD using the POWER_MANAGEMENT register.
Signed-off-by: Olaf Hering <olaf at aepfle.de>
Signed-off-by: Ville Syrjala <syrjala at sci.fi>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Cc: Krzysztof Helt <krzysztof.h1 at poczta.fm>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7572a1ea034a8fc45e57de28cc7573264975532a
Author: Ville Syrjala <syrjala at sci.fi>
Date: Wed Jul 23 21:31:28 2008 -0700
fbdev: xoffset, yoffset and yres are unsigned
The xoffset, yoffset and yres members of fb_var_screeninfo are __u32.
Make them unsigned in the code as well.
Signed-off-by: Ville Syrjala <syrjala at sci.fi>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Cc: Krzysztof Helt <krzysztof.h1 at poczta.fm>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 43a3abc6aca8505e708508e2c7c2f99a7f8f820b
Author: Ville Syrjala <syrjala at sci.fi>
Date: Wed Jul 23 21:31:27 2008 -0700
fbdev: width and height are unsigned
The width and height members of fb_var_screeninfo are __u32. The code
initializes them to -1 which seems wrong, and 0 seems like an equally good
default value.
Signed-off-by: Ville Syrjala <syrjala at sci.fi>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Cc: Krzysztof Helt <krzysztof.h1 at poczta.fm>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 2870086e9f2032bdd95b8da9bd187e3c16fc6d49
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:26 2008 -0700
hgafb: convert to new platform driver API
Convert the hgafb driver to use new platform driver API.
Addresses http://bugzilla.kernel.org/show_bug.cgi?id=9689
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Cc: Anton Vorontsov <avorontsov at ru.mvista.com>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b604838ac6d233fd6bffc0e758a818133a01ff22
Author: Frans Pop <elendil at planet.nl>
Date: Wed Jul 23 21:31:26 2008 -0700
vfb: only enable if explicitly requested when compiled in
The Kconfig help for the vfb driver says:
Do NOT enable it for normal systems! To protect the innocent, it
has to be enabled explicitly at boot time using the kernel option
`video=vfb:'.
This change lets the code match the description.
Support for vfb:disable is kept for backwards compatibility; vfb:off works
because it is tested at a higher level.
Note: any undefined option (e.g. vfb:enable) will also enable this driver.
The relevant code has been unchanged since before the migration to
git (2.6.12).
This patch fixes bugzilla #9310 and was the root cause behind
http://lkml.org/lkml/2008/5/31/220.
Signed-off-by: Frans Pop <elendil at planet.nl>
Cc: Antonino A. Daplas <adaplas at gmail.com>
Acked-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit cfb4f5d1750e05f43902197713c50c29e7dfbc99
Author: Magnus Damm <magnus.damm at gmail.com>
Date: Wed Jul 23 21:31:24 2008 -0700
fbdev: SuperH Mobile LCDC Driver
This is the SuperH Mobile LCDC frame buffer driver V2, adding support for
the LCDC block found in SuperH Mobile processors. The hardware supports
up to two LCD panels per LCDC block, and both RGB and SYS interfaces can
be used to hook up LCD panels/modules.
The device driver is a regular platform driver, so LCD configuration and
board specific hooks are passed to the driver using platform data. LCD
modules using SYS interface often require special configuration using the
SYS bus, and to solve this cleanly the driver provides SYS interface
operations to the board code.
Tested on sh7723 and sh7722 processors with a SYS16A QVGA panel and WVGA
panels using RGB16 and RGB18 interfaces.
Signed-off-by: Magnus Damm <damm at igel.co.jp>
Acked-by: Paul Mundt <lethal at linux-sh.org>
Reviewed-by: Krzysztof Helt <krzysztof.h1 at poczta.fm>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit c2c12155cf05bf3e25eeae5711beffc634505400
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:24 2008 -0700
tdfxfb: remove ypan checks done by a higher layer
These checks and assignments are done by a higher layer so remove them
from the driver.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 98219374d9ed2d257e56e8e1fcd9d16a083397bb
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:23 2008 -0700
vga16fb: source code improvement
Use constants and functions from the vga.h file. Also add module
description.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit ea9014bcacf236124d5e0ff971838049a98456cb
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:22 2008 -0700
tdfxfb: add mode_option module parameter
Small step toward unification of mode setting parameter. This is required
to fix the Bugzilla's bug 9847
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a90ed92ed852a3d4b8a6f20b10bba771997f5ede
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:22 2008 -0700
tridentfb: documentation update
Make the tridentfb documentation closer to current state of the tridentfb
driver. Fix also some formatting.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 012e26096b36bfeacaba2c9e31eaf32d6faa6567
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:21 2008 -0700
uvesafb: change mode parameter to mode_option
Make more drivers use the "mode_option" parameter. This one is quite new
so drop the old "mode" parameter before someone starts using it seriously.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 49a1d28f57adc9cb064572f0373e26363b0a412f
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:21 2008 -0700
fbcon: make logo_height a local variable
Make logo_height variable local in the only function it is used.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit d22579b837358cbef12ccca5adaf7e93ae09ab7a
Author: Nicolas Ferre <nicolas.ferre at atmel.com>
Date: Wed Jul 23 21:31:20 2008 -0700
atmel_lcdfb: FIFO underflow management
Manage atmel_lcdfb FIFO underflow
Resetting the LCD and DMA allows to fix screen shifting after a FIFO
underflow. It follows reset sequence from errata "LCD Screen Shifting
After a Reset".
Signed-off-by: Nicolas Ferre <nicolas.ferre at atmel.com>
Cc: Haavard Skinnemoen <hskinnemoen at atmel.com>
Cc: Andrew Victor <linux at maxim.org.za>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 77a6e7abb09de0e85a15e2fe42c21ffc59847759
Author: Roel Kluin <12o3l at tiscali.nl>
Date: Wed Jul 23 21:31:19 2008 -0700
vga16fb: test virtual screen range before subtraction on unsigned
dx and dy are u32's, so the test should occur before the subtraction
Signed-off-by: Roel Kluin <12o3l at tiscali.nl>
Cc: Antonino Daplas <adaplas at pol.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 1c0face9d4024bf942096297937759bdf0e1aeac
Author: Roel Kluin <12o3l at tiscali.nl>
Date: Wed Jul 23 21:31:18 2008 -0700
atafb: test virtual screen range before subtraction on unsigned
dx and dy are u32's, so the test should occur before the subtraction
Signed-off-by: Roel Kluin <12o3l at tiscali.nl>
Cc: Tim Schmielau <tim at physik3.uni-rostock.de>
Cc: Krzysztof Helt <krzysztof.h1 at wp.pl>
Cc: Antonino Daplas <adaplas at pol.net>
Cc: Geert Uytterhoeven <geert at linux-m68k.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 091c82c01295719d47b89b38d24e41ad2066ead8
Author: Roel Kluin <12o3l at tiscali.nl>
Date: Wed Jul 23 21:31:18 2008 -0700
amifb: test virtual screen range before subtraction on unsigned
dx and dy are u32's, so the test should occur before the subtraction
Signed-off-by: Roel Kluin <12o3l at tiscali.nl>
Cc: Antonino Daplas <adaplas at pol.net>
Cc: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 816664f88707b03fde24fb09759d569ed42406cb
Author: Roel Kluin <12o3l at tiscali.nl>
Date: Wed Jul 23 21:31:17 2008 -0700
aty128fb: test below 0 on unsigned pll->post_divider
pll->post_divider is unsigned, so the test fails
Signed-off-by: Roel Kluin <12o3l at tiscali.nl>
Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Cc: Antonino Daplas <adaplas at pol.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit fcea8030b3c2e71ad89f080901c63a04f07881c8
Author: Tony Breeds <tony at bakeyournoodle.com>
Date: Wed Jul 23 21:31:16 2008 -0700
drivers/video/aty/radeon_base.c: notify user if sysfs_create_bin_file() failed
Current kernel builds warn about:
drivers/video/aty/radeon_base.c: In function 'radeonfb_pci_register':
drivers/video/aty/radeon_base.c:2334: warning: ignoring return value of 'sysfs_create_bin_file', declared with attribute warn_unused_result
drivers/video/aty/radeon_base.c:2336: warning: ignoring return value of 'sysfs_create_bin_file', declared with attribute warn_unused_result
Do minimal checking of these functions and issue a warning if either
fails. They don't seem to be critical..
[akpm at linux-foundation.org: coding-style fixes]
Signed-off-by: Tony Breeds <tony at bakeyournoodle.com>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7951ac91c7d45b61f54f1cdabc24b52b40785de6
Author: Matthias Kaehlcke <matthias at kaehlcke.net>
Date: Wed Jul 23 21:31:16 2008 -0700
sa1100fb: convert ctrlr_sem in a mutex
The semaphore ctrlr_sem is used as a mutex. Convert it to the mutex API
Signed-off-by: Matthias Kaehlcke <matthias at kaehlcke.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit b91dbce56a8dbf312f6255d5121b295553d2b4db
Author: Matthias Kaehlcke <matthias at kaehlcke.net>
Date: Wed Jul 23 21:31:14 2008 -0700
pxafb: convert ctrlr_sem in a mutex
The semaphore ctrlr_sem is used as a mutex. Convert it to the mutex API.
Signed-off-by: Matthias Kaehlcke <matthias at kaehlcke.net>
Cc: Daniel Mack <daniel at caiaq.de>
Cc: Eric Miao <eric.miao at marvell.com>
Cc: Russell King <rmk at arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 14aefd1b49ff3bd13caa37fb06bd53488d5d1486
Author: Adrian Bunk <bunk at kernel.org>
Date: Wed Jul 23 21:31:12 2008 -0700
video/sis/: remove compat code
This patch removes compat code for older kernel versions.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Cc: <thomas at winischhofer.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 0b9cf3aa6b1e934807b40b4d478d7e11f7c43f55
Author: Roland Kletzing <devzero at web.de>
Date: Wed Jul 23 21:31:10 2008 -0700
mdacon messing up default vc's - set default to vc13-16 again
mdacon incorrectly detects MDA hardware on systems without such graphics card.
One may load this module by chance, for example when doing some systematical
module-testing, and if there is no Monochrome Display Adapter attached ,
module init renders vc1-16 completely unusable.
I and others have run into this more than once. see [Bug 224522 - modprobe
mdacon freezes machine -> https://bugzilla.novell.com/show_bug.cgi?id=224522 ]
for example
Apparently proper MDA detection seems to be broken for a long time - seems to
be related to those #ifdef TEST_MDA_B statements added by Edward Betts.
this commit back in 2002 made things even worse :
http://git.kernel.org/?p=linux/kernel/git/tglx/history.git;a=commit;h=c72757b49c88914433244757fb4967fc63546685
It changed default vc allocation from 13-16 to 1-16 for no apparent reason
(!?) , and with that (and without X), mdacon grabs the vc you`re currently
sitting on and locks you out.
this is from Kconfig :
>config MDA_CONSOLE
> depends on !M68K && !PARISC && ISA
> tristate "MDA text console (dual-headed) (EXPERIMENTAL)"
> ---help---
> Say Y here if you have an old MDA or monochrome Hercules graphics
> adapter in your system acting as a second head ( = video card). You
> will then be able to use two monitors with your Linux system. Do not
> say Y here if your MDA card is the primary card in your system; the
> normal VGA driver will handle it.
As we can see mdacon is just meant as an additional driver for dual-head
setup, and since kernel 2.4.36 still defaults to vc13-16 , setting the default
back to that value again shouldn`t do any harm.
Hereby i'm reverting that change, setting default back to to vc13-16 again.
Besides the fact that mdacon may be rarely or never be used these days and
could perhaps put to trash anyway (pre-dinosaur hardware!), indeed this is not
a real solution, but at least it removes the unfortunate side-effect of
messing up the vc you`re working on.
Signed-off-by: Roland Kletzing <devzero at web.de>
Cc: James Simmons <jsimmons at infradead.org>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Cc: Tim Schmielau <tim at physik3.uni-rostock.de>
Cc: Jan Engelhardt <jengelh at gmx.de>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 663b0e15877293451bdfea619db45eafae9dec54
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:09 2008 -0700
tridentfb: remove warning message that cyblafb driver should be used
The tridentfb driver should handle now all chipsets handled by the cyblafb
driver. Remove the message which claims that support will be removed.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 0292be4a382957016e8b574dc292779cfb49e029
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:08 2008 -0700
tridentfb: add imageblit acceleration for Blade3D family
Add imageblit acceleration for the Blade3D family of cores. The code is
based on code from the cyblafb driver.
It is a step toward assimilating back the cyblafb driver into the
tridentfb driver. The cyblafb driver handles a subfamily of the Trident
Blade3d cores.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 6280fd4f9c2683a4d2f096320dd74ded4e5106ad
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:08 2008 -0700
tridentfb: Blade3D clock fixes
This patch fixes following problems:
- does not allow the m parameter to reach 0 as
it locks the graphics core (power cycle needed)
- for the newer chips (with new clock registers)
does not allow of n / m ratio below 4 as it gives
unstable image on the Blade3D core
- extend shift parameter (k) range to 2 for the newer
chips to cope with the n /m >= 4 limit at low resolution
(bandwidth) modes
- prefer modes with higher n / m ratio (higher k values)
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit f330c4b1961d730ef15ac184e4b7f1c25847d0ae
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:07 2008 -0700
tridentfb: y-panning fixes
The Trident cards uses only 20-bit address of screen start in double
words. This allows addressing for only 4MB of video memory so check this.
Also remove some redundant checks and assignments.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a4af1798d768ab2f12ab623e21ad68dc8c248005
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:06 2008 -0700
tridentfb: fix 224 color logo at 8 bpp
Fix depth setting for 8 bpp mode. The nice 224 color logo is not
displayed in 8 bpp depth without this fix.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 13b0de49f52ec8638b3e3e59192a959b35214d9e
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:06 2008 -0700
tridentfb: fix console freeze when switching from X11
This patch fixes two problems when acceleration is enabled:
- console switch from the Xorg locks up the computer
because the Xorg code locks some registers and disables
the mmio mode, so reenable these in the
tridentfb_set_par() and enable_mmio()
- blacklist the Image975 chipset from setting PCI burst
mode. This helps with random lock ups of the
framebuffer on this chip. The same fix is probably
needed for the Xorg as well.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 5cf138457af20b0ef79d8c249381927718ca1417
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:05 2008 -0700
tridentfb: source code improvements
This patch contains general source code improvments:
- more simple functions are inline
- removes some meaningless output and the VERSION
string as it is no use
- eng_par is moved into the tridentfb_par
- removed small section of code for CyberBladeXPAi1
which is maybe right for only one resolution
and refresh rate and is probably redundant now
- other minor improvements
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 01a2d9ed85c945fc8a672622780533a1a0b7caf5
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:04 2008 -0700
tridentfb: acceleration constants change
This patch replaces deprecated constant FB_ACCELF_TEXT with
FBINFO_HWACCEL_DISABLED and adds constants for Trident families of
accelerators.
The FBINFO_HWACCEL_DISABLED is correctly used so noaccel parameter works
now.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 34dec24317d6824b7db172bb0072b909a9c376f2
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:04 2008 -0700
tridentfb: various pixclock and timing improvements
This patch fixes few issues related to timings and pixclock generation:
- disallow the pixclocks with numerator lower than
double denominator. This fixes display instability
for some modes.
- choose the pixelclock with the highest
numerator and denominator values. This improve
image quality and fixes display instability
for some modes.
- make interlaced modes work.
- set synchronization pulses polarization
correctly.
- horizontal synchronization timing are now
the same as generated by X.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 2c86a0c26fbe8ea218f7a267645679fb78aba8a3
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:03 2008 -0700
tridentfb: acceleration bug fixes
This patch fixes two problems when acceleration is enabled:
- bit for bitblt direction is corrected
so scrolling down works as expected on 3DImage chips
- initialization of acceleration is done later
this helps with initial console malfuntion (on Blade3D
chips) well documented here:
http://marc.info/?l=linux-fbdev-users&m=111386953124478&w=2
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 49b1f4b44bcdc47a10d2b354b269305043ef2a32
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:02 2008 -0700
tridentfb: acceleration code improvements
This patch brings various acceleration improvements:
- set copyarea/fillrect for non-accelerated framebuffer (fix)
- remove 15 bpp depth handling to simplify code as it hardly
works (15 bpp handling was obviously missing in some switches)
- add fb_sync call and move waiting before accelerated function
to make acceleration more asynchronous to cpu (few % of speed
improvement)
- add cpu_relax() call in waiting loops
- make longer register names and name more registers
- move registers' definition to header
- general code improvements (shortening, simplifying)
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit bcac2d5fe36238dcfc955b49f9db10ad3ae3e53c
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:01 2008 -0700
tridentfb: add acceleration for TGUI families
This patch adds acceleration for TGUI 9440 and 96xx chips. These chips
requires line length to be power of 2, so this is also changed.
It also moves the troubling enable_mmio() function to its final
destination.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 54f019e54244fef0ad927ce5501927d9033492de
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:01 2008 -0700
tridentfb: fix hi-color modes for TGUI 9440
The TGUI 9440 requires doubling clock for 16bpp (hi-color) modes.
The patch also moves back enable_mmio() call to the right position.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 65e93e038c8a6eb65b6907d6aed22a8ff1029d3a
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:00 2008 -0700
tridentfb: preserve memory type settings
Do not overwrite bits which contain memory type settings. It removes
noise pixels ("snow") on Blade3D and 3DImage chips.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 74a933feaf13f705e6c798d87efe6a9d758b3ca0
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:31:00 2008 -0700
tridentfb: improve check_var function
Do some additional checks (like pixelclock versus ramdac speed) to
eliminate modes which do not work.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit aa0aa8ab2f28d8985daa79ecab51970376e17157
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:30:59 2008 -0700
tridentfb: fix unitialized pseudo_palette
Initialize the pseudo_palette pointer properly. This fixes crash when
16bpp or 32bpp mode is selected.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit a0d922562d56073f147a4de2983bee499dd2a10e
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:30:58 2008 -0700
tridentfb: add TGUI 9440 support
Add support for TGUI 9440 chip.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 0e73a47f094a919e2edeaa88e840cd0400adc423
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:30:58 2008 -0700
tridentfb: improved register values on TGUI 9680
Improved values for some registers after Xorg Trident driver. The main
problem was that values set by BIOS have been ignored.
This patch completely remove random pixels ("snow") on the TGUI 9680 and
9440 (not supported yet by the driver). It does not help with the "snow"
on 3DImage and Blade3D cards.
There is also small improvement in timing calculations (hblank start and
vblank start)
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 3876ae8beb2c7c19e21279b9603b1244fcd744dd
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:30:57 2008 -0700
tridentfb: improve probe function
Add missing release of allocated fb_info structure and move enable_mmio() to
fix error path.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 6bdf1035602abf0564d24a7447eea1c149c4bcb1
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:30:56 2008 -0700
tridentfb: fix clock settings for older Trident 96XX chips
The Xorg code shows that Trident models 9660, 9680 and 9682 require a
different clock setting method. Add the second clock setting method for older
models.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit c1724fecabfed504a4cfb87319ad3b9d3a8baa92
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:30:56 2008 -0700
tridentfb: use mmio access for clock setting
Use the mmio outb function instead of direct one. The mmio registers are
already mapped (in the probe function).
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 7f762d23e607af786bba8ff4a18059f43950c0e8
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:30:55 2008 -0700
tridentfb: fix timing calculations
Fix broken timings calculations. This patch helps with following
problems:
- no left part of screen visible (up to half of the screen)
- monitor's frequencies are not the ones intended for selected modes
- if mode with resoultion y > 1024 is selected at least once then
all modes with y < 1024 are "out of sync" (no display)
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit 10172ed6dc4d40ff42bf5ce2dd2f65f401a93696
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:30:54 2008 -0700
tridentfb: make use of functions and constants from the vga.h
Make use of functions and constants from the vga.h header to compact the code
and make it more readable.
Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
Cc: "Antonino A. Daplas" <adaplas at pol.net>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
commit d9cad04bcde00411976402eda726199ac13b29ca
Author: Krzysztof Helt <krzysztof.h1 at wp.pl>
Date: Wed Jul 23 21:30:54 2008 -0700
tridentfb: move global acceleration hooks into structure
This patch moves acceleration hooks into the tridentfb_par structure and
removes global hooks.
Signed-off-by: Krzysztof Helt <