Skip to content
  1. Sep 25, 2009
    • Tim Abbott's avatar
      xtensa: Cleanup linker script using new linker script macros. · cd3db323
      Tim Abbott authored
      
      
      Signed-off-by: default avatarTim Abbott <tabbott@ksplice.com>
      Cc: Chris Zankel <chris@zankel.net>
      Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      cd3db323
    • Tim Abbott's avatar
      parisc: Remove useless altinstructions code copied from x86. · ab635e7d
      Tim Abbott authored
      
      
      Signed-off-by: default avatarTim Abbott <tabbott@ksplice.com>
      Cc: Kyle McMartin <kyle@mcmartin.ca>
      Cc: Helge Deller <deller@gmx.de>
      Cc: linux-parisc@vger.kernel.org
      Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      ab635e7d
    • Tim Abbott's avatar
      parisc: Clean up linker script using new linker script macros. · 57a8e116
      Tim Abbott authored
      
      
      This patch has the (likely harmless) side effect of moving
      .data.init_task inside the _edata.
      
      It also changes the alignment of .data.init_task from 16384 to
      THREAD_SIZE, which can in some configurations be larger than 16384.  I
      believe that this change fixes a potential bug on those
      configurations.
      
      Signed-off-by: default avatarTim Abbott <tabbott@ksplice.com>
      Cc: Kyle McMartin <kyle@mcmartin.ca>
      Cc: Helge Deller <deller@gmx.de>
      Cc: linux-parisc@vger.kernel.org
      Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      57a8e116
    • Tim Abbott's avatar
      Optimize the ordering of sections in RW_DATA_SECTION. · 1b208622
      Tim Abbott authored
      
      
      The old RW_DATA_SECTION had INIT_TASK_DATA (which was
      more-than-PAGE_SIZE-aligned), followed by a bunch of small alignment
      stuff, followed by more PAGE_SIZE-aligned stuff, so you wasted memory
      in the middle of .data re-aligning back up to PAGE_SIZE.
      
      This patch sorts the sections by alignment requirements, which should
      pack them essentially optimally.
      
      Signed-off-by: default avatarTim Abbott <tabbott@ksplice.com>
      Reviewed-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      1b208622
    • Andrew Morton's avatar
      hugetlb_file_setup(): use C, not cpp · e9ea0e2d
      Andrew Morton authored
      
      
      Why macros are always wrong:
      
        mm/mmap.c: In function 'do_mmap_pgoff':
        mm/mmap.c:953: warning: unused variable 'user'
      
      also, move a couple of struct forward-decls outside `#ifdef
      CONFIG_HUGETLB_PAGE' - it's pointless and frequently harmful to make these
      conditional (eg, this patch needed `struct user_struct').
      
      Cc: Lee Schermerhorn <lee.schermerhorn@hp.com>
      Cc: Mel Gorman <mel@csn.ul.ie>
      Cc: Nishanth Aravamudan <nacc@us.ibm.com>
      Cc: David Rientjes <rientjes@google.com>
      Cc: Adam Litke <agl@us.ibm.com>
      Cc: Andy Whitcroft <apw@canonical.com>
      Cc: Eric Whitney <eric.whitney@hp.com>
      Cc: Eric B Munson <ebmunson@us.ibm.com>
      Cc: David Howells <dhowells@redhat.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e9ea0e2d
    • Andrew Morton's avatar
      procfs: disable per-task stack usage on NOMMU · c44972f1
      Andrew Morton authored
      
      
      It needs walk_page_range().
      
      Reported-by: default avatarMichal Simek <monstr@monstr.eu>
      Tested-by: default avatarMichal Simek <monstr@monstr.eu>
      Cc: Stefani Seibold <stefani@seibold.net>
      Cc: David Howells <dhowells@redhat.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Greg Ungerer <gerg@snapgear.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      c44972f1
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ecryptfs/ecryptfs-2.6 · b9b9df62
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ecryptfs/ecryptfs-2.6:
        eCryptfs: Prevent lower dentry from going negative during unlink
        eCryptfs: Propagate vfs_read and vfs_write return codes
        eCryptfs: Validate global auth tok keys
        eCryptfs: Filename encryption only supports password auth tokens
        eCryptfs: Check for O_RDONLY lower inodes when opening lower files
        eCryptfs: Handle unrecognized tag 3 cipher codes
        ecryptfs: improved dependency checking and reporting
        eCryptfs: Fix lockdep-reported AB-BA mutex issue
        ecryptfs: Remove unneeded locking that triggers lockdep false positives
      b9b9df62
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://repo.or.cz/cris-mirror · 5f8fe427
      Linus Torvalds authored
      * 'for-linus' of git://repo.or.cz/cris-mirror:
        CRIS: Cleanup linker script using new linker script macros.
        ARRAY_SIZE changes
        CRIS: convert to asm-generic/hardirq.h
        CRISv10: Don't autonegotiate if autonegotiation is off
        CRIS: fix defconfig build failure
        CRIS: add pgprot_noncached
      5f8fe427
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm · d9fbd9a2
      Linus Torvalds authored
      * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (103 commits)
        ARM: 5719/1: [AT91] Fix AC97 breakage
        ARM: 5721/1: MMCI enable the use of a regulator
        ARM: 5720/1: Move MMCI header to amba include dir
        ARM: 5718/1: Sane busids for RealView board components
        ARM: 5715/1: Make kprobes unregistration SMP safe
        ARM: 5711/1: locomo.c: CodingStyle cleanups
        ARM: 5710/1: at91: add AC97 support to at91sam9rl and at91sam9rlek board
        ARM: 5709/1: at91: add AC97 support to at91sam9g45 series and at91sam9m10g45ek board
        ARM: 5621/1: at91/dmaengine: integration of at_hdmac driver in at91sam9g45 series
        ARM: 5620/1: at91/dmaengine: integration of at_hdmac driver in at91sam9rl
        ARM: Add support for checking access permissions on prefetch aborts
        ARM: Separate out access error checking
        ARM: Ensure correct might_sleep() check in pagefault path
        ARM: Update page fault handling for new OOM techniques
        ARM: Provide definitions and helpers for decoding the FSR register
        ARM: 5712/1: SA1100: initialise spinlock in DMA code
        ARM: s3c: fix check of index into s3c_gpios[]
        ARM: spitz: fix touchscreen max presure
        ARM: STMP3xxx: deallocation with negative index of descriptors[]
        Thumb-2: Correctly handle undefined instructions in the kernel
        ...
      d9fbd9a2
    • Linus Torvalds's avatar
      Merge branch 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6 · f25f60be
      Linus Torvalds authored
      * 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
        nfs[23] tcp breakage in mount with binary options
        net: fix htmldocs sunrpc, clnt.c
      f25f60be
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband · d7757be1
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
        IPoIB: Don't turn on carrier for a non-active port
        IB/mthca: Fix access to freed memory in catastrophic event handling
        mlx4_core: Pass cache line size to device FW
        RDMA/nes: Remove duplicate .ndo_set_mac_address field initialization
        IB/mad: Fix lock-lock-timer deadlock in RMPP code
      d7757be1
    • Russell King's avatar
      Merge branch 'origin' into for-linus · baea7b94
      Russell King authored
      Conflicts:
      	MAINTAINERS
      baea7b94
    • Roland Dreier's avatar
    • Moni Shoua's avatar
      IPoIB: Don't turn on carrier for a non-active port · 5ee95120
      Moni Shoua authored
      
      
      Multicast joins can succeed even if the IB port is down.  This happens
      when the SM runs on the same port with the requesting port.  However,
      IPoIB calls netif_carrier_on() when the join of the broadcast group
      succeeds, without caring about the state of the IB port.  The result
      is an IPoIB interface in RUNNING state but without an active IB port
      to support it.
      
      If a bonding interface uses this IPoIB interface as a slave it might
      not detect that this slave is almost useless and failover
      functionality will be damaged.  The fix checks the state of the IB
      port in the carrier_task before calling netif_carrier_on().
      
      Adresses: https://bugs.openfabrics.org/show_bug.cgi?id=1726
      Signed-off-by: default avatarMoni Shoua <monis@voltaire.com>
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      5ee95120
    • Al Viro's avatar
      nfs[23] tcp breakage in mount with binary options · 36dd2fdb
      Al Viro authored
      
      
      We forget to set nfs_server.protocol in tcp case when old-style binary
      options are passed to mount.  The thing remains zero and never validated
      afterwards.  As the result, we hit BUG in fs/nfs/client.c:588.
      
      Breakage has been introduced in NFS: Add nfs_alloc_parsed_mount_data
      merged yesterday...
      
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      36dd2fdb
    • Jaswinder Singh Rajput's avatar
      net: fix htmldocs sunrpc, clnt.c · 7a73fdde
      Jaswinder Singh Rajput authored
      
      
      
        DOCPROC Documentation/DocBook/networking.xml
        Warning(net/sunrpc/clnt.c:647): No description found for parameter 'req'
        Warning(net/sunrpc/clnt.c:647): No description found for parameter 'tk_ops'
        Warning(net/sunrpc/clnt.c:647): Excess function parameter 'ops' description in 'rpc_run_bc_task'
      
      Signed-off-by: default avatarJaswinder Singh Rajput <jaswinderrajput@gmail.com>
      Cc: Ricardo Labiaga <Ricardo.Labiaga@netapp.com>
      Cc: Benny Halevy <bhalevy@panasas.com>
      Cc: Andy Adamson <andros@netapp.com>
      Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
      Cc: Randy Dunlap <randy.dunlap@oracle.com>
      Cc: David Miller <davem@davemloft.net>
      Acked-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Acked-by: default avatarBenny Halevy <bhalevy@panasas.com>
      Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      7a73fdde
    • Jack Morgenstein's avatar
      IB/mthca: Fix access to freed memory in catastrophic event handling · d686159e
      Jack Morgenstein authored
      catas_reset() uses a pointer to mthca_dev, but mthca_dev is not valid
      after the call to __mthca_restart_one().
      
      Based on a similar patch for mlx4 (634354d7
      
      , "mlx4: Fix access to
      freed memory") by Vitaliy Gusev <vgusev@openvz.org>
      
      Signed-off-by: default avatarJack Morgenstein <jackm@dev.mellanox.co.il>
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      d686159e
    • Eli Cohen's avatar
      mlx4_core: Pass cache line size to device FW · c57e20dc
      Eli Cohen authored
      
      
      ConnectX can work more efficiently if the CPU cache line size is passed
      to it with the INIT_HCA firmware command.
      
      Signed-off-by: default avatarEli Cohen <eli@mellanox.co.il>
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      c57e20dc
    • Julia Lawall's avatar
      RDMA/nes: Remove duplicate .ndo_set_mac_address field initialization · bdf64381
      Julia Lawall authored
      
      
      The definition of nes_netdev_ops has initializations of a local function
      and eth_mac_addr for its ndo_set_mac_address field.  This change uses only
      the local function.
      
      The semantic match that finds this problem is as follows:
      (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @r@
      identifier I, s, fld;
      position p0,p;
      expression E;
      @@
      
      struct I s =@p0 { ... .fld@p = E, ...};
      
      @s@
      identifier I, s, r.fld;
      position r.p0,p;
      expression E;
      @@
      
      struct I s =@p0 { ... .fld@p = E, ...};
      
      @script:python@
      p0 << r.p0;
      fld << r.fld;
      ps << s.p;
      pr << r.p;
      @@
      
      if int(ps[0].line)!=int(pr[0].line) or int(ps[0].column)!=int(pr[0].column):
        cocci.print_main(fld,p0)
      // </smpl>
      
      Signed-off-by: default avatarJulia Lawall <julia@diku.dk>
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      bdf64381
    • Linus Torvalds's avatar
      Merge branch 'drm-intel-next' of git://git.kernel.org/pub/scm/linux/kernel/git/anholt/drm-intel · 94e0fb08
      Linus Torvalds authored
      * 'drm-intel-next' of git://git.kernel.org/pub/scm/linux/kernel/git/anholt/drm-intel: (57 commits)
        drm/i915: Handle ERESTARTSYS during page fault
        drm/i915: Warn before mmaping a purgeable buffer.
        drm/i915: Track purged state.
        drm/i915: Remove eviction debug spam
        drm/i915: Immediately discard any backing storage for uneeded objects
        drm/i915: Do not mis-classify clean objects as purgeable
        drm/i915: Whitespace correction for madv
        drm/i915: BUG_ON page refleak during unbind
        drm/i915: Search harder for a reusable object
        drm/i915: Clean up evict from list.
        drm/i915: Add tracepoints
        drm/i915: framebuffer compression for GM45+
        drm/i915: split display functions by chip type
        drm/i915: Skip the sanity checks if the current relocation is valid
        drm/i915: Check that the relocation points to within the target
        drm/i915: correct FBC update when pipe base update occurs
        drm/i915: blacklist Acer AspireOne lid status
        ACPI: make ACPI button funcs no-ops if not built in
        drm/i915: prevent FIFO calculation overflows on 32 bits with high dotclocks
        drm/i915: intel_display.c handle latency variable efficiently
        ...
      
      Fix up trivial conflicts in drivers/gpu/drm/i915/{i915_dma.c|i915_drv.h}
      94e0fb08
    • Linus Torvalds's avatar
      Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 · b7f21bb2
      Linus Torvalds authored
      * 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6: (21 commits)
        x86/PCI: make 32 bit NUMA node array int, not unsigned char
        x86/PCI: default pcibus cpumask to all cpus if it lacks affinity
        MAINTAINTERS: remove hotplug driver entries
        PCI: pciehp: remove slot capabilities definitions
        PCI: pciehp: remove error message definitions
        PCI: pciehp: remove number field
        PCI: pciehp: remove hpc_ops
        PCI: pciehp: remove pci_dev field
        PCI: pciehp: remove crit_sect mutex
        PCI: pciehp: remove slot_bus field
        PCI: pciehp: remove first_slot field
        PCI: pciehp: remove slot_device_offset field
        PCI: pciehp: remove hp_slot field
        PCI: pciehp: remove device field
        PCI: pciehp: remove bus field
        PCI: pciehp: remove slot_num_inc field
        PCI: pciehp: remove num_slots field
        PCI: pciehp: remove slot_list field
        PCI: fix VGA arbiter header file
        PCI: Disable AER with pci=nomsi
        ...
      
      Fixed up trivial conflicts in MAINTAINERS
      b7f21bb2
    • Linus Torvalds's avatar
      Merge branch 'cputime' of git://git390.marist.edu/pub/scm/linux-2.6 · 7ca263cd
      Linus Torvalds authored
      * 'cputime' of git://git390.marist.edu/pub/scm/linux-2.6:
        [PATCH] Fix idle time field in /proc/uptime
      7ca263cd
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.monstr.eu/linux-2.6-microblaze · a6b49cb2
      Linus Torvalds authored
      * 'for-linus' of git://git.monstr.eu/linux-2.6-microblaze: (24 commits)
        microblaze: Disable heartbeat/enable emaclite in defconfigs
        microblaze: Support simpleImage.dts make target
        microblaze: Fix _start symbol to physical address
        microblaze: Use LOAD_OFFSET macro to get correct LMA for all sections
        microblaze: Create the LOAD_OFFSET macro used to compute VMA vs LMA offsets
        microblaze: Copy ppc asm-compat.h for clean handling of constants in asm and C
        microblaze: Actually show KiB rather than pages in "Freeing initrd memory:"
        microblaze: Support ptrace syscall tracing.
        microblaze: Updated CPU version and FPGA family codes in PVR
        microblaze: Generate correct signal and siginfo for integer div-by-zero
        microblaze: Don't be noisy when userspace causes hardware exceptions
        microblaze: Remove ipc.h file which points to non-existing asm-generic file
        microblaze: Clear sticky FSR register after generating exception signals
        microblaze: Ensure CPU usermode is set on new userspace processes
        microblaze: Use correct kbuild variable KBUILD_CFLAGS
        microblaze: Save and restore msr in hw exception
        microblaze: Add architectural support for USB EHCI host controllers
        microblaze: Implement include/asm/syscall.h.
        microblaze: Improve checking mechanism for MSR instruction
        microblaze: Add checking mechanism for MSR instruction
        ...
      a6b49cb2
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus · 2c9871de
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
        module: don't call percpu_modfree on NULL pointer.
        module: fix memory leak when load fails after srcversion/version allocated
        module: preferred way to use MODULE_AUTHOR
        param: allow whitespace as kernel parameter separator
        module: reduce string table for loaded modules (v2)
        module: reduce symbol table for loaded modules (v2)
      2c9871de
  2. Sep 24, 2009
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable · dc2af6a6
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable: (42 commits)
        Btrfs: hash the btree inode during  fill_super
        Btrfs: relocate file extents in clusters
        Btrfs: don't rename file into dummy directory
        Btrfs: check size of inode backref before adding hardlink
        Btrfs: fix releasepage to avoid unlocking extents we haven't locked
        Btrfs: Fix test_range_bit for whole file extents
        Btrfs: fix errors handling cached state in set/clear_extent_bit
        Btrfs: fix early enospc during balancing
        Btrfs: deal with NULL space info
        Btrfs: account for space used by the super mirrors
        Btrfs: fix extent entry threshold calculation
        Btrfs: remove dead code
        Btrfs: fix bitmap size tracking
        Btrfs: don't keep retrying a block group if we fail to allocate a cluster
        Btrfs: make balance code choose more wisely when relocating
        Btrfs: fix arithmetic error in clone ioctl
        Btrfs: add snapshot/subvolume destroy ioctl
        Btrfs: change how subvolumes are organized
        Btrfs: do not reuse objectid of deleted snapshot/subvol
        Btrfs: speed up snapshot dropping
        ...
      dc2af6a6
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 · 6c5daf01
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6:
        truncate: use new helpers
        truncate: new helpers
        fs: fix overflow in sys_mount() for in-kernel calls
        fs: Make unload_nls() NULL pointer safe
        freeze_bdev: grab active reference to frozen superblocks
        freeze_bdev: kill bd_mount_sem
        exofs: remove BKL from super operations
        fs/romfs: correct error-handling code
        vfs: seq_file: add helpers for data filling
        vfs: remove redundant position check in do_sendfile
        vfs: change sb->s_maxbytes to a loff_t
        vfs: explicitly cast s_maxbytes in fiemap_check_ranges
        libfs: return error code on failed attr set
        seq_file: return a negative error code when seq_path_root() fails.
        vfs: optimize touch_time() too
        vfs: optimization for touch_atime()
        vfs: split generic_forget_inode() so that hugetlbfs does not have to copy it
        fs/inode.c: add dev-id and inode number for debugging in init_special...
      6c5daf01
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit-current · 6d39b27f
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit-current:
        lsm: Use a compressed IPv6 string format in audit events
        Audit: send signal info if selinux is disabled
        Audit: rearrange audit_context to save 16 bytes per struct
        Audit: reorganize struct audit_watch to save 8 bytes
      6d39b27f
    • Rusty Russell's avatar
      module: don't call percpu_modfree on NULL pointer. · ffa9f12a
      Rusty Russell authored
      The general one handles NULL, the static obsolescent
      (CONFIG_HAVE_LEGACY_PER_CPU_AREA) one in module.c doesn't; Eric's
      commit 720eba31
      
       assumed it did, and various frobbings since then kept
      that assumption.
      
      All other callers in module.c all protect it with an if; this effectively
      does the same as free_init is only goto if we fail percpu_modalloc().
      
      Reported-by: default avatarKamalesh Babulal <kamalesh@linux.vnet.ibm.com>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      Cc: Eric Dumazet <dada1@cosmosbay.com>
      Cc: Masami Hiramatsu <mhiramat@redhat.com>
      Cc: Américo Wang <xiyou.wangcong@gmail.com>
      Tested-by: default avatarKamalesh Babulal <kamalesh@linux.vnet.ibm.com>
      ffa9f12a
    • Rusty Russell's avatar
      module: fix memory leak when load fails after srcversion/version allocated · a263f776
      Rusty Russell authored
      
      
      Normally the twisty paths of sysfs will free the attributes, but not if
      we fail before we hook it into sysfs (which is the last thing we do in
      load_module).
      
      (This sysfs code is a turd, no doubt there are other issues lurking too).
      
      Reported-by: default avatarTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Tested-by: default avatarTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
      a263f776
    • Johannes Berg's avatar
      module: preferred way to use MODULE_AUTHOR · 1d7015ca
      Johannes Berg authored
      
      
      For the longest time now we've been using multiple MODULE_AUTHOR()
      statements when a module has more than one author, but the comment here
      disagrees.
      
      Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
      Cc: Jiri Kosina <jkosina@suse.cz>
      Cc: Luciano Coelho <luciano.coelho@nokia.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      1d7015ca
    • Peter Oberparleiter's avatar
      param: allow whitespace as kernel parameter separator · 26d052bf
      Peter Oberparleiter authored
      
      
      Some boot mechanisms require that kernel parameters are stored in a
      separate file which is loaded to memory without further processing
      (e.g. the "Load from FTP" method on s390). When such a file contains
      newline characters, the kernel parameter preceding the newline might
      not be correctly parsed (due to the newline being stuck to the end of
      the actual parameter value) which can lead to boot failures.
      
      This patch improves kernel command line usability in such a situation
      by allowing generic whitespace characters as separators between kernel
      parameters.
      
      Signed-off-by: default avatarPeter Oberparleiter <oberpar@linux.vnet.ibm.com>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      26d052bf
    • Jan Beulich's avatar
      module: reduce string table for loaded modules (v2) · 554bdfe5
      Jan Beulich authored
      
      
      Also remove all parts of the string table (referenced by the symbol
      table) that are not needed for kallsyms use (i.e. which were only
      referenced by symbols discarded by the previous patch, or not
      referenced at all for whatever reason).
      
      Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      554bdfe5
    • Jan Beulich's avatar
      module: reduce symbol table for loaded modules (v2) · 4a496226
      Jan Beulich authored
      
      
      Discard all symbols not interesting for kallsyms use: absolute,
      section, and in the common case (!KALLSYMS_ALL) data ones.
      
      Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      4a496226
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://neil.brown.name/md · a487b670
      Linus Torvalds authored
      * 'for-linus' of git://neil.brown.name/md: (97 commits)
        md: raid-1/10: fix RW bits manipulation
        md: remove unnecessary memset from multipath.
        md: report device as congested when suspended
        md: Improve name of threads created by md_register_thread
        md: remove sparse warnings about lock context.
        md: remove sparse waring "symbol xxx shadows an earlier one"
        async_tx/raid6: add missing dma_unmap calls to the async fail case
        ioat3: fix uninitialized var warnings
        drivers/dma/ioat/dma_v2.c: fix warnings
        raid6test: fix stack overflow
        ioat2: clarify ring size limits
        md/raid6: cleanup ops_run_compute6_2
        md/raid6: eliminate BUG_ON with side effect
        dca: module load should not be an error message
        ioat: driver version 4.0
        dca: registering requesters in multiple dca domains
        async_tx: remove HIGHMEM64G restriction
        dmaengine: sh: Add Support SuperH DMA Engine driver
        dmaengine: Move all map_sg/unmap_sg for slave channel to its client
        fsldma: Add DMA_SLAVE support
        ...
      a487b670
    • Linus Torvalds's avatar
      Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 · 9f6ac785
      Linus Torvalds authored
      * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6:
        V4L/DVB (13039): dib0700: not building CONFIG_DVB_TUNER_DIB0070 breaks compilation
        V4L/DVB (13038): dvbdev: Remove an anoying/uneeded warning
        V4L/DVB (13037): go7007: Revert compatibility code added at the wrong place
        media: video: Fix build in saa7164
      9f6ac785
    • Linus Torvalds's avatar
      Merge branch 'hwpoison' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-mce-2.6 · db168263
      Linus Torvalds authored
      * 'hwpoison' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-mce-2.6: (21 commits)
        HWPOISON: Enable error_remove_page on btrfs
        HWPOISON: Add simple debugfs interface to inject hwpoison on arbitary PFNs
        HWPOISON: Add madvise() based injector for hardware poisoned pages v4
        HWPOISON: Enable error_remove_page for NFS
        HWPOISON: Enable .remove_error_page for migration aware file systems
        HWPOISON: The high level memory error handler in the VM v7
        HWPOISON: Add PR_MCE_KILL prctl to control early kill behaviour per process
        HWPOISON: shmem: call set_page_dirty() with locked page
        HWPOISON: Define a new error_remove_page address space op for async truncation
        HWPOISON: Add invalidate_inode_page
        HWPOISON: Refactor truncate to allow direct truncating of page v2
        HWPOISON: check and isolate corrupted free pages v2
        HWPOISON: Handle hardware poisoned pages in try_to_unmap
        HWPOISON: Use bitmask/action code for try_to_unmap behaviour
        HWPOISON: x86: Add VM_FAULT_HWPOISON handling to x86 page fault handler v2
        HWPOISON: Add poison check to page fault handling
        HWPOISON: Add basic support for poisoned pages in fault handler v3
        HWPOISON: Add new SIGBUS error codes for hardware poison signals
        HWPOISON: Add support for poison swap entries v2
        HWPOISON: Export some rmap vma locking to outside world
        ...
      db168263
    • Andrew Morton's avatar
      drivers/usb/serial/sierra.c: fix CONFIG_PM=n build · cd604513
      Andrew Morton authored
      drivers/usb/serial/sierra.c: In function 'sierra_suspend':
      drivers/usb/serial/sierra.c:936: error: 'struct usb_device' has no member named 'auto_pm'
      
      Repairs
      
      commit e6929a90
      
      
      Author: Oliver Neukum <oliver@neukum.org>
      Date:   Fri Sep 4 23:19:53 2009 +0200
      
          USB: support for autosuspend in sierra while online
      
      Cc: Greg KH <greg@kroah.com>
      Cc: Oliver Neukum <oliver@neukum.org>
      Cc: Elina Pasheva <epasheva@sierrawireless.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      cd604513
    • Ivan Kokshaysky's avatar
      alpha: AGP update (fixes compile failure) · d68721eb
      Ivan Kokshaysky authored
      
      
      This brings Alpha AGP platforms in sync with the change to struct
      agp_memory (unsigned long *memory => struct page **pages).
      
      Only compile tested (I don't have titan/marvel hardware), but this change
      looks pretty straightforward, so hopefully it's ok.
      
      Signed-off-by: default avatarIvan Kokshaysky <ink@jurassic.park.msu.ru>
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Dave Airlie <airlied@linux.ie>
      Cc: <stable@kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d68721eb
    • Hiroshi Shimamoto's avatar
      task_struct cleanup: move binfmt field to mm_struct · 801460d0
      Hiroshi Shimamoto authored
      
      
      Because the binfmt is not different between threads in the same process,
      it can be moved from task_struct to mm_struct.  And binfmt moudle is
      handled per mm_struct instead of task_struct.
      
      Signed-off-by: default avatarHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
      Acked-by: default avatarOleg Nesterov <oleg@redhat.com>
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Acked-by: default avatarRoland McGrath <roland@redhat.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      801460d0
    • Albin Tonnerre's avatar
      include/linux/unaligned/{l,b}e_byteshift.h: fix usage for compressed kernels · 2fa43410
      Albin Tonnerre authored
      
      
      When unaligned accesses are required for uncompressing a kernel (such as
      for LZO decompression on ARM in a patch that follows), including
      <linux/kernel.h> causes issues as it brings in a lot of things that are
      not available in the decompression environment.
      
      linux/kernel.h brings at least:
      extern int console_printk[];
      extern const char hex_asc[];
      which causes errors at link-time as they are not available when
      compiling the pre-boot environement. There are also a few others:
      
        arch/arm/boot/compressed/misc.o: In function `valid_user_regs':
         arch/arm/include/asm/ptrace.h:158: undefined reference to `elf_hwcap'
        arch/arm/boot/compressed/misc.o: In function `console_silent':
         include/linux/kernel.h:292: undefined reference to `console_printk'
        arch/arm/boot/compressed/misc.o: In function `console_verbose':
         include/linux/kernel.h:297: undefined reference to `console_printk'
        arch/arm/boot/compressed/misc.o: In function `pack_hex_byte':
         include/linux/kernel.h:360: undefined reference to `hex_asc'
        arch/arm/boot/compressed/misc.o: In function `hweight_long':
         include/linux/bitops.h:45: undefined reference to `hweight32'
        arch/arm/boot/compressed/misc.o: In function `__cmpxchg_local_generic':
         include/asm-generic/cmpxchg-local.h:21: undefined reference to `wrong_size_cmpxchg'
         include/asm-generic/cmpxchg-local.h:42: undefined reference to `wrong_size_cmpxchg'
        arch/arm/boot/compressed/misc.o: In function `__xchg':
         arch/arm/include/asm/system.h:309: undefined reference to `__bad_xchg'
      
      However, those files apparently use nothing from <linux/kernel.h>, all
      they need is the declaration of types such as u32 or u64, so
      <linux/types.h> should be enough
      
      Signed-off-by: default avatarAlbin Tonnerre <albin.tonnerre@free-electrons.com>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Cc: Phillip Lougher <phillip@lougher.demon.co.uk>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      2fa43410