]> git.kernelconcepts.de Git - karo-tx-linux.git/log
karo-tx-linux.git
12 years agoMerge remote-tracking branch 'kgdb/kgdb-next'
Stephen Rothwell [Mon, 1 Aug 2011 02:36:03 +0000 (12:36 +1000)]
Merge remote-tracking branch 'kgdb/kgdb-next'

12 years agoMerge remote-tracking branch 'mmc/mmc-next'
Stephen Rothwell [Mon, 1 Aug 2011 02:34:41 +0000 (12:34 +1000)]
Merge remote-tracking branch 'mmc/mmc-next'

12 years agoMerge remote-tracking branch 'leds/for-mm'
Stephen Rothwell [Mon, 1 Aug 2011 02:34:34 +0000 (12:34 +1000)]
Merge remote-tracking branch 'leds/for-mm'

Conflicts:
drivers/leds/Kconfig

12 years agoMerge branch 'quilt/device-mapper'
Stephen Rothwell [Mon, 1 Aug 2011 02:32:31 +0000 (12:32 +1000)]
Merge branch 'quilt/device-mapper'

12 years agoMerge remote-tracking branch 'block/for-next'
Stephen Rothwell [Mon, 1 Aug 2011 02:28:21 +0000 (12:28 +1000)]
Merge remote-tracking branch 'block/for-next'

12 years agoMerge branch 'quilt/rr'
Stephen Rothwell [Mon, 1 Aug 2011 02:26:56 +0000 (12:26 +1000)]
Merge branch 'quilt/rr'

12 years agoMerge remote-tracking branch 'sound-asoc/for-next'
Stephen Rothwell [Mon, 1 Aug 2011 02:25:36 +0000 (12:25 +1000)]
Merge remote-tracking branch 'sound-asoc/for-next'

12 years agoMerge remote-tracking branch 'sound/for-next'
Stephen Rothwell [Mon, 1 Aug 2011 02:24:05 +0000 (12:24 +1000)]
Merge remote-tracking branch 'sound/for-next'

12 years agoMerge remote-tracking branch 'l2-mtd/master'
Stephen Rothwell [Mon, 1 Aug 2011 02:22:33 +0000 (12:22 +1000)]
Merge remote-tracking branch 'l2-mtd/master'

Conflicts:
drivers/mtd/maps/lantiq-flash.c
drivers/mtd/maps/pxa2xx-flash.c

12 years agoMerge remote-tracking branch 'bluetooth/master'
Stephen Rothwell [Mon, 1 Aug 2011 02:21:10 +0000 (12:21 +1000)]
Merge remote-tracking branch 'bluetooth/master'

12 years agoMerge remote-tracking branch 'async_tx/next'
Stephen Rothwell [Mon, 1 Aug 2011 02:18:10 +0000 (12:18 +1000)]
Merge remote-tracking branch 'async_tx/next'

12 years agoMerge remote-tracking branch 'slave-dma/next'
Stephen Rothwell [Mon, 1 Aug 2011 02:16:44 +0000 (12:16 +1000)]
Merge remote-tracking branch 'slave-dma/next'

Conflicts:
drivers/dma/mv_xor.c

12 years agoMerge remote-tracking branch 'iscsi-target/for-next'
Stephen Rothwell [Mon, 1 Aug 2011 02:15:17 +0000 (12:15 +1000)]
Merge remote-tracking branch 'iscsi-target/for-next'

12 years agoMerge remote-tracking branch 'ibft/master'
Stephen Rothwell [Mon, 1 Aug 2011 02:15:12 +0000 (12:15 +1000)]
Merge remote-tracking branch 'ibft/master'

12 years agoMerge remote-tracking branch 'swiotlb/master'
Stephen Rothwell [Mon, 1 Aug 2011 02:15:06 +0000 (12:15 +1000)]
Merge remote-tracking branch 'swiotlb/master'

12 years agoMerge remote-tracking branch 'powertools/tools-test'
Stephen Rothwell [Mon, 1 Aug 2011 02:13:40 +0000 (12:13 +1000)]
Merge remote-tracking branch 'powertools/tools-test'

12 years agoMerge remote-tracking branch 'idle-test/idle-test'
Stephen Rothwell [Mon, 1 Aug 2011 02:12:22 +0000 (12:12 +1000)]
Merge remote-tracking branch 'idle-test/idle-test'

12 years agoMerge remote-tracking branch 'acpi/test'
Stephen Rothwell [Mon, 1 Aug 2011 02:06:00 +0000 (12:06 +1000)]
Merge remote-tracking branch 'acpi/test'

Conflicts:
arch/ia64/Kconfig
arch/powerpc/Kconfig
arch/x86/Kconfig
lib/Kconfig
lib/Makefile

12 years agoMerge remote-tracking branch 'kconfig/for-next'
Stephen Rothwell [Mon, 1 Aug 2011 02:05:48 +0000 (12:05 +1000)]
Merge remote-tracking branch 'kconfig/for-next'

12 years agoMerge remote-tracking branch 'kbuild/for-next'
Stephen Rothwell [Mon, 1 Aug 2011 02:05:38 +0000 (12:05 +1000)]
Merge remote-tracking branch 'kbuild/for-next'

12 years agoMerge branch 'quilt/kernel-doc'
Stephen Rothwell [Mon, 1 Aug 2011 02:04:18 +0000 (12:04 +1000)]
Merge branch 'quilt/kernel-doc'

12 years agoMerge remote-tracking branch 'hid/for-next'
Stephen Rothwell [Mon, 1 Aug 2011 02:04:05 +0000 (12:04 +1000)]
Merge remote-tracking branch 'hid/for-next'

12 years agoMerge remote-tracking branch 'vfs/for-next'
Stephen Rothwell [Mon, 1 Aug 2011 02:03:57 +0000 (12:03 +1000)]
Merge remote-tracking branch 'vfs/for-next'

12 years agoMerge remote-tracking branch 'xfs/master'
Stephen Rothwell [Mon, 1 Aug 2011 02:02:30 +0000 (12:02 +1000)]
Merge remote-tracking branch 'xfs/master'

12 years agoMerge remote-tracking branch 'ocfs2/linux-next'
Stephen Rothwell [Mon, 1 Aug 2011 02:00:58 +0000 (12:00 +1000)]
Merge remote-tracking branch 'ocfs2/linux-next'

12 years agoMerge remote-tracking branch 'logfs/master'
Stephen Rothwell [Mon, 1 Aug 2011 02:00:49 +0000 (12:00 +1000)]
Merge remote-tracking branch 'logfs/master'

Conflicts:
fs/logfs/logfs.h

12 years agoMerge remote-tracking branch 'gfs2/master'
Stephen Rothwell [Mon, 1 Aug 2011 01:59:12 +0000 (11:59 +1000)]
Merge remote-tracking branch 'gfs2/master'

12 years agoMerge remote-tracking branch 'ext4/dev'
Stephen Rothwell [Mon, 1 Aug 2011 01:57:45 +0000 (11:57 +1000)]
Merge remote-tracking branch 'ext4/dev'

Conflicts:
fs/ext4/inode.c

12 years agoMerge remote-tracking branch 'cifs/master'
Stephen Rothwell [Mon, 1 Aug 2011 01:56:20 +0000 (11:56 +1000)]
Merge remote-tracking branch 'cifs/master'

12 years agoMerge remote-tracking branch 'ceph/for-next'
Stephen Rothwell [Mon, 1 Aug 2011 01:56:18 +0000 (11:56 +1000)]
Merge remote-tracking branch 'ceph/for-next'

Conflicts:
fs/ceph/export.c

12 years agoMerge remote-tracking branch 'unicore32/unicore32'
Stephen Rothwell [Mon, 1 Aug 2011 01:54:57 +0000 (11:54 +1000)]
Merge remote-tracking branch 'unicore32/unicore32'

12 years agoMerge remote-tracking branch 'tile/master'
Stephen Rothwell [Mon, 1 Aug 2011 01:53:40 +0000 (11:53 +1000)]
Merge remote-tracking branch 'tile/master'

12 years agoMerge remote-tracking branch 'rmobile/rmobile-latest'
Stephen Rothwell [Mon, 1 Aug 2011 01:52:24 +0000 (11:52 +1000)]
Merge remote-tracking branch 'rmobile/rmobile-latest'

12 years agoMerge remote-tracking branch 'sh/sh-latest'
Stephen Rothwell [Mon, 1 Aug 2011 01:51:01 +0000 (11:51 +1000)]
Merge remote-tracking branch 'sh/sh-latest'

12 years agoMerge remote-tracking branch 's390/features'
Stephen Rothwell [Mon, 1 Aug 2011 01:49:44 +0000 (11:49 +1000)]
Merge remote-tracking branch 's390/features'

12 years agoMerge remote-tracking branch '52xx-and-virtex/powerpc/next'
Stephen Rothwell [Mon, 1 Aug 2011 01:48:22 +0000 (11:48 +1000)]
Merge remote-tracking branch '52xx-and-virtex/powerpc/next'

12 years agoMerge remote-tracking branch 'parisc/for-next'
Stephen Rothwell [Mon, 1 Aug 2011 01:46:58 +0000 (11:46 +1000)]
Merge remote-tracking branch 'parisc/for-next'

12 years agoMerge remote-tracking branch 'mips/mips-for-linux-next'
Stephen Rothwell [Mon, 1 Aug 2011 01:45:33 +0000 (11:45 +1000)]
Merge remote-tracking branch 'mips/mips-for-linux-next'

12 years agoMerge remote-tracking branch 'm68knommu/for-next'
Stephen Rothwell [Mon, 1 Aug 2011 01:45:30 +0000 (11:45 +1000)]
Merge remote-tracking branch 'm68knommu/for-next'

12 years agoMerge remote-tracking branch 'ia64/test'
Stephen Rothwell [Mon, 1 Aug 2011 01:44:03 +0000 (11:44 +1000)]
Merge remote-tracking branch 'ia64/test'

12 years agoMerge remote-tracking branch 'cris/for-next'
Stephen Rothwell [Mon, 1 Aug 2011 01:42:42 +0000 (11:42 +1000)]
Merge remote-tracking branch 'cris/for-next'

12 years agoMerge remote-tracking branch 'ux500-core/ux500-core'
Stephen Rothwell [Mon, 1 Aug 2011 01:42:37 +0000 (11:42 +1000)]
Merge remote-tracking branch 'ux500-core/ux500-core'

12 years agoMerge remote-tracking branch 's5p/for-next'
Stephen Rothwell [Mon, 1 Aug 2011 01:41:20 +0000 (11:41 +1000)]
Merge remote-tracking branch 's5p/for-next'

Conflicts:
arch/arm/mach-exynos4/Kconfig
arch/arm/mach-exynos4/mach-smdkc210.c

12 years agoMerge remote-tracking branch 'msm/for-next'
Stephen Rothwell [Mon, 1 Aug 2011 01:39:50 +0000 (11:39 +1000)]
Merge remote-tracking branch 'msm/for-next'

12 years agoMerge remote-tracking branch 'arm-soc/for-next'
Stephen Rothwell [Mon, 1 Aug 2011 01:39:42 +0000 (11:39 +1000)]
Merge remote-tracking branch 'arm-soc/for-next'

Conflicts:
arch/arm/mach-exynos4/pm.c
arch/arm/mach-imx/mm-imx25.c
arch/arm/mach-imx/mm-imx31.c
arch/arm/mach-imx/mm-imx35.c
arch/arm/mach-mx5/mm.c
arch/arm/mach-omap2/cm-regbits-44xx.h

12 years agoMerge remote-tracking branch 'arm-lpae/for-next'
Stephen Rothwell [Mon, 1 Aug 2011 01:35:28 +0000 (11:35 +1000)]
Merge remote-tracking branch 'arm-lpae/for-next'

Conflicts:
arch/arm/include/asm/pgalloc.h
arch/arm/include/asm/pgtable.h
arch/arm/include/asm/proc-fns.h
arch/arm/include/asm/tlb.h
arch/arm/mm/context.c
arch/arm/mm/proc-v7.S

12 years agoMerge remote-tracking branch 'arm/for-next'
Stephen Rothwell [Mon, 1 Aug 2011 01:34:10 +0000 (11:34 +1000)]
Merge remote-tracking branch 'arm/for-next'

12 years agoMerge remote-tracking branch 'devicetree-current/devicetree/merge'
Stephen Rothwell [Mon, 1 Aug 2011 01:32:52 +0000 (11:32 +1000)]
Merge remote-tracking branch 'devicetree-current/devicetree/merge'

12 years agoMerge remote-tracking branch 'fbdev-current/fbdev-fixes-for-linus'
Stephen Rothwell [Mon, 1 Aug 2011 01:32:49 +0000 (11:32 +1000)]
Merge remote-tracking branch 'fbdev-current/fbdev-fixes-for-linus'

12 years agoMerge remote-tracking branch 'input-current/for-linus'
Stephen Rothwell [Mon, 1 Aug 2011 01:32:34 +0000 (11:32 +1000)]
Merge remote-tracking branch 'input-current/for-linus'

12 years agoMerge remote-tracking branch 'net-current/master'
Stephen Rothwell [Mon, 1 Aug 2011 01:32:26 +0000 (11:32 +1000)]
Merge remote-tracking branch 'net-current/master'

12 years agoMerge remote-tracking branch 'sparc-current/master'
Stephen Rothwell [Mon, 1 Aug 2011 01:32:24 +0000 (11:32 +1000)]
Merge remote-tracking branch 'sparc-current/master'

12 years agoarm: fix implicit use of asm/sizes.h in plat-s5p/dev-onenand.c
Paul Gortmaker [Sun, 31 Jul 2011 23:51:07 +0000 (19:51 -0400)]
arm: fix implicit use of asm/sizes.h in plat-s5p/dev-onenand.c

In order to fix this:

  CC      arch/arm/plat-s5p/dev-onenand.o
arch/arm/plat-s5p/dev-onenand.c:25: error: 'SZ_128K' undeclared here (not in a function)
arch/arm/plat-s5p/dev-onenand.c:30: error: 'SZ_8K' undeclared here (not in a function)
make[3]: *** [arch/arm/plat-s5p/dev-onenand.o] Error 1

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoarm: add asm/vga.h to mach-footbridge/dc21285.c
Paul Gortmaker [Sun, 31 Jul 2011 23:47:52 +0000 (19:47 -0400)]
arm: add asm/vga.h to mach-footbridge/dc21285.c

In order to fix this:

  CC      arch/arm/mach-footbridge/dc21285.o
arch/arm/mach-footbridge/dc21285.c: In function 'dc21285_preinit':
arch/arm/mach-footbridge/dc21285.c:299: error: 'vga_base' undeclared (first use in this function)
arch/arm/mach-footbridge/dc21285.c:299: error: (Each undeclared identifier is reported only once
arch/arm/mach-footbridge/dc21285.c:299: error: for each function it appears in.)
make[3]: *** [arch/arm/mach-footbridge/dc21285.o] Error 1

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoAdd module.h to drivers/leds/leds-ns2.c
Paul Gortmaker [Sun, 31 Jul 2011 23:34:16 +0000 (19:34 -0400)]
Add module.h to drivers/leds/leds-ns2.c

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoAdd module.h to drivers/crypto/mv_cesa.c
Paul Gortmaker [Sun, 31 Jul 2011 23:32:52 +0000 (19:32 -0400)]
Add module.h to drivers/crypto/mv_cesa.c

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoAdd module.h to drivers/regulator/db8500-prcmu.c
Paul Gortmaker [Sun, 31 Jul 2011 23:28:28 +0000 (19:28 -0400)]
Add module.h to drivers/regulator/db8500-prcmu.c

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoAdd module.h to drivers/input/keyboard/nomadik-ske-keypad.c
Paul Gortmaker [Sun, 31 Jul 2011 23:27:48 +0000 (19:27 -0400)]
Add module.h to drivers/input/keyboard/nomadik-ske-keypad.c

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoAdd module.h to drivers/spi/spi-s3c24xx.c
Paul Gortmaker [Sun, 31 Jul 2011 23:25:22 +0000 (19:25 -0400)]
Add module.h to drivers/spi/spi-s3c24xx.c

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoAdd export.h to /home/paul/git/module.h/linux-2.6.git/arch/sh/kernel/cpu/shmobile...
Paul Gortmaker [Sun, 31 Jul 2011 23:21:28 +0000 (19:21 -0400)]
Add export.h to /home/paul/git/module.h/linux-2.6.git/arch/sh/kernel/cpu/shmobile/cpuidle.c

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoAdd export.h to /home/paul/git/module.h/linux-2.6.git/arch/sh/mm/init.c
Paul Gortmaker [Sun, 31 Jul 2011 23:20:02 +0000 (19:20 -0400)]
Add export.h to /home/paul/git/module.h/linux-2.6.git/arch/sh/mm/init.c

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoAdd export.h to /home/paul/git/module.h/linux-2.6.git/arch/sh/drivers/pci/pci.c
Paul Gortmaker [Sun, 31 Jul 2011 23:20:02 +0000 (19:20 -0400)]
Add export.h to /home/paul/git/module.h/linux-2.6.git/arch/sh/drivers/pci/pci.c

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoAdd module.h to /home/paul/git/module.h/linux-2.6.git/drivers/spi/spi-sh-sci.c
Paul Gortmaker [Sun, 31 Jul 2011 23:18:03 +0000 (19:18 -0400)]
Add module.h to /home/paul/git/module.h/linux-2.6.git/drivers/spi/spi-sh-sci.c

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoAdd module.h to /home/paul/git/module.h/linux-2.6.git/drivers/sh/maple/maple.c
Paul Gortmaker [Sun, 31 Jul 2011 23:18:02 +0000 (19:18 -0400)]
Add module.h to /home/paul/git/module.h/linux-2.6.git/drivers/sh/maple/maple.c

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoAdd module.h to /home/paul/git/module.h/linux-2.6.git/drivers/i2c/busses/i2c-sh7760.c
Paul Gortmaker [Sun, 31 Jul 2011 23:18:01 +0000 (19:18 -0400)]
Add module.h to /home/paul/git/module.h/linux-2.6.git/drivers/i2c/busses/i2c-sh7760.c

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoAdd module.h to arch/arm/mach-pxa/corgi.c
Paul Gortmaker [Sun, 31 Jul 2011 23:11:13 +0000 (19:11 -0400)]
Add module.h to arch/arm/mach-pxa/corgi.c

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoAdd export.h to arch/ia64/kernel/dma-mapping.c
Paul Gortmaker [Sun, 31 Jul 2011 23:06:56 +0000 (19:06 -0400)]
Add export.h to arch/ia64/kernel/dma-mapping.c

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoarm: fix implicit use of moduleparam in mach-mx31*.c
Paul Gortmaker [Sun, 31 Jul 2011 23:01:27 +0000 (19:01 -0400)]
arm: fix implicit use of moduleparam in mach-mx31*.c

To get the definition of core_param() they need this header.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoarm: fix implicit use of hardware.h in ehci-mxc.c
Paul Gortmaker [Sun, 31 Jul 2011 22:56:57 +0000 (18:56 -0400)]
arm: fix implicit use of hardware.h in ehci-mxc.c

To fix this:

drivers/usb/host/ehci-mxc.c: In function 'ehci_mxc_drv_probe':
drivers/usb/host/ehci-mxc.c:175: error: implicit declaration of function 'cpu_is_mx35'
drivers/usb/host/ehci-mxc.c:175: error: implicit declaration of function 'cpu_is_mx25'
drivers/usb/host/ehci-mxc.c:185: error: implicit declaration of function 'cpu_is_mx51'
make[5]: *** [drivers/usb/host/ehci-hcd.o] Error 1

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoarm: fix implicit use of page.h in sa1100/jornada720.c
Paul Gortmaker [Sun, 31 Jul 2011 22:38:45 +0000 (18:38 -0400)]
arm: fix implicit use of page.h in sa1100/jornada720.c

To fix this:

arch/arm/mach-sa1100/jornada720.c:278: error: 'PAGE_SHIFT' undeclared here (not in a function)
make[3]: *** [arch/arm/mach-sa1100/jornada720.o] Error 1

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoAdd export.h to arch/ia64/sn/kernel/io_init.c
Paul Gortmaker [Sun, 31 Jul 2011 22:34:43 +0000 (18:34 -0400)]
Add export.h to arch/ia64/sn/kernel/io_init.c

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoAdd export.h to arch/ia64/sn/pci/pcibr/pcibr_provider.c
Paul Gortmaker [Sun, 31 Jul 2011 22:34:22 +0000 (18:34 -0400)]
Add export.h to arch/ia64/sn/pci/pcibr/pcibr_provider.c

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoAdd export.h to arch/ia64/sn/pci/pcibr/pcibr_dma.c
Paul Gortmaker [Sun, 31 Jul 2011 22:34:06 +0000 (18:34 -0400)]
Add export.h to arch/ia64/sn/pci/pcibr/pcibr_dma.c

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoAdd export.h to arch/ia64/kernel/topology.c
Paul Gortmaker [Sun, 31 Jul 2011 22:34:05 +0000 (18:34 -0400)]
Add export.h to arch/ia64/kernel/topology.c

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoAdd export.h to arch/ia64/sn/pci/tioca_provider.c
Paul Gortmaker [Sun, 31 Jul 2011 22:34:04 +0000 (18:34 -0400)]
Add export.h to arch/ia64/sn/pci/tioca_provider.c

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoAdd export.h to arch/ia64/hp/common/hwsw_iommu.c
Paul Gortmaker [Sun, 31 Jul 2011 22:33:21 +0000 (18:33 -0400)]
Add export.h to arch/ia64/hp/common/hwsw_iommu.c

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoarm: fix implicit use of slab.h again in samsung platform.
Paul Gortmaker [Sun, 31 Jul 2011 22:25:48 +0000 (18:25 -0400)]
arm: fix implicit use of slab.h again in samsung platform.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoarm: fix implicit use of asm/sizes.h in samsung/dev-*.c
Paul Gortmaker [Sun, 31 Jul 2011 22:19:17 +0000 (18:19 -0400)]
arm: fix implicit use of asm/sizes.h in samsung/dev-*.c

To several variations of messages similar to this:

  CC      arch/arm/plat-samsung/dev-wdt.o
arch/arm/plat-samsung/dev-wdt.c:25: error: 'SZ_1K' undeclared here (not in a function)
make[3]: *** [arch/arm/plat-samsung/dev-wdt.o] Error 1

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoarm: add slab.h to samsung/platformdata.c for GFP_KERNEL
Paul Gortmaker [Sun, 31 Jul 2011 22:16:56 +0000 (18:16 -0400)]
arm: add slab.h to samsung/platformdata.c for GFP_KERNEL

To fix this:

  CC      arch/arm/plat-samsung/platformdata.o
arch/arm/plat-samsung/platformdata.c: In function 's3c_set_platdata':
arch/arm/plat-samsung/platformdata.c:29: error: 'GFP_KERNEL' undeclared (first use in this function)
arch/arm/plat-samsung/platformdata.c:29: error: (Each undeclared identifier is reported only once
arch/arm/plat-samsung/platformdata.c:29: error: for each function it appears in.)
make[3]: *** [arch/arm/plat-samsung/platformdata.o] Error 1

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agoregulator: aat2870 needs module.h
Randy Dunlap [Fri, 29 Jul 2011 19:43:13 +0000 (12:43 -0700)]
regulator: aat2870 needs module.h

aat2870-regulator.c needs to include linux/module.h to fix multiple
build errors.

drivers/regulator/aat2870-regulator.c:145: error: 'THIS_MODULE' undeclared here (not in a function)
drivers/regulator/aat2870-regulator.c:230: warning: type defaults to 'int' in declaration of 'MODULE_DESCRIPTION'
drivers/regulator/aat2870-regulator.c:231: warning: type defaults to 'int' in declaration of 'MODULE_LICENSE'
drivers/regulator/aat2870-regulator.c:232: warning: type defaults to 'int' in declaration of 'MODULE_AUTHOR'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
12 years agopower: max8998_charger.c needs module.h
Randy Dunlap [Sat, 30 Jul 2011 04:11:43 +0000 (21:11 -0700)]
power: max8998_charger.c needs module.h

power/max8998_charger.c uses interfaces from linux/module.h,
so it should include that file.  This fixes build errors.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
12 years agoInitial EXPERIMENTAL implementation of device-mapper thin provisioning
Joe Thornber [Mon, 1 Aug 2011 00:51:12 +0000 (10:51 +1000)]
Initial EXPERIMENTAL implementation of device-mapper thin provisioning
with snapshot support.  The 'thin' target is used to create instances of
the virtual devices that are hosted in the 'thin-pool' target.  The
thin-pool target provides data sharing among devices.  This sharing is
made possible using the persistent-data library in the previous patch.

The main highlight of this implementation, compared to the previous
implementation of snapshots, is that it allows many virtual devices to
be stored on the same data volume, simplifying administration and
allowing sharing of data between volumes (thus reducing disk usage).

Another big feature is support for arbitrary depth of recursive
snapshots (snapshots of snapshots of snapshots ...).  The previous
implementation of snapshots did this by chaining together lookup tables,
and so performance was O(depth).  This new implementation uses a single
data structure so we don't get this degradation with depth.

For further information and examples of how to use this, please read
Documentation/device-mapper/thin-provisioning.txt

Signed-off-by: Joe Thornber <thornber@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
12 years agoThe persistent-data library offers a re-usable framework for the storage
Joe Thornber [Mon, 1 Aug 2011 00:51:12 +0000 (10:51 +1000)]
The persistent-data library offers a re-usable framework for the storage
and management of on-disk metadata in device-mapper targets.

It's used by the thin-provisioning target in the next patch and in an
upcoming hierarchical storage target.

For further information, please read
Documentation/device-mapper/persistent-data.txt

Signed-off-by: Joe Thornber <thornber@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
12 years agoDestroy _minor_idr when unloading the core dm module. (Found by kmemleak.)
Alasdair G Kergon [Mon, 1 Aug 2011 00:51:11 +0000 (10:51 +1000)]
Destroy _minor_idr when unloading the core dm module.  (Found by kmemleak.)

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
12 years agoDM has always advertised both REQ_FLUSH and REQ_FUA flush capabilities
Mike Snitzer [Mon, 1 Aug 2011 00:51:11 +0000 (10:51 +1000)]
DM has always advertised both REQ_FLUSH and REQ_FUA flush capabilities
regardless of whether or not a given DM device's underlying devices
also advertised a need for them.

Block's flush-merge changes from 2.6.39 have proven to be more costly
for DM devices.  Performance regressions have been reported even when
DM's underlying devices do not advertise that they have a write cache.

Fix the performance regressions by configuring a DM device's flushing
capabilities based on those of the underlying devices' capabilities.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
12 years agoSuppress sparse warnings about cpu_to_le32() by using __le32 types for
Alasdair G Kergon [Mon, 1 Aug 2011 00:51:11 +0000 (10:51 +1000)]
Suppress sparse warnings about cpu_to_le32() by using __le32 types for
on-disk data etc.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
12 years agoExport dm_get_md() for the new thin provisioning target to use.
Alasdair G Kergon [Mon, 1 Aug 2011 00:51:10 +0000 (10:51 +1000)]
Export dm_get_md() for the new thin provisioning target to use.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
12 years agoDetect invalid empty messages in core dm instead of requiring every target to
Alasdair G Kergon [Mon, 1 Aug 2011 00:51:10 +0000 (10:51 +1000)]
Detect invalid empty messages in core dm instead of requiring every target to
check this.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
12 years agoAdd a target feature flag to indicate that a target does not work in
Alasdair G Kergon [Mon, 1 Aug 2011 00:51:10 +0000 (10:51 +1000)]
Add a target feature flag to indicate that a target does not work in
read-only mode.

The thin provisioning target will use this.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
12 years agoIntroduce the concept of a singleton table which contains exactly one target.
Alasdair G Kergon [Mon, 1 Aug 2011 00:51:09 +0000 (10:51 +1000)]
Introduce the concept of a singleton table which contains exactly one target.

If a target type sets the DM_TARGET_SINGLETON feature bit device-mapper
will ensure that any table that includes that target contains no others.

The thin provisioning pool target will use this.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
12 years agoThere is no need for __table_get_device to be factored out.
Mike Snitzer [Mon, 1 Aug 2011 00:51:09 +0000 (10:51 +1000)]
There is no need for __table_get_device to be factored out.
Also move the exports to the end of their respective functions.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
12 years agoAdd optional parameter field to dmcrypt table and support
Milan Broz [Mon, 1 Aug 2011 00:51:09 +0000 (10:51 +1000)]
Add optional parameter field to dmcrypt table and support
"allow_discards" option.

Discard requests bypass crypt queue processing. Bio is simple remapped
to underlying device.

Note that discard will be never enabled by default because of security
consequences.  It is up to the administrator to enable it for encrypted
devices.

(Note that userspace cryptsetup does not understand new optional
parameters yet.  Support for this will come later.  Until then, you
should use 'dmsetup' to enable and disable this.)

Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
12 years agoA dm target only needs to use include/linux dm headers.
Alasdair G Kergon [Mon, 1 Aug 2011 00:51:09 +0000 (10:51 +1000)]
A dm target only needs to use include/linux dm headers.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
12 years agoSupport the MD RAID1 personality through dm-raid.
Jonathan Brassow [Mon, 1 Aug 2011 00:51:08 +0000 (10:51 +1000)]
Support the MD RAID1 personality through dm-raid.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
12 years agoAdd the ability to parse and use metadata devices to dm-raid. Although
Jonathan Brassow [Mon, 1 Aug 2011 00:51:08 +0000 (10:51 +1000)]
Add the ability to parse and use metadata devices to dm-raid.  Although
not strictly required, without the metadata devices, many features of
RAID are unavailable.  They are used to store a superblock and bitmap.

The role, or position in the array, of each device must be recorded in
its superblock.  This is to help with fault handling, array reshaping,
and sanity checks.  RAID 4/5/6 devices must be loaded in a specific order:
in this way, the 'array_position' field helps validate the correctness
of the mapping when it is loaded.  It can be used during reshaping to
identify which devices are added/removed.  Fault handling is impossible
without this field.  For example, when a device fails it is recorded in
the superblock.  If this is a RAID1 device and the offending device is
removed from the array, there must be a way during subsequent array
assembly to determine that the failed device was the one removed.  This
is done by correlating the 'array_position' field and the bit-field
variable 'failed_devices'.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
12 years agoAdd the write_mostly parameter to RAID1 dm-raid tables.
Jonathan Brassow [Mon, 1 Aug 2011 00:51:08 +0000 (10:51 +1000)]
Add the write_mostly parameter to RAID1 dm-raid tables.

This allows the user to set the WriteMostly flag on a RAID1 device that
should normally be avoided for read I/O.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
12 years agoAllow the user to specify the region_size.
Jonathan Brassow [Mon, 1 Aug 2011 00:51:07 +0000 (10:51 +1000)]
Allow the user to specify the region_size.

Ensures that the supplied value meets md's constraints, viz. the number of
regions does not exceed 2^21.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
12 years agoAdd more information about some dm-raid table parameters and clarify how
Jonathan Brassow [Mon, 1 Aug 2011 00:51:07 +0000 (10:51 +1000)]
Add more information about some dm-raid table parameters and clarify how
parameters are printed when 'dmsetup table' is issued.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
[Heavily edited by AGK.  Unfinished.]

12 years agoExactly one of name, uuid or device must be specified when referencing
Mikulas Patocka [Mon, 1 Aug 2011 00:51:07 +0000 (10:51 +1000)]
Exactly one of name, uuid or device must be specified when referencing
an existing device.  This removes the ambiguity (risking the wrong
device being updated) if two conflicting parameters were specified.
Previously one parameter got used and any others were ignored silently.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
12 years agoMove logic to find device based on major/minor number to a separate
Mikulas Patocka [Mon, 1 Aug 2011 00:51:06 +0000 (10:51 +1000)]
Move logic to find device based on major/minor number to a separate
function __get_dev_cell (similar to __get_uuid_cell and __get_name_cell).
This makes the function __find_device_hash_cell more straightforward.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>