|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] xen/arm: use {DT,ACPI}_DEV_INFO for device info sections
commit 31f31b624ab655e45ea345aa62eecf62897be06d
Author: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
AuthorDate: Tue Oct 15 14:20:43 2024 +0200
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Tue Oct 15 14:20:43 2024 +0200
xen/arm: use {DT,ACPI}_DEV_INFO for device info sections
Refactor arm/xen.lds.S by replacing the inline definitions for
device info sections with the newly introduced {DT,ACPI}_DEV_INFO
macros from xen/xen.lds.h.
Change alignment of DT_DEV_INFO and ACPI_DEV_INFO sections from
8 to POINTER_ALIGN as struct acpi_device_desc and struct device_desc
don't have any uint64_t's so it is safe to do that.
Signed-off-by: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>
---
xen/arch/arm/xen.lds.S | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/xen/arch/arm/xen.lds.S b/xen/arch/arm/xen.lds.S
index 0987052f1a..5b9abc9a2d 100644
--- a/xen/arch/arm/xen.lds.S
+++ b/xen/arch/arm/xen.lds.S
@@ -124,20 +124,10 @@ SECTIONS
_eplatform = .;
} :text
- . = ALIGN(8);
- .dev.info : {
- _sdevice = .;
- *(.dev.info)
- _edevice = .;
- } :text
+ DT_DEV_INFO
#ifdef CONFIG_ACPI
- . = ALIGN(8);
- .adev.info : {
- _asdevice = .;
- *(.adev.info)
- _aedevice = .;
- } :text
+ ACPI_DEV_INFO
#endif
. = ALIGN(8);
--
generated by git-patchbot for /home/xen/git/xen.git#staging
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |