summaryrefslogtreecommitdiff
path: root/tools/lib
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-02-23 17:08:42 +0300
committerArnd Bergmann <arnd@arndb.de>2016-02-26 19:44:54 +0300
commit5d37e80b8053795f1f7553f93af0112062f05267 (patch)
tree3d8d63b3efe2929d663487f9f17bb9afdd305adb /tools/lib
parent302cff1a16b0759708e131a2540c6342e9095803 (diff)
downloadlinux-5d37e80b8053795f1f7553f93af0112062f05267.tar.xz
ARM: socfpga: hide unused functions
The cpu_die and cpu_kill callbacks are only used when CONFIG_HOTPLUG_CPU is enabled, otherwise we get a warning about them: arch/arm/mach-socfpga/platsmp.c:102:13: error: 'socfpga_cpu_die' defined but not used [-Werror=unused-function] arch/arm/mach-socfpga/platsmp.c:115:12: error: 'socfpga_cpu_kill' defined but not used [-Werror=unused-function] This adds the appropriate #ifdef. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions