diff options
| author | Qian Cai <[email protected]> | 2019-09-23 15:33:52 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-09-24 15:54:07 -0700 |
| commit | 9d5f0be0f7556873cd00125dc579a9d9d186b0d0 (patch) | |
| tree | f54fb3f6b7d367020cca4b914834ed9068e1f8d8 /include/linux/debugobjects.h | |
| parent | 9adeaa226988b97bc15928e12f40a9863134467c (diff) | |
mm/slub.c: fix -Wunused-function compiler warnings
tid_to_cpu() and tid_to_event() are only used in note_cmpxchg_failure()
when SLUB_DEBUG_CMPXCHG=y, so when SLUB_DEBUG_CMPXCHG=n by default, Clang
will complain that those unused functions.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Qian Cai <[email protected]>
Acked-by: David Rientjes <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions