]>
git.karo-electronics.de Git - karo-tx-linux.git/log
Maxim Levitsky [Tue, 23 Oct 2012 02:49:58 +0000 (13:49 +1100)]
memstick: ms_block: fix compile issue
As suggested by Geert Uytterhoeven:
: http://kisskb.ellerman.id.au/kisskb/buildresult/
7280352 /
: arch/m68k/include/asm/hardirq.h:23:20: error: expected ')' before 'DRIVER_NAME'
: make[4]: *** [drivers/memstick/core/ms_block.o] Error 1
:
: The reason for this is that pr_fmt() references DRIVER_NAME and is defined
: before the first include, while DRIVER_NAME is only defined in ms_block.h,
: which is the last included file. If any subsequent include file uses
: pr_fmt() (e.g. the call to pr_crit() in arch/m68k/include/asm/hardirq.h),
: this causes a build failure.
:
: I suggest moving the DRIVER_NAME define to ms_block.c. Cfr. memstick.c
: and mspro_block.c, who already have their own definition.
Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Alex Dubov <oakad@yahoo.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Maxim Levitsky [Tue, 23 Oct 2012 02:49:58 +0000 (13:49 +1100)]
memstick: remove unused field from state struct
Oops, I forgot that I have thet field there already. Just save memory by
not allocating it.
Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Alex Dubov <oakad@yahoo.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Stanislav Kinsbursky [Tue, 23 Oct 2012 02:49:43 +0000 (13:49 +1100)]
proc: check vma->vm_file before dereferencing
7b540d0646ce ("proc_map_files_readdir(): don't bother with grabbing
files") switched proc_map_files_readdir() to use @f_mode directly instead of
grabbing @file reference, but same time the test for @vm_file presence was
lost leading to nil dereference. The patch brings the test back.
The all proc_map_files feature is CONFIG_
\10 CHECKPOINT_RESTORE wrapped
(which is set to 'n' by default) so the bug doesn't affect regular
kernels.
The regression is 3.7-rc1 only as far as I can tell.
[gorcunov@openvz.org: provided changelog]
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Mel Gorman [Tue, 23 Oct 2012 02:49:19 +0000 (13:49 +1100)]
mm: vmscan: scale number of pages reclaimed by reclaim/compaction only in direct reclaim
Jiri Slaby reported the following:
(It's an effective revert of "mm: vmscan: scale number of pages
reclaimed by reclaim/compaction based on failures".)
Given kswapd had hours of runtime in ps/top output yesterday in the
morning and after the revert it's now 2 minutes in sum for the last 24h,
I would say, it's gone.
The intention of the patch in question was to compensate for the loss of
lumpy reclaim. Part of the reason lumpy reclaim worked is because it
aggressively reclaimed pages and this patch was meant to be a sane
compromise.
When compaction fails, it gets deferred and both compaction and
reclaim/compaction is deferred avoid excessive reclaim. However, since
commit
c6543459 ("mm: remove __GFP_NO_KSWAPD"), kswapd is woken up each
time and continues reclaiming which was not taken into account when the
patch was developed.
As it is not taking deferred compaction into account in this path it scans
aggressively before falling out and making the compaction_deferred check
in compaction_ready. This patch avoids kswapd scaling pages for reclaim
and leaves the aggressive reclaim to the process attempting the THP
allocation.
Signed-off-by: Mel Gorman <mgorman@suse.de>
Reported-by: Jiri Slaby <jslaby@suse.cz>
Cc: Rik van Riel <riel@redhat.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Stephen Rothwell [Tue, 23 Oct 2012 02:46:23 +0000 (13:46 +1100)]
Merge remote-tracking branch 'drop-experimental/linux-next'
Stephen Rothwell [Tue, 23 Oct 2012 02:31:22 +0000 (13:31 +1100)]
Merge remote-tracking branch 'lzo-update/lzo-update'
Stephen Rothwell [Tue, 23 Oct 2012 02:24:25 +0000 (13:24 +1100)]
Merge remote-tracking branch 'signal/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 02:22:36 +0000 (13:22 +1100)]
Merge remote-tracking branch 'dma-buf/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 02:20:55 +0000 (13:20 +1100)]
Merge remote-tracking branch 'dma-mapping/dma-mapping-next'
Stephen Rothwell [Tue, 23 Oct 2012 02:19:19 +0000 (13:19 +1100)]
Merge remote-tracking branch 'kvmtool/master'
Stephen Rothwell [Tue, 23 Oct 2012 02:17:42 +0000 (13:17 +1100)]
Merge remote-tracking branch 'tegra/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 02:16:02 +0000 (13:16 +1100)]
Merge remote-tracking branch 'samsung/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 02:14:26 +0000 (13:14 +1100)]
Merge remote-tracking branch 'renesas/next'
Stephen Rothwell [Tue, 23 Oct 2012 02:12:41 +0000 (13:12 +1100)]
Merge remote-tracking branch 'ixp4xx/next'
Stephen Rothwell [Tue, 23 Oct 2012 02:12:38 +0000 (13:12 +1100)]
Merge remote-tracking branch 'ep93xx/ep93xx-for-next'
Stephen Rothwell [Tue, 23 Oct 2012 02:11:03 +0000 (13:11 +1100)]
Merge remote-tracking branch 'cortex/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 02:09:21 +0000 (13:09 +1100)]
Merge remote-tracking branch 'arm-soc/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 02:07:47 +0000 (13:07 +1100)]
Merge remote-tracking branch 'gpio-lw/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 02:07:32 +0000 (13:07 +1100)]
Merge remote-tracking branch 'vhost/linux-next'
Conflicts:
drivers/net/tun.c
Stephen Rothwell [Tue, 23 Oct 2012 02:05:40 +0000 (13:05 +1100)]
Merge remote-tracking branch 'pinctrl/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 01:59:06 +0000 (12:59 +1100)]
Merge remote-tracking branch 'tmem/linux-next'
Stephen Rothwell [Tue, 23 Oct 2012 01:57:14 +0000 (12:57 +1100)]
Merge remote-tracking branch 'staging/staging-next'
Stephen Rothwell [Tue, 23 Oct 2012 01:55:08 +0000 (12:55 +1100)]
Merge remote-tracking branch 'usb/usb-next'
Stephen Rothwell [Tue, 23 Oct 2012 01:53:14 +0000 (12:53 +1100)]
Merge remote-tracking branch 'regmap/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 01:51:23 +0000 (12:51 +1100)]
Merge remote-tracking branch 'drivers-x86/linux-next'
Stephen Rothwell [Tue, 23 Oct 2012 01:49:44 +0000 (12:49 +1100)]
Merge remote-tracking branch 'workqueues/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 01:43:14 +0000 (12:43 +1100)]
Merge remote-tracking branch 'xen-two/linux-next'
Stephen Rothwell [Tue, 23 Oct 2012 01:41:34 +0000 (12:41 +1100)]
Merge remote-tracking branch 'oprofile/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 01:39:50 +0000 (12:39 +1100)]
Merge remote-tracking branch 'kvm-ppc/kvm-ppc-next'
Stephen Rothwell [Tue, 23 Oct 2012 01:38:08 +0000 (12:38 +1100)]
Merge remote-tracking branch 'kvm/linux-next'
Conflicts:
arch/powerpc/include/asm/Kbuild
arch/powerpc/include/asm/kvm_para.h
Stephen Rothwell [Tue, 23 Oct 2012 01:30:24 +0000 (12:30 +1100)]
Merge remote-tracking branch 'tip/auto-latest'
Stephen Rothwell [Tue, 23 Oct 2012 01:28:48 +0000 (12:28 +1100)]
Merge remote-tracking branch 'spi-mb/spi-next'
Stephen Rothwell [Tue, 23 Oct 2012 01:27:04 +0000 (12:27 +1100)]
Merge remote-tracking branch 'edac-amd/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 01:25:18 +0000 (12:25 +1100)]
Merge remote-tracking branch 'edac/linux_next'
Stephen Rothwell [Tue, 23 Oct 2012 01:23:39 +0000 (12:23 +1100)]
Merge remote-tracking branch 'fsnotify/for-next'
Conflicts:
kernel/audit_tree.c
Stephen Rothwell [Tue, 23 Oct 2012 01:21:30 +0000 (12:21 +1100)]
Merge remote-tracking branch 'trivial/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 01:19:49 +0000 (12:19 +1100)]
Merge remote-tracking branch 'osd/linux-next'
Stephen Rothwell [Tue, 23 Oct 2012 01:17:58 +0000 (12:17 +1100)]
Merge remote-tracking branch 'watchdog/master'
Stephen Rothwell [Tue, 23 Oct 2012 01:17:52 +0000 (12:17 +1100)]
Merge remote-tracking branch 'selinux/master'
Stephen Rothwell [Tue, 23 Oct 2012 01:10:21 +0000 (12:10 +1100)]
Merge remote-tracking branch 'security/next'
Conflicts:
fs/cifs/cifsacl.c
net/dns_resolver/dns_key.c
security/keys/keyctl.c
security/keys/keyring.c
security/keys/process_keys.c
Stephen Rothwell [Tue, 23 Oct 2012 01:08:38 +0000 (12:08 +1100)]
Merge remote-tracking branch 'regulator/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 01:06:45 +0000 (12:06 +1100)]
Merge remote-tracking branch 'md/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 01:05:04 +0000 (12:05 +1100)]
Merge remote-tracking branch 'slab/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 01:04:55 +0000 (12:04 +1100)]
Merge remote-tracking branch 'kgdb/kgdb-next'
Stephen Rothwell [Tue, 23 Oct 2012 01:03:19 +0000 (12:03 +1100)]
Merge remote-tracking branch 'mmc/mmc-next'
Stephen Rothwell [Tue, 23 Oct 2012 01:01:27 +0000 (12:01 +1100)]
Merge remote-tracking branch 'block/for-next'
Conflicts:
init/Kconfig
Stephen Rothwell [Tue, 23 Oct 2012 00:57:03 +0000 (11:57 +1100)]
Merge remote-tracking branch 'cgroup/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 00:55:17 +0000 (11:55 +1100)]
Merge remote-tracking branch 'input/next'
Stephen Rothwell [Tue, 23 Oct 2012 00:53:41 +0000 (11:53 +1100)]
Merge remote-tracking branch 'virtio/virtio-next'
Stephen Rothwell [Tue, 23 Oct 2012 00:46:52 +0000 (11:46 +1100)]
Merge remote-tracking branch 'modules/modules-next'
Conflicts:
kernel/module.c
Stephen Rothwell [Tue, 23 Oct 2012 00:45:09 +0000 (11:45 +1100)]
Merge remote-tracking branch 'sound-asoc/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 00:43:19 +0000 (11:43 +1100)]
Merge remote-tracking branch 'sound/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 00:41:40 +0000 (11:41 +1100)]
Merge remote-tracking branch 'crypto/master'
Stephen Rothwell [Tue, 23 Oct 2012 00:40:02 +0000 (11:40 +1100)]
Merge remote-tracking branch 'l2-mtd/master'
Stephen Rothwell [Tue, 23 Oct 2012 00:38:26 +0000 (11:38 +1100)]
Merge remote-tracking branch 'mtd/master'
Stephen Rothwell [Tue, 23 Oct 2012 00:36:21 +0000 (11:36 +1100)]
Merge remote-tracking branch 'wireless-next/master'
Conflicts:
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c
net/mac80211/mlme.c
Stephen Rothwell [Tue, 23 Oct 2012 00:34:44 +0000 (11:34 +1100)]
Merge remote-tracking branch 'net-next/master'
Stephen Rothwell [Tue, 23 Oct 2012 00:32:40 +0000 (11:32 +1100)]
Merge remote-tracking branch 'thermal/next'
Stephen Rothwell [Tue, 23 Oct 2012 00:32:33 +0000 (11:32 +1100)]
Merge remote-tracking branch 'cpuidle/cpuidle-next'
Conflicts:
drivers/cpuidle/coupled.c
include/linux/cpuidle.h
Stephen Rothwell [Tue, 23 Oct 2012 00:32:05 +0000 (11:32 +1100)]
Merge remote-tracking branch 'kbuild/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 00:32:02 +0000 (11:32 +1100)]
Merge remote-tracking branch 'v4l-dvb/master'
Stephen Rothwell [Tue, 23 Oct 2012 00:30:32 +0000 (11:30 +1100)]
Merge remote-tracking branch 'hwmon-staging/hwmon-next'
Stephen Rothwell [Tue, 23 Oct 2012 00:28:58 +0000 (11:28 +1100)]
Merge branch 'quilt/i2c'
Stephen Rothwell [Tue, 23 Oct 2012 00:27:20 +0000 (11:27 +1100)]
Merge remote-tracking branch 'hid/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 00:25:43 +0000 (11:25 +1100)]
Merge remote-tracking branch 'vfs/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 00:24:08 +0000 (11:24 +1100)]
Merge remote-tracking branch 'xfs/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 00:22:31 +0000 (11:22 +1100)]
Merge remote-tracking branch 'ubifs/linux-next'
Stephen Rothwell [Tue, 23 Oct 2012 00:22:24 +0000 (11:22 +1100)]
Merge remote-tracking branch 'v9fs/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 00:20:32 +0000 (11:20 +1100)]
Merge remote-tracking branch 'ocfs2/linux-next'
Stephen Rothwell [Tue, 23 Oct 2012 00:18:58 +0000 (11:18 +1100)]
Merge remote-tracking branch 'nfs/linux-next'
Stephen Rothwell [Tue, 23 Oct 2012 00:17:16 +0000 (11:17 +1100)]
Merge remote-tracking branch 'logfs/master'
Stephen Rothwell [Tue, 23 Oct 2012 00:15:43 +0000 (11:15 +1100)]
Merge remote-tracking branch 'jfs/jfs-next'
Stephen Rothwell [Tue, 23 Oct 2012 00:14:15 +0000 (11:14 +1100)]
Merge remote-tracking branch 'gfs2/master'
Stephen Rothwell [Tue, 23 Oct 2012 00:12:35 +0000 (11:12 +1100)]
Merge remote-tracking branch 'fuse/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 00:10:54 +0000 (11:10 +1100)]
Merge remote-tracking branch 'ext4/dev'
Stephen Rothwell [Tue, 23 Oct 2012 00:09:18 +0000 (11:09 +1100)]
Merge remote-tracking branch 'cifs/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 00:07:42 +0000 (11:07 +1100)]
Merge remote-tracking branch 'ceph/master'
Stephen Rothwell [Tue, 23 Oct 2012 00:06:12 +0000 (11:06 +1100)]
Merge remote-tracking branch 'unicore32/unicore32'
Stephen Rothwell [Tue, 23 Oct 2012 00:04:34 +0000 (11:04 +1100)]
Merge remote-tracking branch 's390/features'
Stephen Rothwell [Tue, 23 Oct 2012 00:03:02 +0000 (11:03 +1100)]
Merge remote-tracking branch 'mpc5xxx/next'
Stephen Rothwell [Tue, 23 Oct 2012 00:03:00 +0000 (11:03 +1100)]
Merge remote-tracking branch 'parisc/for-next'
Stephen Rothwell [Tue, 23 Oct 2012 00:01:28 +0000 (11:01 +1100)]
Merge remote-tracking branch 'mips/mips-for-linux-next'
Stephen Rothwell [Mon, 22 Oct 2012 23:59:55 +0000 (10:59 +1100)]
Merge remote-tracking branch 'microblaze/next'
Stephen Rothwell [Mon, 22 Oct 2012 23:58:27 +0000 (10:58 +1100)]
Merge remote-tracking branch 'm68knommu/for-next'
Conflicts:
arch/m68k/include/asm/termios.h
arch/m68k/include/uapi/asm/auxvec.h
arch/m68k/include/uapi/asm/msgbuf.h
arch/m68k/include/uapi/asm/sembuf.h
arch/m68k/include/uapi/asm/shmbuf.h
arch/m68k/include/uapi/asm/socket.h
arch/m68k/include/uapi/asm/sockios.h
arch/m68k/include/uapi/asm/termbits.h
Stephen Rothwell [Mon, 22 Oct 2012 23:53:26 +0000 (10:53 +1100)]
Merge remote-tracking branch 'cris/for-next'
Stephen Rothwell [Mon, 22 Oct 2012 23:51:56 +0000 (10:51 +1100)]
Merge remote-tracking branch 'blackfin/for-linus'
Stephen Rothwell [Mon, 22 Oct 2012 23:50:20 +0000 (10:50 +1100)]
Merge remote-tracking branch 'arm-perf/for-next/perf'
Stephen Rothwell [Mon, 22 Oct 2012 23:48:49 +0000 (10:48 +1100)]
Merge remote-tracking branch 'arm/for-next'
Stephen Rothwell [Mon, 22 Oct 2012 23:45:58 +0000 (10:45 +1100)]
Merge remote-tracking branch 'spi-current/spi/merge'
Stephen Rothwell [Mon, 22 Oct 2012 23:45:46 +0000 (10:45 +1100)]
Merge remote-tracking branch 'devicetree-current/devicetree/merge'
Stephen Rothwell [Mon, 22 Oct 2012 23:45:32 +0000 (10:45 +1100)]
Merge remote-tracking branch 'staging.current/staging-linus'
Stephen Rothwell [Mon, 22 Oct 2012 23:45:31 +0000 (10:45 +1100)]
Merge remote-tracking branch 'usb.current/usb-linus'
Stephen Rothwell [Mon, 22 Oct 2012 23:45:30 +0000 (10:45 +1100)]
Merge remote-tracking branch 'driver-core.current/driver-core-linus'
Stephen Rothwell [Mon, 22 Oct 2012 23:45:28 +0000 (10:45 +1100)]
Merge remote-tracking branch 'sound-current/for-linus'
Stephen Rothwell [Mon, 22 Oct 2012 23:45:27 +0000 (10:45 +1100)]
Merge remote-tracking branch 'net/master'
Devendra Naga [Mon, 22 Oct 2012 22:16:07 +0000 (18:16 -0400)]
staging: slicoss: remove ASSERT macro altogether
remove ASSERT and remove all its callers altogether in the code
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Devendra Naga [Mon, 22 Oct 2012 22:15:41 +0000 (18:15 -0400)]
staging: slicoss: fail out if we dont have a valid firmware file
fail instead calling request_firmware with filename as a null string
and return -ENOENT
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Mark Einon [Fri, 19 Oct 2012 22:08:16 +0000 (23:08 +0100)]
staging: et131x: Remove USE_FBR0 define and #ifdefs
USE_FBR0 has always been defined, even in the original driver code.
Remove the define and #ifdef code to leave the code in the same state.
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Mark Einon [Fri, 19 Oct 2012 22:08:15 +0000 (23:08 +0100)]
staging: et131x: Use upper_32_bits() instead of '>> 32'
'>> 32 of a 32bit value is undefined in C. The compiler is free
to do what it likes with this...'
Change all uses of '>> 32' to use upper_32_bits() and use
the corresponding lower_32_bits() to match.
Also remove an incorrect comment about dma alloc always returning 32bit
addresses.
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Mark Einon [Fri, 19 Oct 2012 22:08:14 +0000 (23:08 +0100)]
staging: et131x: Remove fbr_lookup.real_physaddr
fbr_lookup.real_physaddr is only being used as a pseudonym for
fbr_lookup.ring_physaddr, so remove it and rename all instances to
ring_physaddr.
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>