[Xen-devel,v3,05/62] acpi: Don't do traditional BIOS table scan for ARM64

Message ID 1447753261-7552-6-git-send-email-shannon.zhao@linaro.org
State New
Headers show

Commit Message

Shannon Zhao Nov. 17, 2015, 9:40 a.m.
From: Shannon Zhao <shannon.zhao@linaro.org>


With the addition of ARM64 that does not have a traditional BIOS to
scan, add a #ifdef option for x86 to do the traditional BIOS scanning
for tables.

Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>

---
 xen/drivers/acpi/osl.c | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.1.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Patch hide | download patch | download mbox

diff --git a/xen/drivers/acpi/osl.c b/xen/drivers/acpi/osl.c
index ce15470..db74a90 100644
--- a/xen/drivers/acpi/osl.c
+++ b/xen/drivers/acpi/osl.c
@@ -78,7 +78,9 @@  acpi_physical_address __init acpi_os_get_root_pointer(void)
 	} else {
 		acpi_physical_address pa = 0;
 
+		#ifdef CONFIG_X86
 		acpi_find_root_pointer(&pa);
+		#endif
 		return pa;
 	}
 }