1. 20 12月, 2007 1 次提交
  2. 23 10月, 2007 1 次提交
    • G
      ppc: fix AT_VECTOR_SIZE on arch/ppc · 3650b0a3
      Grant Likely 提交于
      Commit 4f9a58d7 ("increase
      AT_VECTOR_SIZE to terminate saved_auxv properly") changes the size of
      AT_VECTOR_SIZE from hard coded '44' to a calculation based on the value
      of AT_VECTOR_SIZE_ARCH and AT_VECTOR_SIZE_BASE.
      
      The change works for arch/powerpc, but it breaks arch/ppc because the
      needed AT_VECTOR_SIZE_ARCH is not present in include/asm-ppc/system.h
      and a default value of 0 is used instead.  This results in
      AT_VECTOR_SIZE being too small and it causes a kernel crash on loading
      init.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      3650b0a3
  3. 20 10月, 2007 1 次提交
  4. 19 10月, 2007 1 次提交
  5. 17 10月, 2007 4 次提交
  6. 22 9月, 2007 1 次提交
  7. 17 9月, 2007 1 次提交
  8. 14 9月, 2007 1 次提交
  9. 23 8月, 2007 1 次提交
  10. 17 8月, 2007 1 次提交
  11. 25 7月, 2007 2 次提交
  12. 22 7月, 2007 1 次提交
  13. 20 7月, 2007 1 次提交
  14. 18 7月, 2007 1 次提交
  15. 17 7月, 2007 1 次提交
  16. 12 7月, 2007 2 次提交
  17. 29 6月, 2007 5 次提交
  18. 17 6月, 2007 1 次提交
  19. 10 5月, 2007 2 次提交
    • K
      [POWERPC] User rheap from arch/powerpc/lib · b99ab6a8
      Kumar Gala 提交于
      Removed rheap in arch/ppc/lib and changed build system to use the
      one in arch/powerpc/lib.
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      b99ab6a8
    • T
      [POWERPC] Change rheap functions to use ulongs instead of pointers · 4c35630c
      Timur Tabi 提交于
      The rheap allocation functions return a pointer, but the actual value is based
      on how the heap was initialized, and so it can be anything, e.g. an offset
      into a buffer.  A ulong is a better representation of the value returned by
      the allocation functions.
      
      This patch changes all of the relevant rheap functions to use a unsigned long
      integers instead of a pointer.  In case of an error, the value returned is
      a negative error code that has been cast to an unsigned long.  The caller can
      use the IS_ERR_VALUE() macro to check for this.
      
      All code which calls the rheap functions is updated accordingly.  Macros
      IS_MURAM_ERR() and IS_DPERR(), have been deleted in favor of IS_ERR_VALUE().
      
      Also added error checking to rh_attach_region().
      Signed-off-by: NTimur Tabi <timur@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      4c35630c
  20. 09 5月, 2007 5 次提交
  21. 03 5月, 2007 1 次提交
    • J
      [PATCH] x86: PARAVIRT: add hooks to intercept mm creation and destruction · d6dd61c8
      Jeremy Fitzhardinge 提交于
      Add hooks to allow a paravirt implementation to track the lifetime of
      an mm.  Paravirtualization requires three hooks, but only two are
      needed in common code.  They are:
      
      arch_dup_mmap, which is called when a new mmap is created at fork
      
      arch_exit_mmap, which is called when the last process reference to an
        mm is dropped, which typically happens on exit and exec.
      
      The third hook is activate_mm, which is called from the arch-specific
      activate_mm() macro/function, and so doesn't need stub versions for
      other architectures.  It's called when an mm is first used.
      Signed-off-by: NJeremy Fitzhardinge <jeremy@xensource.com>
      Signed-off-by: NAndi Kleen <ak@suse.de>
      Cc: linux-arch@vger.kernel.org
      Cc: James Bottomley <James.Bottomley@SteelEye.com>
      Acked-by: NIngo Molnar <mingo@elte.hu>
      d6dd61c8
  22. 30 4月, 2007 2 次提交
  23. 13 4月, 2007 1 次提交
  24. 13 2月, 2007 1 次提交
  25. 10 2月, 2007 1 次提交