kernel/async.c: fix printk warnings
[linux-2.6-block.git] / kernel / kexec.c
index 3fb855ad6aa07fb5e03281aab28a1d163fb7686d..8a6d7b08864ea199108cae686adbe1a8886a56a5 100644 (file)
@@ -934,9 +934,8 @@ struct kimage *kexec_crash_image;
 
 static DEFINE_MUTEX(kexec_mutex);
 
-asmlinkage long sys_kexec_load(unsigned long entry, unsigned long nr_segments,
-                               struct kexec_segment __user *segments,
-                               unsigned long flags)
+SYSCALL_DEFINE4(kexec_load, unsigned long, entry, unsigned long, nr_segments,
+               struct kexec_segment __user *, segments, unsigned long, flags)
 {
        struct kimage **dest_image, *image;
        int result;