summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2019-07-11 20:54:40 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2019-07-12 11:05:42 -0700
commit442a5a9a9295bfd9b0cffd0691ef8a6ce81db7c4 (patch)
treebce83bd43c6715f9c4c0fe6e6a61104908f14290 /tools/perf/scripts/python/bin/stackcollapse-record
parent465fc3a9b3129722b0df395529b3894b0b90d2de (diff)
downloadcachepc-linux-442a5a9a9295bfd9b0cffd0691ef8a6ce81db7c4.tar.gz
cachepc-linux-442a5a9a9295bfd9b0cffd0691ef8a6ce81db7c4.zip
mm: make !CONFIG_HUGE_PAGE wrappers into static inlines
Instead of using defines, which loses type safety and provokes unused variable warnings from gcc, put the constants into static inlines. Link: http://lkml.kernel.org/r/20190522235102.GA15370@mellanox.com Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Suggested-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com> Cc: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions