diff options
author | Andi Kleen <andi@firstfloor.org> | 2009-04-13 23:40:08 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-14 00:04:32 +0200 |
commit | 3d26dcf7679c5cc6c9f3b95ffdb2152fba2b7fae (patch) | |
tree | 4d2b6f5e36a20ed02021a1956b53a5ef6d6f8932 /virt | |
parent | at25: make input buffers of at25_*write() const (diff) | |
download | linux-3d26dcf7679c5cc6c9f3b95ffdb2152fba2b7fae.tar.xz linux-3d26dcf7679c5cc6c9f3b95ffdb2152fba2b7fae.zip |
kernel/sys.c: clean up sys_shutdown exit path
Impact: cleanup, fix
Clean up sys_shutdown() exit path. Factor out common code. Return
correct error code instead of always 0 on failure.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions