1. 17 3月, 2011 1 次提交
    • S
      sparc32,sun4d: irq, smp files cleanup · e54f8548
      Sam Ravnborg 提交于
      - drop filename in file header
      - drop unused includes
      - add description of sun4d interrupts (from davem)
      - add KERN_* to printk
      - fix spaces => tabs
      - add spaces after reserved words
      - fix indent of a whole code block in smp4d_boot_one_cpu()
        Note: two printk() was updated from debug to KERN_INFO in this code block
      - drop all externs, they are now in header files
      
      This is partly based on a patch from: David Miller <davem@davemloft.net>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e54f8548
  2. 13 2月, 2010 1 次提交
  3. 19 8月, 2009 1 次提交
    • D
      sparc32: Kill trap table freeing code. · a9919646
      David S. Miller 提交于
      Normally, srmmu uses different trap table register values to allow
      determination of the cpu we're on.  All of the trap tables have
      identical content, they just sit at different offsets from the first
      trap table, and the offset shifted down and masked out determines
      the cpu we are on.
      
      The code tries to free them up when they aren't actually used
      (don't have all 4 cpus, we're on sun4d, etc.) but that causes
      problems.
      
      For one thing it triggers false positives in the DMA debugging
      code.  And fixing that up while preserving this relative offset
      thing isn't trivial.
      
      So just kill the freeing code, it costs us at most 3 pages, big
      deal...
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a9919646
  4. 16 3月, 2009 2 次提交
  5. 09 1月, 2009 1 次提交
  6. 01 12月, 2008 1 次提交
  7. 13 10月, 2008 1 次提交
    • R
      sparc32: fix build errors · 4245e59d
      Robert Reif 提交于
      arch/sparc/kernel/sun4d_smp.c: In function ‘smp4d_callin’:
      arch/sparc/kernel/sun4d_smp.c:101: error: implicit declaration of function ‘notify_cpu_starting’
      arch/sparc/kernel/sun4m_smp.c: In function ‘smp4m_callin’:
      arch/sparc/kernel/sun4m_smp.c:74: error: implicit declaration of function ‘notify_cpu_starting’
      Signed-off-by: NRobert Reif <reif@earthlink.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4245e59d
  8. 09 9月, 2008 2 次提交
  9. 29 8月, 2008 1 次提交
  10. 28 8月, 2008 1 次提交
  11. 29 4月, 2008 1 次提交
  12. 07 2月, 2008 1 次提交
    • A
      calibrate_delay() must be __cpuinit · 6c81c32f
      Adrian Bunk 提交于
      calibrate_delay() must be __cpuinit, not __{dev,}init.
      
      I've verified that this is correct for all users.
      
      While doing the latter, I also did the following cleanups:
      - remove pointless additional prototypes in C files
      - ensure all users #include <linux/delay.h>
      
      This fixes the following section mismatches with CONFIG_HOTPLUG=n,
      CONFIG_HOTPLUG_CPU=y:
      
      WARNING: vmlinux.o(.text+0x1128d): Section mismatch: reference to .init.text.1:calibrate_delay (between 'check_cx686_slop' and 'set_cx86_reorder')
      WARNING: vmlinux.o(.text+0x25102): Section mismatch: reference to .init.text.1:calibrate_delay (between 'smp_callin' and 'cpu_coregroup_map')
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Christian Zankel <chris@zankel.net>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6c81c32f
  13. 22 7月, 2007 1 次提交
  14. 09 5月, 2007 1 次提交
  15. 02 2月, 2007 1 次提交
  16. 09 10月, 2006 1 次提交
  17. 27 8月, 2006 1 次提交
  18. 22 7月, 2006 1 次提交
  19. 24 3月, 2006 1 次提交
    • B
      [SPARC]: Try to start getting SMP back into shape. · a54123e2
      Bob Breuer 提交于
      Todo items:
       - IRQ_INPROGRESS flag - use sparc64 irq buckets, or generic irq_desc?
       - sun4d
       - re-indent large chunks of sun4m_smp.c
       - some places assume sequential cpu numbering (i.e. 0,1 instead of 0,2)
      
      Last I checked (with 2.6.14), random programs segfault with dual
      HyperSPARC.  And with SuperSPARC II's, it seems stable but will
      eventually die from a write lock error (wrong lock owner or something).
      
      I haven't tried the HyperSPARC + highmem combination recently, so that
      may still be a problem.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a54123e2
  20. 23 3月, 2006 1 次提交
    • A
      [PATCH] more for_each_cpu() conversions · 394e3902
      Andrew Morton 提交于
      When we stop allocating percpu memory for not-possible CPUs we must not touch
      the percpu data for not-possible CPUs at all.  The correct way of doing this
      is to test cpu_possible() or to use for_each_cpu().
      
      This patch is a kernel-wide sweep of all instances of NR_CPUS.  I found very
      few instances of this bug, if any.  But the patch converts lots of open-coded
      test to use the preferred helper macros.
      
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: David Howells <dhowells@redhat.com>
      Acked-by: NKyle McMartin <kyle@parisc-linux.org>
      Cc: Anton Blanchard <anton@samba.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: William Lee Irwin III <wli@holomorphy.com>
      Cc: Andi Kleen <ak@muc.de>
      Cc: Christian Zankel <chris@zankel.net>
      Cc: Philippe Elie <phil.el@wanadoo.fr>
      Cc: Nathan Scott <nathans@sgi.com>
      Cc: Jens Axboe <axboe@suse.de>
      Cc: Eric Dumazet <dada1@cosmosbay.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      394e3902
  21. 22 3月, 2006 1 次提交
  22. 13 1月, 2006 1 次提交
  23. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4