summaryrefslogtreecommitdiffstats
path: root/fs/proc/root.c
diff options
context:
space:
mode:
authorGrant Likely2012-11-06 22:03:27 +0100
committerGrant Likely2014-03-11 21:48:32 +0100
commit8357041a69b368991d1b04d9f1d297f8d71e1314 (patch)
tree54bc523897eb6c72a95d06efea5c64833fbb51a4 /fs/proc/root.c
parentof/selftest: Add self tests for manipulation of properties (diff)
downloadkernel-qcow2-linux-8357041a69b368991d1b04d9f1d297f8d71e1314.tar.gz
kernel-qcow2-linux-8357041a69b368991d1b04d9f1d297f8d71e1314.tar.xz
kernel-qcow2-linux-8357041a69b368991d1b04d9f1d297f8d71e1314.zip
of: remove /proc/device-tree
The same data is now available in sysfs, so we can remove the code that exports it in /proc and replace it with a symlink to the sysfs version. Tested on versatile qemu model and mpc5200 eval board. More testing would be appreciated. v5: Fixed up conflicts with mainline changes Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Cc: Rob Herring <rob.herring@calxeda.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: David S. Miller <davem@davemloft.net> Cc: Nathan Fontenot <nfont@linux.vnet.ibm.com> Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Diffstat (limited to 'fs/proc/root.c')
-rw-r--r--fs/proc/root.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/proc/root.c b/fs/proc/root.c
index 87dbcbef7fe4..7bbeb5257af1 100644
--- a/fs/proc/root.c
+++ b/fs/proc/root.c
@@ -183,9 +183,6 @@ void __init proc_root_init(void)
proc_mkdir("openprom", NULL);
#endif
proc_tty_init();
-#ifdef CONFIG_PROC_DEVICETREE
- proc_device_tree_init();
-#endif
proc_mkdir("bus", NULL);
proc_sys_init();
}