summaryrefslogtreecommitdiffstats
path: root/arch/sparc64
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-04-27 05:59:52 +0200
committerDavid S. Miller <davem@davemloft.net>2008-04-27 06:41:20 +0200
commitdc8ca2a111c10f031346f6f8f82640d6bc0dd347 (patch)
treecba88c85a8fa8a98814d67f1f4d8807bfac08371 /arch/sparc64
parentsparc64: Kill ISA_FLOPPY_WORKS code. (diff)
downloadlinux-dc8ca2a111c10f031346f6f8f82640d6bc0dd347.tar.xz
linux-dc8ca2a111c10f031346f6f8f82640d6bc0dd347.zip
sparc64: Do not ignore 'pmu' device ranges.
I must have disabled this due to other bugs which were fixed over time. And this is needed in order for child devices of "pmu" to get proper resource values. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64')
-rw-r--r--arch/sparc64/kernel/of_device.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/sparc64/kernel/of_device.c b/arch/sparc64/kernel/of_device.c
index 9e58e8cba1c3..d569f60c24b8 100644
--- a/arch/sparc64/kernel/of_device.c
+++ b/arch/sparc64/kernel/of_device.c
@@ -412,12 +412,6 @@ static int __init build_one_resource(struct device_node *parent,
static int __init use_1to1_mapping(struct device_node *pp)
{
- /* If this is on the PMU bus, don't try to translate it even
- * if a ranges property exists.
- */
- if (!strcmp(pp->name, "pmu"))
- return 1;
-
/* If we have a ranges property in the parent, use it. */
if (of_find_property(pp, "ranges", NULL) != NULL)
return 0;