projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d2f8f0
)
Revert "mm/page_alloc: mark pagesets as __maybe_unused"
author
Sebastian Andrzej Siewior
<bigeasy@linutronix.de>
Mon, 28 Mar 2022 14:58:10 +0000
(16:58 +0200)
committer
Peter Zijlstra
<peterz@infradead.org>
Tue, 5 Apr 2022 07:59:39 +0000
(09:59 +0200)
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
mm/page_alloc.c
patch
|
blob
|
history
diff --git
a/mm/page_alloc.c
b/mm/page_alloc.c
index 2db95780e003110e3a6ac2009ac2c58e0851cbeb..6e5b4488a0c5717e7971464385094481e9b0d988 100644
(file)
--- a/
mm/page_alloc.c
+++ b/
mm/page_alloc.c
@@
-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),
};