summaryrefslogtreecommitdiff
path: root/kernel/sys.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-02-01 05:57:32 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2006-02-07 20:57:47 -0500
commit4bb8089c86b95b4f6bbd839cb83ca4556b06a031 (patch)
tree86069d7b4063f30a37ece5c27372b8a4414f1ede /kernel/sys.c
parent53f087febfd12e74ba9f1082e71e9a45adc039ad (diff)
downloadlwn-4bb8089c86b95b4f6bbd839cb83ca4556b06a031.tar.gz
lwn-4bb8089c86b95b4f6bbd839cb83ca4556b06a031.zip
[PATCH] kernel/sys.c NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/sys.c')
-rw-r--r--kernel/sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sys.c b/kernel/sys.c
index 0929c698affc..f91218a5463e 100644
--- a/kernel/sys.c
+++ b/kernel/sys.c
@@ -428,7 +428,7 @@ void kernel_kexec(void)
{
#ifdef CONFIG_KEXEC
struct kimage *image;
- image = xchg(&kexec_image, 0);
+ image = xchg(&kexec_image, NULL);
if (!image) {
return;
}