1. 23 10月, 2008 1 次提交
  2. 13 5月, 2008 1 次提交
  3. 17 7月, 2007 1 次提交
    • J
      uml: Eliminate kernel allocator wrappers · e4c4bf99
      Jeff Dike 提交于
      UML had two wrapper procedures for kmalloc, um_kmalloc and um_kmalloc_atomic
      because the flag constants weren't available in userspace code.
      kern_constants.h had made kernel constants available for a long time, so there
      is no need for these wrappers any more.  Rather, userspace code calls kmalloc
      directly with the userspace versions of the gfp flags.
      
      kmalloc isn't a real procedure, so I had to essentially copy the inline
      wrapper around __kmalloc.
      
      vmalloc also had its own wrapper for no good reason.  This is now gone.
      Signed-off-by: NJeff Dike <jdike@linux.intel.com>
      Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e4c4bf99
  4. 08 5月, 2007 1 次提交
    • J
      uml: tidy process.c · 6e21aec3
      Jeff Dike 提交于
      Clean up arch/um/kernel/process.c:
      
      - lots of return(x); -> return x; conversions
      
      - a number of the small functions are either unused, in which case they are
        gone, along any declarations in a header, or could be made static.
      
      - current_pid is ifdefed on CONFIG_MODE_TT and its declaration is ifdefed on
        both CONFIG_MODE_TT and UML_CONFIG_MODE_TT because we don't know whether
        it's being used in a userspace or kernel file.
      Signed-off-by: NJeff Dike <jdike@linux.intel.com>
      Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6e21aec3
  5. 21 10月, 2006 1 次提交