Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46355
b: refs/heads/master
c: fdffb72
h: refs/heads/master
i:
  46353: 1019990
  46351: c99b49f
v: v3
  • Loading branch information
Bob Moore authored and Len Brown committed Feb 3, 2007
1 parent f5c23a2 commit 5d4b925
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2502fffb1958da66fa50a475081cb6827acdd9f3
refs/heads/master: fdffb72d23172c91af56983f303d1986994df522
2 changes: 2 additions & 0 deletions trunk/drivers/acpi/events/evgpe.c
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,8 @@ acpi_ev_gpe_dispatch(struct acpi_gpe_event_info *gpe_event_info, u32 gpe_number)

ACPI_FUNCTION_TRACE(ev_gpe_dispatch);

acpi_gpe_count++;

/*
* If edge-triggered, clear the GPE status bit now. Note that
* level-triggered events are cleared after the GPE is serviced.
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/acpi/utilities/utglobal.c
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,7 @@ void acpi_ut_init_globals(void)

/* GPE support */

acpi_gpe_count = 0;
acpi_gbl_gpe_xrupt_list_head = NULL;
acpi_gbl_gpe_fadt_blocks[0] = NULL;
acpi_gbl_gpe_fadt_blocks[1] = NULL;
Expand Down Expand Up @@ -779,3 +780,4 @@ void acpi_ut_init_globals(void)

ACPI_EXPORT_SYMBOL(acpi_dbg_level)
ACPI_EXPORT_SYMBOL(acpi_dbg_layer)
ACPI_EXPORT_SYMBOL(acpi_gpe_count)
4 changes: 4 additions & 0 deletions trunk/include/acpi/acglobal.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ extern u32 acpi_dbg_layer;

extern u32 acpi_gbl_nesting_level;

/* Event counters */

ACPI_EXTERN u32 acpi_gpe_count;

/* Support for dynamic control method tracing mechanism */

ACPI_EXTERN u32 acpi_gbl_original_dbg_level;
Expand Down

0 comments on commit 5d4b925

Please sign in to comment.