mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-05 12:56:08 +00:00
Fix acpidump(8) on ia64. Revision 1.13 introduced an uninitialized
variable bug that's hidden by the precense of the hint_acpi_0_rsdp hint on 386 and amd64. There's never a need for such hint on ia64. Approved by: re (kensmith)
This commit is contained in:
parent
c73743b6ce
commit
c44b9f1811
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171642
@ -166,6 +166,8 @@ acpi_find_rsd_ptr(void)
|
||||
|
||||
acpi_user_init();
|
||||
|
||||
addr = 0;
|
||||
|
||||
/* Attempt to use kenv or sysctl to find RSD PTR record. */
|
||||
if (kenv(KENV_GET, hint_acpi_0_rsdp, buf, 20) == 0)
|
||||
addr = strtoul(buf, NULL, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user