diff options
| author | Cédric Le Goater <[email protected]> | 2021-01-04 15:31:58 +0100 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-01-30 11:39:30 +1100 |
| commit | 94b87d72fc852b6995702d74541136a65f88624a (patch) | |
| tree | 27ce1a0a45088d4379f2256fdbb4175b2a3a8bb8 /tools/perf/scripts/python | |
| parent | 1f55aefea3c1431f662aafa02ef9ac18d8880751 (diff) | |
powerpc/mm/hugetlb: Make pseries_alloc_bootmem_huge_page() static
pseries_alloc_bootmem_huge_page() is only used locally in
alloc_bootmem_huge_page() and does not need to be external.
It fixes this W=1 compile error :
../arch/powerpc/mm/hugetlbpage.c:220:12: error: no previous prototype for ‘pseries_alloc_bootmem_huge_page’ [-Werror=missing-prototypes]
220 | int __init pseries_alloc_bootmem_huge_page(struct hstate *hstate)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Cédric Le Goater <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions