diff options
| author | Michael Ellerman <mpe@ellerman.id.au> | 2021-11-24 20:32:53 +1100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-27 08:46:19 +0100 |
| commit | 983c6738db051c5a226d20ef585d8ae51b8dd18f (patch) | |
| tree | 59aa259208c7a4e6bf1d9dc634b31180935be50f /include/linux/errqueue.h | |
| parent | 74650c34f93044d3ab441235f161f9e1e761e96b (diff) | |
powerpc/smp: Move setup_profiling_timer() under CONFIG_PROFILING
[ Upstream commit a4ac0d249a5db80e79d573db9e4ad29354b643a8 ]
setup_profiling_timer() is only needed when CONFIG_PROFILING is enabled.
Fixes the following W=1 warning when CONFIG_PROFILING=n:
linux/arch/powerpc/kernel/smp.c:1638:5: error: no previous prototype for ‘setup_profiling_timer’
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211124093254.1054750-5-mpe@ellerman.id.au
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
