Skip to content

Commit 9256dac

Browse files
giuliobenettirafaeljw
authored andcommitted
ACPI: scan: substitute empty_zero_page with helper ZERO_PAGE(0)
Not all zero page implementations use empty_zero_page global pointer so let's substitute empty_zero_page occurence with helper ZERO_PAGE(0). Signed-off-by: Giulio Benetti <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 30a0b95 commit 9256dac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/acpi/scan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ extern struct acpi_device *acpi_root;
3030
#define ACPI_BUS_HID "LNXSYBUS"
3131
#define ACPI_BUS_DEVICE_NAME "System Bus"
3232

33-
#define INVALID_ACPI_HANDLE ((acpi_handle)empty_zero_page)
33+
#define INVALID_ACPI_HANDLE ((acpi_handle)ZERO_PAGE(0))
3434

3535
static const char *dummy_hid = "device";
3636

0 commit comments

Comments
 (0)