git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4af65b
)
acpi: Mark struct acpi_rsdp as packed
author
Simon Glass
<sjg@chromium.org>
Sat, 15 Mar 2025 14:25:57 +0000
(14:25 +0000)
committer
Tom Rini
<trini@konsulko.com>
Thu, 3 Apr 2025 17:41:55 +0000
(11:41 -0600)
At present the size of this struct is too large on 64-bit machines.
Annotate it with __packed to fix this.
Signed-off-by: Simon Glass <sjg@chromium.org>
include/acpi/acpi_table.h
patch
|
blob
|
history
diff --git
a/include/acpi/acpi_table.h
b/include/acpi/acpi_table.h
index
b8b1f13
..
8ef19ad
100644
(file)
--- a/
include/acpi/acpi_table.h
+++ b/
include/acpi/acpi_table.h
@@
-36,7
+36,7
@@
struct acpi_ctx;
* RSDP (Root System Description Pointer)
* Note: ACPI 1.0 didn't have length, xsdt_address, and ext_checksum
*/
-struct acpi_rsdp {
+struct
__packed
acpi_rsdp {
char signature[8]; /* RSDP signature */
u8 checksum; /* Checksum of the first 20 bytes */
char oem_id[6]; /* OEM ID */