diff options
Diffstat (limited to 'arch/sparc64/kernel/of_device.c')
-rw-r--r-- | arch/sparc64/kernel/of_device.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/of_device.c b/arch/sparc64/kernel/of_device.c index 3670dc8a7d5f..169b017eec0b 100644 --- a/arch/sparc64/kernel/of_device.c +++ b/arch/sparc64/kernel/of_device.c | |||
@@ -602,6 +602,9 @@ static void __init build_device_resources(struct of_device *op, | |||
602 | build_res: | 602 | build_res: |
603 | memset(r, 0, sizeof(*r)); | 603 | memset(r, 0, sizeof(*r)); |
604 | if (result != OF_BAD_ADDR) { | 604 | if (result != OF_BAD_ADDR) { |
605 | if (tlb_type == hypervisor) | ||
606 | result &= 0x0fffffffffffffffUL; | ||
607 | |||
605 | r->start = result; | 608 | r->start = result; |
606 | r->end = result + size - 1; | 609 | r->end = result + size - 1; |
607 | r->flags = flags; | 610 | r->flags = flags; |