adam richter's patch to fix BitGranularity = 32

date	2001.02.01.17.48.00;	author agrover;	state Exp;
This commit is contained in:
aystarik 2005-06-29 17:28:31 +00:00
parent 3385582e10
commit 4a802d234c

View File

@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: amfldio - Aml Field I/O
* $Revision: 1.37 $
* $Revision: 1.38 $
*
*****************************************************************************/
@ -572,7 +572,8 @@ AcpiAmlWriteFieldDataWithUpdateRule (
/* Check if update rule needs to be applied (not if mask is all ones) */
if (((1 << BitGranularity) -1) & ~Mask)
/* The left shift drops the bits we want to ignore. */
if ((~Mask << (sizeof(Mask)*8 - BitGranularity)) != 0)
{
/*
* Read the current contents of the byte/word/dword containing