Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231248
b: refs/heads/master
c: 9a1fe2f
h: refs/heads/master
v: v3
  • Loading branch information
Rafael J. Wysocki authored and Linus Torvalds committed Jan 14, 2011
1 parent 32b0d35 commit c112522
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6ab82196492a0b6968a654a06aae923b28afef0d
refs/heads/master: 9a1fe2f27f71dd275caf2be5be2fa59bd2a3f8d4
2 changes: 2 additions & 0 deletions trunk/drivers/acpi/acpica/acglobal.h
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,10 @@ ACPI_EXTERN u8 acpi_gbl_global_lock_present;
*/
ACPI_EXTERN spinlock_t _acpi_gbl_gpe_lock; /* For GPE data structs and registers */
ACPI_EXTERN spinlock_t _acpi_gbl_hardware_lock; /* For ACPI H/W except GPE registers */
ACPI_EXTERN spinlock_t _acpi_ev_global_lock_pending_lock; /* For global lock */
#define acpi_gbl_gpe_lock &_acpi_gbl_gpe_lock
#define acpi_gbl_hardware_lock &_acpi_gbl_hardware_lock
#define acpi_ev_global_lock_pending_lock &_acpi_ev_global_lock_pending_lock

/*****************************************************************************
*
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/acpi/acpica/evmisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,6 @@ static void ACPI_SYSTEM_XFACE acpi_ev_notify_dispatch(void *context)
*
******************************************************************************/
static u8 acpi_ev_global_lock_pending;
static spinlock_t _acpi_ev_global_lock_pending_lock;
#define acpi_ev_global_lock_pending_lock &_acpi_ev_global_lock_pending_lock

static u32 acpi_ev_global_lock_handler(void *context)
{
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/acpi/acpica/utmutex.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ acpi_status acpi_ut_mutex_initialize(void)

spin_lock_init(acpi_gbl_gpe_lock);
spin_lock_init(acpi_gbl_hardware_lock);
spin_lock_init(acpi_ev_global_lock_pending_lock);

/* Mutex for _OSI support */
status = acpi_os_create_mutex(&acpi_gbl_osi_mutex);
Expand Down

0 comments on commit c112522

Please sign in to comment.