aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-03-01 21:08:05 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2007-03-02 18:22:50 -0500
commit45bcca67ed6437815305fdef38f441358b6a7756 (patch)
treede80e6e5d00c547279c5378d2c3e68bf8c1bec6f /arch/sparc64
parentb85cdd490ac52ee039636f809b9b98b1300fcf3d (diff)
[SPARC]: Handle unresolvable resources better in of_device.c
Just leave them as zero if we couldn't calculate it. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64')
-rw-r--r--arch/sparc64/kernel/of_device.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sparc64/kernel/of_device.c b/arch/sparc64/kernel/of_device.c
index 1f4598524bdd..fb9bf1e4d036 100644
--- a/arch/sparc64/kernel/of_device.c
+++ b/arch/sparc64/kernel/of_device.c
@@ -636,9 +636,6 @@ static void __init build_device_resources(struct of_device *op,
636 r->start = result; 636 r->start = result;
637 r->end = result + size - 1; 637 r->end = result + size - 1;
638 r->flags = flags; 638 r->flags = flags;
639 } else {
640 r->start = ~0UL;
641 r->end = ~0UL;
642 } 639 }
643 r->name = op->node->name; 640 r->name = op->node->name;
644 } 641 }