1. 27 10月, 2011 6 次提交
  2. 23 8月, 2011 1 次提交
  3. 21 7月, 2011 8 次提交
  4. 26 6月, 2011 2 次提交
  5. 26 5月, 2011 2 次提交
  6. 25 5月, 2011 13 次提交
  7. 16 3月, 2011 1 次提交
  8. 02 11月, 2010 1 次提交
  9. 25 10月, 2010 1 次提交
    • O
      mmc: make number of mmcblk minors configurable · 5e71b7a6
      Olof Johansson 提交于
      The old limit of number of minor numbers per mmcblk device was hardcoded
      at 8.  This isn't enough for some of the more elaborate partitioning
      schemes, for example those used by Chrome OS.
      
      Since there might be a bunch of systems out there with static /dev
      contents that relies on the old numbering scheme, let's make it a
      build-time option with the default set to the previous 8.
      
      Also provide a boot/modprobe-time parameter to override the config
      default: mmcblk.perdev_minors.
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      Cc: Mandeep Baines <msb@chromium.org>
      Cc: <linux-mmc@vger.kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      5e71b7a6
  10. 23 10月, 2010 3 次提交
  11. 05 10月, 2010 1 次提交
    • A
      block: autoconvert trivial BKL users to private mutex · 2a48fc0a
      Arnd Bergmann 提交于
      The block device drivers have all gained new lock_kernel
      calls from a recent pushdown, and some of the drivers
      were already using the BKL before.
      
      This turns the BKL into a set of per-driver mutexes.
      Still need to check whether this is safe to do.
      
      file=$1
      name=$2
      if grep -q lock_kernel ${file} ; then
          if grep -q 'include.*linux.mutex.h' ${file} ; then
                  sed -i '/include.*<linux\/smp_lock.h>/d' ${file}
          else
                  sed -i 's/include.*<linux\/smp_lock.h>.*$/include <linux\/mutex.h>/g' ${file}
          fi
          sed -i ${file} \
              -e "/^#include.*linux.mutex.h/,$ {
                      1,/^\(static\|int\|long\)/ {
                           /^\(static\|int\|long\)/istatic DEFINE_MUTEX(${name}_mutex);
      
      } }"  \
          -e "s/\(un\)*lock_kernel\>[ ]*()/mutex_\1lock(\&${name}_mutex)/g" \
          -e '/[      ]*cycle_kernel_lock();/d'
      else
          sed -i -e '/include.*\<smp_lock.h\>/d' ${file}  \
                      -e '/cycle_kernel_lock()/d'
      fi
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      2a48fc0a
  12. 12 8月, 2010 1 次提交