summaryrefslogtreecommitdiff
path: root/src/arch/x86/boot
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-10-05 14:34:17 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2014-10-11 04:08:42 +0200
commit0a66991a345f437e957ecc0ddeed70bc304d2a43 (patch)
tree58c9387203f87d7072a0cca03fa87a3dce920d27 /src/arch/x86/boot
parent334fd8e28b6f572dc8a82c7969696c6072709583 (diff)
downloadcoreboot-0a66991a345f437e957ecc0ddeed70bc304d2a43.tar.xz
acpi: Remove explicit pointer tracking in per-device ssdt.
It's useless and error-prone. Change-Id: Ie385e147d42b05290ab8c3ca193c5c871306f4ac Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/7018 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/arch/x86/boot')
-rw-r--r--src/arch/x86/boot/acpi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/x86/boot/acpi.c b/src/arch/x86/boot/acpi.c
index c4f5fca404..ea656664d9 100644
--- a/src/arch/x86/boot/acpi.c
+++ b/src/arch/x86/boot/acpi.c
@@ -281,8 +281,9 @@ void acpi_create_ssdt_generator(acpi_header_t *ssdt, const char *oem_table_id)
device_t dev;
for (dev = all_devices; dev; dev = dev->next)
if (dev->ops && dev->ops->acpi_fill_ssdt_generator) {
- current = dev->ops->acpi_fill_ssdt_generator(current, oem_table_id);
+ dev->ops->acpi_fill_ssdt_generator();
}
+ current = (unsigned long) acpigen_get_current();
#else
current = acpi_fill_ssdt_generator(current, oem_table_id);
#endif