@@ -24,7 +24,7 @@ acpi_system_wakeup_device_seq_show(struct seq_file *seq, void *offset)
{
struct list_head *node, *next;
- seq_printf(seq, "Device\tS-state\t Status Sysfs node\n");
+ seq_printf(seq, "Device\tS-state\tGPE\t Status Sysfs node\n");
mutex_lock(&acpi_device_lock);
list_for_each_safe(node, next, &acpi_wakeup_device_list) {
@@ -35,9 +35,10 @@ acpi_system_wakeup_device_seq_show(struct seq_file *seq, void *offset)
if (!dev->wakeup.flags.valid)
continue;
- seq_printf(seq, "%s\t S%d\t",
+ seq_printf(seq, "%s\t S%d\t%02x\t",
dev->pnp.bus_id,
- (u32) dev->wakeup.sleep_state);
+ (u32) dev->wakeup.sleep_state,
+ (u8) dev->wakeup.gpe_number);
mutex_lock(&dev->physical_node_lock);
This patch adds GPE wakeup number in /proc/acpi/wakeup. Signed-off-by: Lv Zheng <lv.zheng@intel.com> --- drivers/acpi/proc.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)