projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
[linux-2.6-microblaze.git]
/
init
/
noinitramfs.c
diff --git
a/init/noinitramfs.c
b/init/noinitramfs.c
index
94cc4df
..
3d62b07
100644
(file)
--- a/
init/noinitramfs.c
+++ b/
init/noinitramfs.c
@@
-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;