diff options
| author | Jason Gunthorpe <[email protected]> | 2019-07-11 20:54:40 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-07-12 11:05:42 -0700 |
| commit | 442a5a9a9295bfd9b0cffd0691ef8a6ce81db7c4 (patch) | |
| tree | bce83bd43c6715f9c4c0fe6e6a61104908f14290 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 465fc3a9b3129722b0df395529b3894b0b90d2de (diff) | |
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/[email protected]
Signed-off-by: Jason Gunthorpe <[email protected]>
Suggested-by: Andrew Morton <[email protected]>
Reviewed-by: Mike Kravetz <[email protected]>
Cc: Jerome Glisse <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions