diff options
-rw-r--r-- | arch/arm/common/bL_switcher.c | 3 | ||||
-rw-r--r-- | arch/arm/include/asm/bL_switcher.h | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/common/bL_switcher.c b/arch/arm/common/bL_switcher.c index f0dc025077d5..f4878a36047a 100644 --- a/arch/arm/common/bL_switcher.c +++ b/arch/arm/common/bL_switcher.c | |||
@@ -537,7 +537,7 @@ static void bL_switcher_trace_trigger_cpu(void *__always_unused info) | |||
537 | trace_cpu_migrate_current(get_ns(), read_mpidr()); | 537 | trace_cpu_migrate_current(get_ns(), read_mpidr()); |
538 | } | 538 | } |
539 | 539 | ||
540 | static int bL_switcher_trace_trigger(void) | 540 | int bL_switcher_trace_trigger(void) |
541 | { | 541 | { |
542 | int ret; | 542 | int ret; |
543 | 543 | ||
@@ -550,6 +550,7 @@ static int bL_switcher_trace_trigger(void) | |||
550 | 550 | ||
551 | return ret; | 551 | return ret; |
552 | } | 552 | } |
553 | EXPORT_SYMBOL_GPL(bL_switcher_trace_trigger); | ||
553 | 554 | ||
554 | static int bL_switcher_enable(void) | 555 | static int bL_switcher_enable(void) |
555 | { | 556 | { |
diff --git a/arch/arm/include/asm/bL_switcher.h b/arch/arm/include/asm/bL_switcher.h index 7d1cce8b8a0d..8ada5a885c70 100644 --- a/arch/arm/include/asm/bL_switcher.h +++ b/arch/arm/include/asm/bL_switcher.h | |||
@@ -54,6 +54,8 @@ int bL_switcher_unregister_notifier(struct notifier_block *nb); | |||
54 | bool bL_switcher_get_enabled(void); | 54 | bool bL_switcher_get_enabled(void); |
55 | void bL_switcher_put_enabled(void); | 55 | void bL_switcher_put_enabled(void); |
56 | 56 | ||
57 | int bL_switcher_trace_trigger(void); | ||
58 | |||
57 | #else | 59 | #else |
58 | static inline int bL_switcher_register_notifier(struct notifier_block *nb) | 60 | static inline int bL_switcher_register_notifier(struct notifier_block *nb) |
59 | { | 61 | { |
@@ -67,6 +69,7 @@ static inline int bL_switcher_unregister_notifier(struct notifier_block *nb) | |||
67 | 69 | ||
68 | static inline bool bL_switcher_get_enabled(void) { return false; } | 70 | static inline bool bL_switcher_get_enabled(void) { return false; } |
69 | static inline void bL_switcher_put_enabled(void) { } | 71 | static inline void bL_switcher_put_enabled(void) { } |
72 | static inline int bL_switcher_trace_trigger(void) { return 0; } | ||
70 | #endif /* CONFIG_BL_SWITCHER */ | 73 | #endif /* CONFIG_BL_SWITCHER */ |
71 | 74 | ||
72 | #endif | 75 | #endif |