From ff509b44010d161e8202ee4c0b6f3ca463672bca Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Sat, 16 May 2009 12:52:31 -0500 Subject: [PATCH] Enable power button event generation. Signed-off-by: Gleb Natapov Signed-off-by: Anthony Liguori --- rombios32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rombios32.c b/rombios32.c index d8f6d4e..d7e18e9 100644 --- a/rombios32.c +++ b/rombios32.c @@ -1763,8 +1763,8 @@ void acpi_bios_init(void) fadt->plvl3_lat = cpu_to_le16(0xfff); // C3 state not supported fadt->gpe0_blk = cpu_to_le32(0xafe0); fadt->gpe0_blk_len = 4; - /* WBINVD + PROC_C1 + PWR_BUTTON + SLP_BUTTON + FIX_RTC */ - fadt->flags = cpu_to_le32((1 << 0) | (1 << 2) | (1 << 4) | (1 << 5) | (1 << 6)); + /* WBINVD + PROC_C1 + SLP_BUTTON + FIX_RTC */ + fadt->flags = cpu_to_le32((1 << 0) | (1 << 2) | (1 << 5) | (1 << 6)); acpi_build_table_header((struct acpi_table_header *)fadt, "FACP", sizeof(*fadt), 1); -- 2.11.4.GIT