diff options
author | Rob Herring <rob.herring@calxeda.com> | 2013-09-07 15:11:58 -0400 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2013-10-09 21:04:08 -0400 |
commit | 32df8dca503f82c816f8be85a8d0a394a8b88c2c (patch) | |
tree | ef153aaa47f7d1864ff2a367c06200ac65e0518d /fs/proc/proc_devtree.c | |
parent | 0c3f061c195ceb891067b6de9e4ecc347c4dea31 (diff) |
of: remove HAVE_ARCH_DEVTREE_FIXUPS
HAVE_ARCH_DEVTREE_FIXUPS appears to always be needed except for sparc,
but it is only used for /proc/device-teee and sparc does not enable
/proc/device-tree. So this option is redundant. Remove the option and
always enable it. This has the side effect of fixing /proc/device-tree
on arches such as arm64 which failed to define this option.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Vineet Gupta <vgupta@synopsys.com>
Acked-by: Grant Likely <grant.likely@linaro.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: x86@kernel.org
Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'fs/proc/proc_devtree.c')
-rw-r--r-- | fs/proc/proc_devtree.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/proc/proc_devtree.c b/fs/proc/proc_devtree.c index 106a83570630..70779b2fc209 100644 --- a/fs/proc/proc_devtree.c +++ b/fs/proc/proc_devtree.c | |||
@@ -14,16 +14,13 @@ | |||
14 | #include <linux/of.h> | 14 | #include <linux/of.h> |
15 | #include <linux/export.h> | 15 | #include <linux/export.h> |
16 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
17 | #include <asm/prom.h> | ||
18 | #include <asm/uaccess.h> | 17 | #include <asm/uaccess.h> |
19 | #include "internal.h" | 18 | #include "internal.h" |
20 | 19 | ||
21 | static inline void set_node_proc_entry(struct device_node *np, | 20 | static inline void set_node_proc_entry(struct device_node *np, |
22 | struct proc_dir_entry *de) | 21 | struct proc_dir_entry *de) |
23 | { | 22 | { |
24 | #ifdef HAVE_ARCH_DEVTREE_FIXUPS | ||
25 | np->pde = de; | 23 | np->pde = de; |
26 | #endif | ||
27 | } | 24 | } |
28 | 25 | ||
29 | static struct proc_dir_entry *proc_device_tree; | 26 | static struct proc_dir_entry *proc_device_tree; |