summaryrefslogtreecommitdiffstats
path: root/mm/page_cgroup.c
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2014-08-27 12:58:53 +0200
committerRusty Russell <rusty@rustcorp.com.au>2014-08-27 14:24:10 +0200
commit7a3ee7538598e0d60e6aa87dcf34a4e8a0adebc2 (patch)
treef8cace0f731f4066b3670c79bca2b4a7a2005825 /mm/page_cgroup.c
parentparam: check for tainting before calling set op. (diff)
downloadlinux-7a3ee7538598e0d60e6aa87dcf34a4e8a0adebc2.tar.xz
linux-7a3ee7538598e0d60e6aa87dcf34a4e8a0adebc2.zip
modpost: reduce visibility of symbols and constify r/o arrays
Internally used symbols of modpost don't need to be externally visible; make them static. Also constify the string arrays so they resist in the r/o section instead of being runtime writable. Those changes lead to a small size reduction as can be seen below: text data bss dec hex filename 51381 2640 12416 66437 10385 scripts/mod/modpost.old 51765 2224 12416 66405 10365 scripts/mod/modpost.new Signed-off-by: Mathias Krause <minipli@googlemail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'mm/page_cgroup.c')
0 files changed, 0 insertions, 0 deletions