diff options
author | Marc Herbert <Marc.Herbert@linux.intel.com> | 2025-03-19 09:00:30 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-04-02 01:14:43 +0300 |
commit | 1ca77ff1837249701053a7fcbdedabc41f4ae67c (patch) | |
tree | cc18d74f69f7f283183bee1d0a1b94b1e8d6b2f4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a0a9f2180b90c7d5f7c85a77b359856f675cf760 (diff) | |
download | linux-1ca77ff1837249701053a7fcbdedabc41f4ae67c.tar.xz |
mm/hugetlb: move hugetlb_sysctl_init() to the __init section
hugetlb_sysctl_init() is only invoked once by an __init function and is
merely a wrapper around another __init function so there is not reason to
keep it.
Fixes the following warning when toning down some GCC inline options:
WARNING: modpost: vmlinux: section mismatch in reference:
hugetlb_sysctl_init+0x1b (section: .text) ->
__register_sysctl_init (section: .init.text)
Link: https://lkml.kernel.org/r/20250319060041.2737320-1-marc.herbert@linux.intel.com
Signed-off-by: Marc Herbert <Marc.Herbert@linux.intel.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Reviewed-by: Muchun Song <muchun.song@linux.dev>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions