Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=45bcca67ed6437815305fdef38f441358b6a7756 Commit: 45bcca67ed6437815305fdef38f441358b6a7756 Parent: b85cdd490ac52ee039636f809b9b98b1300fcf3d Author: David S. Miller <[EMAIL PROTECTED]> AuthorDate: Thu Mar 1 18:08:05 2007 -0800 Committer: David S. Miller <[EMAIL PROTECTED]> CommitDate: Fri Mar 2 15:22:50 2007 -0800
[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 <[EMAIL PROTECTED]> --- arch/sparc/kernel/of_device.c | 3 --- arch/sparc64/kernel/of_device.c | 3 --- 2 files changed, 0 insertions(+), 6 deletions(-) diff --git a/arch/sparc/kernel/of_device.c b/arch/sparc/kernel/of_device.c index 798b140..48c24f7 100644 --- a/arch/sparc/kernel/of_device.c +++ b/arch/sparc/kernel/of_device.c @@ -550,9 +550,6 @@ static void __init build_device_resources(struct of_device *op, r->start = result & 0xffffffff; r->end = result + size - 1; r->flags = flags | ((result >> 32ULL) & 0xffUL); - } else { - r->start = ~0UL; - r->end = ~0UL; } r->name = op->node->name; } diff --git a/arch/sparc64/kernel/of_device.c b/arch/sparc64/kernel/of_device.c index 1f45985..fb9bf1e 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, r->start = result; r->end = result + size - 1; r->flags = flags; - } else { - r->start = ~0UL; - r->end = ~0UL; } r->name = op->node->name; } - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html