1. 09 6月, 2007 2 次提交
    • G
      m68knommu: fix ColdFire timer off by 1 · 4342f4ac
      Greg Ungerer 提交于
      The coldfire timer runs from 0 to TRR included, then 0 again and so on.  It
      counts thus actually TRR + 1 steps for 1 tick, not TRR.  Fix that.
      Signed-off-by: NPhilippe De Muyter <phdm@macqel.be>
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      4342f4ac
    • A
      update checkpatch.pl to version 0.03 · 4a0df2ef
      Andy Whitcroft 提交于
      This version brings a host of changes to cure false positives and
      bugs detected on patches submitted to lkml and -mm.  It also brings
      a number of new tests in response to reviews, of particular note:
      
        - catch use of volatile
        - allow deprecated functions to be listed in feature-removal-schedule.txt
        - warn about #ifdef's in c files
        - check that spinlock_t and struct mutex use is commented
        - report on architecture specific defines being used
        - report memory barriers without an associated comment
      
      Full changelog:
      
            catch use of volatile
            convert other quoted string checks to common routine
            alloc deprecated functions to be listed in feature-removal-schedule.txt
            split out the line length and indent for each line
            improve switch block handling
            handle GNU diff context lines with no leading space
            warn about #ifdef's in c files
            tidy up tests for signed-off-by using raw mode
            check that spinlock_t and struct mutex use is commented
            syntax checks for open brace placement may drop off the bottom of hunk
            report memory barriers without an associated comment
            when a sign off is present but ugly do not report it missing
            do not mistake bitfield definitions for indented labels
            report on architecture specific defines being used
            major update to the operator checks
            prevent switch/if/while etc matching foo_switch
            generify assignement in condition error message
            introduce an operator context marker
            Version: 0.03
      Signed-off-by: NAndy Whitcroft <apw@shadowen.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      4a0df2ef
  2. 08 6月, 2007 36 次提交
  3. 07 6月, 2007 2 次提交
    • L
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc · 143a2759
      Linus Torvalds 提交于
      * 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
        [POWERPC] Fix building of COFF zImages
        [POWERPC] spufs: Fix error handling in spufs_fill_dir()
        [POWERPC] Add table of contents to booting-without-of.txt
        [POWERPC] spufs: Don't yield nosched context
        [POWERPC] Fix typo in booting-without-of-txt section numbering
        [POWERPC] scc_sio: Fix link failure
        [POWERPC] cbe_cpufreq: Limit frequency via cpufreq notifier chain
        [POWERPC] Fix pci_setup_phb_io_dynamic for pci_iomap
        [POWERPC] spufs scheduler: Fix wakeup races
        [POWERPC] spufs: Synchronize pte invalidation vs ps close
        [POWERPC] spufs: Free mm if spufs_fill_dir() failed
        [POWERPC] spufs: Fix gang destroy leaks
        [POWERPC] spufs: Hook up spufs_release_mem
        [POWERPC] spufs: Refuse to load the module when not running on cell
        [POWERPC] pasemi: Fix iommu + 64K PAGE_SIZE bug
      143a2759
    • R
      Restrict clearing TIF_SIGPENDING · b74d0deb
      Roland McGrath 提交于
      This patch should get a few birds.  It prevents sigaction calls from
      clearing TIF_SIGPENDING in other threads, which could leak -ERESTART*.
      And It fixes ptrace_stop not to clear it, which done at the syscall exit
      stop could leak -ERESTART*.  It probably removes the harm from signalfd,
      at least assuming it never calls dequeue_signal on kernel threads that
      might have used block_all_signals.
      Signed-off-by: NRoland McGrath <roland@redhat.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      b74d0deb