1. 03 7月, 2009 5 次提交
  2. 25 6月, 2009 2 次提交
    • R
      MIPS: Add arch generic CPU hotplug · 1b2bc75c
      Ralf Baechle 提交于
      Each platform has to add support for CPU hotplugging itself by providing
      suitable definitions for the cpu_disable and cpu_die of the smp_ops
      methods and setting SYS_SUPPORTS_HOTPLUG_CPU.  A platform should only set
      SYS_SUPPORTS_HOTPLUG_CPU once all it's smp_ops definitions have the
      necessary changes.  This patch contains the changes to the dummy smp_ops
      definition for uni-processor systems.
      
      Parts of the code contributed by Cavium Inc.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      1b2bc75c
    • R
      MIPS: Build fix - include <linux/smp.h> into all smp_processor_id() users. · 631330f5
      Ralf Baechle 提交于
      Some of the were relying into smp.h being dragged in by another header
      which of course is fragile.  <asm/cpu-info.h> uses smp_processor_id()
      only in macros and including smp.h there leads to an include loop, so
      don't change cpu-info.h.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      631330f5
  3. 17 6月, 2009 6 次提交
  4. 12 6月, 2009 1 次提交
  5. 08 6月, 2009 1 次提交
    • R
      MIPS: Outline udelay and fix a few issues. · 5636919b
      Ralf Baechle 提交于
      Outlining fixes the issue were on certain CPUs such as the R10000 family
      the delay loop would need an extra cycle if it overlaps a cacheline
      boundary.
      
      The rewrite also fixes build errors with GCC 4.4 which was changed in
      way incompatible with the kernel's inline assembly.
      
      Relying on pure C for computation of the delay value removes the need for
      explicit.  The price we pay is a slight slowdown of the computation - to
      be fixed on another day.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      5636919b
  6. 14 5月, 2009 3 次提交
  7. 28 4月, 2009 1 次提交
    • Y
      irq: change ->set_affinity() to return status · d5dedd45
      Yinghai Lu 提交于
      according to Ingo, change set_affinity() in irq_chip should return int,
      because that way we can handle failure cases in a much cleaner way, in
      the genirq layer.
      
      v2: fix two typos
      
      [ Impact: extend API ]
      Signed-off-by: NYinghai Lu <yinghai@kernel.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Suresh Siddha <suresh.b.siddha@intel.com>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Cc: linux-arch@vger.kernel.org
      LKML-Reference: <49F654E9.4070809@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      d5dedd45
  8. 22 4月, 2009 1 次提交
  9. 03 4月, 2009 2 次提交
  10. 30 3月, 2009 8 次提交
  11. 28 3月, 2009 1 次提交
    • C
      generic compat_sys_ustat · 2b1c6bd7
      Christoph Hellwig 提交于
      Due to a different size of ino_t ustat needs a compat handler, but
      currently only x86 and mips provide one.  Add a generic compat_sys_ustat
      and switch all architectures over to it.  Instead of doing various
      user copy hacks compat_sys_ustat just reimplements sys_ustat as
      it's trivial.  This was suggested by Arnd Bergmann.
      
      Found by Eric Sandeen when running xfstests/017 on ppc64, which causes
      stack smashing warnings on RHEL/Fedora due to the too large amount of
      data writen by the syscall.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      2b1c6bd7
  12. 24 3月, 2009 2 次提交
  13. 12 3月, 2009 2 次提交
  14. 28 2月, 2009 2 次提交
  15. 31 1月, 2009 3 次提交