1. 21 8月, 2009 1 次提交
  2. 20 8月, 2009 6 次提交
  3. 19 8月, 2009 26 次提交
  4. 18 8月, 2009 7 次提交
    • T
      genirq: Wake up irq thread after action has been installed · 69ab8494
      Thomas Gleixner 提交于
      The wake_up_process() of the new irq thread in __setup_irq() is too
      early as the irqaction is not yet fully initialized especially
      action->irq is not yet set. The interrupt thread might dereference the
      wrong irq descriptor.
      
      Move the wakeup after the action is installed and action->irq has been
      set.
      Reported-by: NMichael Buesch <mb@bu3sch.de>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Tested-by: NMichael Buesch <mb@bu3sch.de>
      69ab8494
    • I
      perf annotate: Fix segmentation fault · 15f3fa4e
      Ingo Molnar 提交于
      Linus reported this perf annotate segfault:
      
              [torvalds@nehalem git]$ perf annotate unmap_vmas
              Segmentation fault
      
             	#0  map__clone (self=<value optimized out>) at builtin-annotate.c:236
             	#1  thread__fork (self=<value optimized out>) at builtin-annotate.c:372
      
      The bug here was that builtin-annotate.c was a copy of
      builtin-report.c and a threading related fix to builtin-report.c
      didnt get propagated to builtin-annotate.c ...
      Reported-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Mike Galbraith <efault@gmx.de>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      LKML-Reference: <new-submission>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      15f3fa4e
    • I
      perf_counter: Fix the PARISC build · f738eb1b
      Ingo Molnar 提交于
      PARISC does not build:
      
      /home/mingo/tip/kernel/perf_counter.c: In function 'perf_counter_index':
      /home/mingo/tip/kernel/perf_counter.c:2016: error: 'PERF_COUNTER_INDEX_OFFSET' undeclared (first use in this function)
      /home/mingo/tip/kernel/perf_counter.c:2016: error: (Each undeclared identifier is reported only once
      /home/mingo/tip/kernel/perf_counter.c:2016: error: for each function it appears in.)
      
      As PERF_COUNTER_INDEX_OFFSET is not defined.
      
      Now, we could define it in the architecture - but lets also provide
      a core default of 0 (which happens to be what all but one
      architecture uses at the moment).
      
      Architectures that need a different index offset should set this
      value in their asm/perf_counter.h files.
      
      Cc: Kyle McMartin <kyle@mcmartin.ca>
      Cc: Helge Deller <deller@gmx.de>
      Cc: linux-parisc@vger.kernel.org
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Mike Galbraith <efault@gmx.de>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      LKML-Reference: <new-submission>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      f738eb1b
    • M
      microblaze: Update Microblaze defconfigs · 1fef7891
      Michal Simek 提交于
      Signed-off-by: NMichal Simek <monstr@monstr.eu>
      1fef7891
    • M
      microblaze: Use klimit instead of _end for memory init · 8f37b6c9
      Michal Simek 提交于
      For noMMU system when you use larger rootfs image
      there is problem with using _end label because
      we increase klimit but in memory initialization
      we use still _end which is wrong. Larger mtd rootfs
      was rewritten by init_bootmem_node.
      
      MMU kernel use static initialization where klimit
      is setup to _end. There is no any other hanling
      with klimit.
      Signed-off-by: NMichal Simek <monstr@monstr.eu>
      8f37b6c9
    • M
      microblaze: Enable ppoll syscall · 2856ed35
      Michal Simek 提交于
      Signed-off-by: NMichal Simek <monstr@monstr.eu>
      2856ed35
    • J
      microblaze: Sane handling of missing timer/intc in device tree · 892ee92b
      John Williams 提交于
      This code path doesn't test any returned pointers for NULL, leading to a bad
      kernel page fault if there's no timer/intc found.
      
      Slightly better is to BUG(), but even better still would be a printk beforehand.
      Signed-off-by: NJohn Williams <john.williams@petalogix.com>
      Signed-off-by: NMichal Simek <monstr@monstr.eu>
      892ee92b