patch-2.4.0-prerelease linux/drivers/acpi/hardware/hwgpe.c
Next file: linux/drivers/acpi/hardware/hwregs.c
Previous file: linux/drivers/acpi/hardware/hwcpu32.c
Back to the patch index
Back to the overall index
- Lines: 55
- Date:
Fri Dec 29 14:07:21 2000
- Orig file:
v2.4.0-test12/linux/drivers/acpi/hardware/hwgpe.c
- Orig date:
Sun Oct 8 10:50:14 2000
diff -u --recursive --new-file v2.4.0-test12/linux/drivers/acpi/hardware/hwgpe.c linux/drivers/acpi/hardware/hwgpe.c
@@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: hwgpe - Low level GPE enable/disable/clear functions
- * $Revision: 22 $
+ * $Revision: 25 $
*
*****************************************************************************/
@@ -32,9 +32,6 @@
MODULE_NAME ("hwgpe")
-u8 decode_to8bit [8] = {1,2,4,8,16,32,64,128};
-
-
/******************************************************************************
*
* FUNCTION: Acpi_hw_enable_gpe
@@ -63,7 +60,7 @@
/*
* Figure out the bit offset for this GPE within the target register.
*/
- bit_mask = decode_to8bit [MOD_8 (gpe_number)];
+ bit_mask = acpi_gbl_decode_to8bit [MOD_8 (gpe_number)];
/*
* Read the current value of the register, set the appropriate bit
@@ -103,7 +100,7 @@
/*
* Figure out the bit offset for this GPE within the target register.
*/
- bit_mask = decode_to8bit [MOD_8 (gpe_number)];
+ bit_mask = acpi_gbl_decode_to8bit [MOD_8 (gpe_number)];
/*
* Read the current value of the register, clear the appropriate bit,
@@ -142,7 +139,7 @@
/*
* Figure out the bit offset for this GPE within the target register.
*/
- bit_mask = decode_to8bit [MOD_8 (gpe_number)];
+ bit_mask = acpi_gbl_decode_to8bit [MOD_8 (gpe_number)];
/*
* Write a one to the appropriate bit in the status register to
@@ -187,7 +184,7 @@
/*
* Figure out the bit offset for this GPE within the target register.
*/
- bit_mask = decode_to8bit [MOD_8 (gpe_number)];
+ bit_mask = acpi_gbl_decode_to8bit [MOD_8 (gpe_number)];
/*
* Enabled?:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)