acrn-kernel/arch/powerpc
Ben Dooks 787dbea11a profile: setup_profiling_timer() is moslty not implemented
The setup_profiling_timer() is mostly un-implemented by many
architectures.  In many places it isn't guarded by CONFIG_PROFILE which is
needed for it to be used.  Make it a weak symbol in kernel/profile.c and
remove the 'return -EINVAL' implementations from the kenrel.

There are a couple of architectures which do return 0 from the
setup_profiling_timer() function but they don't seem to do anything else
with it.  To keep the /proc compatibility for now, leave these for a
future update or removal.

On ARM, this fixes the following sparse warning:
arch/arm/kernel/smp.c:793:5: warning: symbol 'setup_profiling_timer' was not declared. Should it be static?

Link: https://lkml.kernel.org/r/20220721195509.418205-1-ben-linux@fluff.org
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2022-07-29 18:12:36 -07:00
..
boot powerpc updates for 5.19 2022-05-28 11:27:17 -07:00
configs eth: de4x5: remove support for Generic DECchip & DIGITAL EtherWORKS PCI/EISA 2022-05-23 11:43:51 +01:00
crypto
include powerpc fixes for 5.19 #2 2022-06-09 12:17:43 -07:00
kernel profile: setup_profiling_timer() is moslty not implemented 2022-07-29 18:12:36 -07:00
kexec powerpc/kasan: Mark more real-mode code as not to be instrumented 2022-05-29 10:30:42 +10:00
kvm powerpc: Fix all occurences of "the the" 2022-05-22 15:59:43 +10:00
lib powerpc updates for 5.19 2022-05-28 11:27:17 -07:00
math-emu
mm powerpc/book3e: get rid of #include <generated/compile.h> 2022-06-06 10:23:33 +10:00
net
perf
platforms powerpc/powernv: wire up rng during setup_arch 2022-06-22 19:47:22 +10:00
purgatory
sysdev powerpc/xics: Include missing header 2022-05-24 20:44:30 +10:00
tools
xmon More power management updates for 5.19-rc1 2022-05-30 11:37:26 -07:00
Kbuild
Kconfig powerpc fixes for 5.19 #2 2022-06-09 12:17:43 -07:00
Kconfig.debug
Makefile powerpc updates for 5.19 2022-05-28 11:27:17 -07:00
Makefile.postlink