1. 18 7月, 2007 3 次提交
  2. 17 7月, 2007 2 次提交
  3. 12 7月, 2007 2 次提交
  4. 01 6月, 2007 3 次提交
    • J
      ALPHA: misc fixes · d7083174
      Jay Estabrook 提交于
      1. arch/alpha/Kconfig
      
         several adjustments:
            a) additions to the systems list and cleanup of same
            b) change limits of NR_CPUS and make dep. on platform
      
         Note that MARVEL support is limited to 32 CPUs whan using
         42-bit KSEG - one needs 48-bit KSEG to handle up to 64, and
         we've never supported 48-bit KSEG.
      
      2. include/asm-alpha/core_wildfire.h
      
         fix a typo that undoubtedly prevents WILDFIRE support
         from working
      Signed-off-by: NIvan Kokshaysky <ink@jurassic.park.msu.ru>
      Cc: Richard Henderson <rth@twiddle.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      d7083174
    • J
      ALPHA: correct low-level I/O routines for sable-lynx · 5ae0b6c7
      Jay Estabrook 提交于
      This code corrects the behavior of the t2_readX/t2_writeX routines,
      and t2_ioreadNN/t2_iowriteNN routines.
      
      The value T2_DENSE_MEM is now subtracted from the "xaddr" argument in
      each of the readX/writeX routines, since those routines may be called
      directly, rather than always through the ioreadNN/iowriteNN routines.
      
      Examples of the direct calls, via the __raw_readX/writeX macros, are
      the memcpy_fromio/toio, _memset_c_io, and scr_memcpyw routines.
      Signed-off-by: NJay Estabrook <jay.estabrook@hp.com>
      Signed-off-by: NIvan Kokshaysky <ink@jurassic.park.msu.ru>
      Cc: Richard Henderson <rth@twiddle.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      5ae0b6c7
    • J
      ALPHA: support graphics on non-zero PCI domains · 025a2215
      Jay Estabrook 提交于
      This code replaces earlier and incomplete handling of graphics on non-zero PCI
      domains (aka hoses or peer PCI buses).
      
      An option (CONFIG_VGA_HOSE) is set TRUE if configuring a GENERIC kernel, or a
      kernel for MARVEL, TITAN, or TSUNAMI machines, as these are the machines whose
      SRM consoles are capable of configuring and handling graphics options on
      non-zero hoses.  All other machines have the option set FALSE.
      
      A routine, "find_console_vga_hose()", is used to find the graphics device
      which the machine's firmware believes is the console device, and it sets a
      global (pci_vga_hose) for later use in managing access to the device.  This is
      called in "init_arch" on TITAN and TSUNAMI machines; MARVEL machines use a
      custom version of this routine because of extra complexity.
      
      A routine, "locate_and_init_vga()", is used to find the graphics device and
      set a global (pci_vga_hose) for later use in managing access to the device, in
      the case where "find_console_vga_hose" has failed.
      
      Various adjustments are made to the ioremap and ioportmap routines for
      detecting and translating "legacy" VGA register and memory references to the
      real PCI domain.
      
      [akpm@linux-foundation.org: don't statically init bss]
      [akpm@linux-foundation.org: build fix]
      Signed-off-by: NJay Estabrook <jay.estabrook@hp.com>
      Signed-off-by: NIvan Kokshaysky <ink@jurassic.park.msu.ru>
      Cc: Richard Henderson <rth@twiddle.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      025a2215
  5. 31 5月, 2007 2 次提交
  6. 15 5月, 2007 1 次提交
    • S
      alpha: fix hard_smp_processor_id compile error · 0fcdf96c
      Simon Horman 提交于
      "Remove hardcoding of hard_smp_processor_id on UP systems",
      2f4dfe20 in Linus' tree, moved
      the definition of hard_smp_processor_id linux/smp.h to asm/smp.h
      for UP systems. This causes a regression on Alpha.
      
      cc1: warnings being treated as errors
      arch/alpha/kernel/setup.c: In function 'setup_arch':
      arch/alpha/kernel/setup.c:506: warning: implicit declaration of function 'hard_smp_processor_id'
      make[1]: *** [arch/alpha/kernel/setup.o] error 1
      make: *** [arch/alpha/kernel] error 2
      
      By including asm/smp.h non-conditionally in asm/mmu_context.h
      the problem appears to be resolved.
      
      Cc: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
      Signed-off-by: NSimon Horman <horms@verge.net.au>
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      0fcdf96c
  7. 11 5月, 2007 1 次提交
  8. 10 5月, 2007 2 次提交
    • R
      rename thread_info to stack · f7e4217b
      Roman Zippel 提交于
      This finally renames the thread_info field in task structure to stack, so that
      the assumptions about this field are gone and archs have more freedom about
      placing the thread_info structure.
      
      Nonbroken archs which have a proper thread pointer can do the access to both
      current thread and task structure via a single pointer.
      
      It'll allow for a few more cleanups of the fork code, from which e.g.  ia64
      could benefit.
      Signed-off-by: NRoman Zippel <zippel@linux-m68k.org>
      [akpm@linux-foundation.org: build fix]
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Ian Molton <spyro@f2s.com>
      Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: David Howells <dhowells@redhat.com>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Cc: Hirokazu Takata <takata@linux-m32r.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Cc: Greg Ungerer <gerg@uclinux.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
      Cc: Richard Curnow <rc@rc0.org.uk>
      Cc: William Lee Irwin III <wli@holomorphy.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jeff Dike <jdike@addtoit.com>
      Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      Cc: Miles Bader <uclinux-v850@lsi.nec.co.jp>
      Cc: Andi Kleen <ak@muc.de>
      Cc: Chris Zankel <chris@zankel.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f7e4217b
    • F
      Remove hardcoding of hard_smp_processor_id on UP systems · 2f4dfe20
      Fernando Luis Vazquez Cao 提交于
      With the advent of kdump, the assumption that the boot CPU when booting an UP
      kernel is always the CPU with a particular hardware ID (often 0) (usually
      referred to as BSP on some architectures) is not valid anymore.  The reason
      being that the dump capture kernel boots on the crashed CPU (the CPU that
      invoked crash_kexec), which may be or may not be that particular CPU.
      
      Move definition of hard_smp_processor_id for the UP case to
      architecture-specific code ("asm/smp.h") where it belongs, so that each
      architecture can provide its own implementation.
      Signed-off-by: NFernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Acked-by: NAndi Kleen <ak@suse.de>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      Cc: Vivek Goyal <vgoyal@in.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      2f4dfe20
  9. 09 5月, 2007 6 次提交
  10. 08 5月, 2007 1 次提交
  11. 03 5月, 2007 3 次提交
  12. 26 4月, 2007 3 次提交
  13. 18 4月, 2007 2 次提交
  14. 12 2月, 2007 3 次提交
  15. 10 2月, 2007 1 次提交
  16. 08 2月, 2007 1 次提交
  17. 04 2月, 2007 1 次提交
  18. 31 1月, 2007 2 次提交
  19. 12 1月, 2007 1 次提交
    • A
      [PATCH] FD_ZERO build fix · aae7d14f
      Andrew Morton 提交于
      unionfs managed to hit this on s390.  Some architectures use __ptr_t in their
      FD_ZERO implementation.  We don't have a __ptr_t.  Switch them over to plain
      old void*.
      
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      aae7d14f