1. 26 5月, 2010 6 次提交
    • B
      ARM: S5PC100: Fixup cross tree merge problems · 459f2a32
      Ben Dooks 提交于
      The commit 45c79433 got things building
      but then commit 17d2f877ae8b68b09bf88a9949ee64fbbda5ee10 and others
      where merged in from a seperate tree and this has resulted from a build
      failure due to the redefinition of IRQ_EINT().
      
      Fix this by merging a new commit.
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      459f2a32
    • P
      ARM: S5P: Fix the platform external interrupt issues. · 5fae4058
      Pannaga Bhushan 提交于
      This patch does the following:
      
      1. Corrects the common platform code for external interrupts for using the
         VIC mask/unmask bits also.
      2. Moves the common defines related to external interrupt for plat-s5p
         to common files.
      3. Based on the new common defines, corresponding changes are made in the
         affected platforms (S5P6440, S5P6442 and S5PC100).
      Signed-off-by: NPannaga Bhushan <p.bhushan@samsung.com>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      5fae4058
    • M
      alpha: simplify and optimize sched_find_first_bit · a75f5f0f
      Matt Turner 提交于
      Search only the first 100 bits instead of 140, saving a couple
      instructions. The resulting code is about 1/3 faster (40K ticks/1000
      iterations down to 30K ticks/1000 iterations).
      
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      Cc: linux-alpha@vger.kernel.org
      Acked-by: NRichard Henderson <rth@twiddle.net>
      Signed-off-by: NMatt Turner <mattst88@gmail.com>
      a75f5f0f
    • N
      alpha: invoke oom-killer from page fault · 1cb3d8e2
      Nick Piggin 提交于
      As explained in commit 1c0fe6e3, we want to call the architecture
      independent oom killer when getting an unexplained OOM from
      handle_mm_fault, rather than simply killing current.
      
      [mattst88: kill now unused 'survive' label]
      Cc: linux-alpha@vger.kernel.org
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: linux-arch@vger.kernel.org
      Acked-by: NDavid Rientjes <rientjes@google.com>
      Signed-off-by: NMatt Turner <mattst88@gmail.com>
      Signed-off-by: NNick Piggin <npiggin@suse.de>
      1cb3d8e2
    • J
      Convert alpha to use clocksources instead of arch_gettimeoffset · 9ce34c8f
      John Stultz 提交于
      Alpha has a tsc like rpcc counter that it uses to manage time.
      This can be converted to an actual clocksource instead of utilizing
      the arch_gettimeoffset method that is really only there for legacy
      systems with no continuous counter.
      
      Further cleanups could be made if alpha converted to the clockevent
      model.
      
      CC: Thomas Gleixner <tglx@linutronix.de>
      CC: Richard Henderson <rth@twiddle.net>
      Acked-by: NIvan Kokshaysky <ink@jurassic.park.msu.ru>
      Tested-by: NIvan Kokshaysky <ink@jurassic.park.msu.ru>
      Signed-off-by: NMatt Turner <mattst88@gmail.com>
      Signed-off-by: NJohn Stultz <johnstul@us.ibm.com>
      9ce34c8f
    • K
      driver core: add devname module aliases to allow module on-demand auto-loading · 578454ff
      Kay Sievers 提交于
      This adds:
        alias: devname:<name>
      to some common kernel modules, which will allow the on-demand loading
      of the kernel module when the device node is accessed.
      
      Ideally all these modules would be compiled-in, but distros seems too
      much in love with their modularization that we need to cover the common
      cases with this new facility. It will allow us to remove a bunch of pretty
      useless init scripts and modprobes from init scripts.
      
      The static device node aliases will be carried in the module itself. The
      program depmod will extract this information to a file in the module directory:
        $ cat /lib/modules/2.6.34-00650-g537b60d1-dirty/modules.devname
        # Device nodes to trigger on-demand module loading.
        microcode cpu/microcode c10:184
        fuse fuse c10:229
        ppp_generic ppp c108:0
        tun net/tun c10:200
        dm_mod mapper/control c10:235
      
      Udev will pick up the depmod created file on startup and create all the
      static device nodes which the kernel modules specify, so that these modules
      get automatically loaded when the device node is accessed:
        $ /sbin/udevd --debug
        ...
        static_dev_create_from_modules: mknod '/dev/cpu/microcode' c10:184
        static_dev_create_from_modules: mknod '/dev/fuse' c10:229
        static_dev_create_from_modules: mknod '/dev/ppp' c108:0
        static_dev_create_from_modules: mknod '/dev/net/tun' c10:200
        static_dev_create_from_modules: mknod '/dev/mapper/control' c10:235
        udev_rules_apply_static_dev_perms: chmod '/dev/net/tun' 0666
        udev_rules_apply_static_dev_perms: chmod '/dev/fuse' 0666
      
      A few device nodes are switched to statically allocated numbers, to allow
      the static nodes to work. This might also useful for systems which still run
      a plain static /dev, which is completely unsafe to use with any dynamic minor
      numbers.
      
      Note:
      The devname aliases must be limited to the *common* and *single*instance*
      device nodes, like the misc devices, and never be used for conceptually limited
      systems like the loop devices, which should rather get fixed properly and get a
      control node for losetup to talk to, instead of creating a random number of
      device nodes in advance, regardless if they are ever used.
      
      This facility is to hide the mess distros are creating with too modualized
      kernels, and just to hide that these modules are not compiled-in, and not to
      paper-over broken concepts. Thanks! :)
      
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      Cc: David S. Miller <davem@davemloft.net>
      Cc: Miklos Szeredi <miklos@szeredi.hu>
      Cc: Chris Mason <chris.mason@oracle.com>
      Cc: Alasdair G Kergon <agk@redhat.com>
      Cc: Tigran Aivazian <tigran@aivazian.fsnet.co.uk>
      Cc: Ian Kent <raven@themaw.net>
      Signed-Off-By: NKay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      578454ff
  2. 25 5月, 2010 26 次提交
  3. 24 5月, 2010 8 次提交