diff options
Diffstat (limited to 'MdePkg/Library/BaseSynchronizationLib/Ia32')
-rw-r--r-- | MdePkg/Library/BaseSynchronizationLib/Ia32/InternalGetSpinLockProperties.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseSynchronizationLib/Ia32/InternalGetSpinLockProperties.c b/MdePkg/Library/BaseSynchronizationLib/Ia32/InternalGetSpinLockProperties.c index 49f05fb18a..60f5c7f36b 100644 --- a/MdePkg/Library/BaseSynchronizationLib/Ia32/InternalGetSpinLockProperties.c +++ b/MdePkg/Library/BaseSynchronizationLib/Ia32/InternalGetSpinLockProperties.c @@ -55,6 +55,10 @@ InternalGetSpinLockProperties ( }
}
+ if (CacheLineSize < 32) {
+ CacheLineSize = 32;
+ }
+
return CacheLineSize;
}
|