• 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
uaccess-tt.h 1.5 KB