diff options
author | Geoff Levand <geoff@infradead.org> | 2015-02-17 13:45:53 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-17 14:34:51 -0800 |
commit | 518a0c716377e5f2c6d22957a5937ec5f328ead1 (patch) | |
tree | cb885aaddb934579ba4f65029b8eb8aae8d94193 /tools | |
parent | 9dc5c05f45ca8101025046cda7f8aca8835204f2 (diff) | |
download | op-kernel-dev-518a0c716377e5f2c6d22957a5937ec5f328ead1.zip op-kernel-dev-518a0c716377e5f2c6d22957a5937ec5f328ead1.tar.gz |
kexec: simplify conditional
Simplify the code around one of the conditionals in the kexec_load syscall
routine.
The original code was confusing with a redundant check on KEXEC_ON_CRASH
and comments outside of the conditional block. This change switches the
order of the conditional check, and cleans up the comments for the
conditional. There is no functional change to the code.
Signed-off-by: Geoff Levand <geoff@infradead.org>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Maximilian Attems <max@stro.at>
Cc: Michal Marek <mmarek@suse.cz>
Cc: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions