Skip to content
Commit 9be510d0 authored by Tanmay Jagdale's avatar Tanmay Jagdale Committed by Ruiqiang Hao
Browse files

coresight: Move print_arch_cpu_state declaration to a generic header



commit d008d74c93e57be4bb4b617c09bdd03467d18c0a from
git@git.assembla.com:cavium/WindRiver.linux.git

Move the declaration of print_arch_cpu_state() to generic header file,
include/linux/cpu.h so that it can be reused by other architectures.

Moving this also solves the compiler warning when compiled with
CONFIG_CORESIGHT=n

./include/linux/coresight.h:596:13: error: 'print_arch_cpu_state'
defined but not used [-Werror=unused-function]
  596 | static void print_arch_cpu_state(int cpu) {};
      |             ^~~~~~~~~~~~~~~~~~~~

Change-Id: I0fbd9001314f210f0a65001f8bb6192105bd7f95
Signed-off-by: default avatarTanmay Jagdale <tanmay@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/115268


Tested-by: default avatarsa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Reviewed-by: default avatarSunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
parent de215730
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment