From 72c9eceb6334a8f8ad3e305d753ba5ec57ce308f Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Sun, 5 May 2024 13:31:06 +0200 Subject: [PATCH] fix error: use of undeclared identifier 'kEmptyCacheIndexBits' --- chromium-124-el8-support-64kpage.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chromium-124-el8-support-64kpage.patch b/chromium-124-el8-support-64kpage.patch index 97e4c76e..ed4a4e69 100644 --- a/chromium-124-el8-support-64kpage.patch +++ b/chromium-124-el8-support-64kpage.patch @@ -90,7 +90,7 @@ diff -up chromium-124.0.6367.49/base/allocator/partition_allocator/src/partition - : kMaxEmptyCacheIndexBits; // < kMaxFreeableSpans. - uint16_t unused2_ : (16 - 1 - kMaxEmptyCacheIndexBits); + bool in_empty_cache_ : 1; -+ uint8_t empty_cache_index_ : kEmptyCacheIndexBits; // < kMaxFreeableSpans. ++ uint8_t empty_cache_index_ : kMaxEmptyCacheIndexBits; // < kMaxFreeableSpans. // Can use only 48 bits (6B) in this bitfield, as this structure is embedded // in PartitionPage which has 2B worth of fields and must fit in 32B.