Revert "mm/page_alloc: mark pagesets as __maybe_unused"
The local_lock() is now using a proper static inline function which is enough for llvm to accept that the variable is used. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20220328145810.86783-4-bigeasy@linutronix.de
This commit is contained in:
parent
2d2f8f083e
commit
273ba85b5e
@ -128,7 +128,7 @@ static DEFINE_MUTEX(pcp_batch_high_lock);
|
||||
struct pagesets {
|
||||
local_lock_t lock;
|
||||
};
|
||||
static DEFINE_PER_CPU(struct pagesets, pagesets) __maybe_unused = {
|
||||
static DEFINE_PER_CPU(struct pagesets, pagesets) = {
|
||||
.lock = INIT_LOCAL_LOCK(lock),
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user