Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
[linux-2.6-microblaze.git] / init / noinitramfs.c
index 94cc4df..3d62b07 100644 (file)
@@ -22,8 +22,7 @@ static int __init default_rootfs(void)
        if (err < 0)
                goto out;
 
-       err = ksys_mknod((const char __user __force *) "/dev/console",
-                       S_IFCHR | S_IRUSR | S_IWUSR,
+       err = init_mknod("/dev/console", S_IFCHR | S_IRUSR | S_IWUSR,
                        new_encode_dev(MKDEV(5, 1)));
        if (err < 0)
                goto out;