ARM: check_bugs
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 20 Jul 2018 09:46:52 +0000 (10:46 +0100)
committerDouglas RAILLARD <douglas.raillard@arm.com>
Tue, 14 Aug 2018 15:32:13 +0000 (16:32 +0100)
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/include/asm/proc-fns.h
arch/arm/kernel/bugs.c

index 4fd67e9e6003756a27ebbe6153dde008e70fb6e5..ec13f5311701e73b76789dd6cf0e45b8b569a17f 100644 (file)
@@ -111,6 +111,7 @@ static inline void init_proc_vtable(const struct processor *p)
 }
 
 #define cpu_proc_init                  PROC_VTABLE_FUNC(_proc_init)
+#define cpu_check_bugs                 PROC_VTABLE_FUNC(check_bugs)
 #define cpu_proc_fin                   PROC_VTABLE_FUNC(_proc_fin)
 #define cpu_reset                      PROC_VTABLE_FUNC(reset)
 #define cpu_do_idle                    PROC_VTABLE_FUNC(_do_idle)
index 7be5113101915cd81a5558f45238041138fb5a58..d41d3598e5e541115c08f9b81b26fd187a7fe7af 100644 (file)
@@ -6,8 +6,8 @@
 void check_other_bugs(void)
 {
 #ifdef MULTI_CPU
-       if (processor.check_bugs)
-               processor.check_bugs();
+       if (cpu_check_bugs)
+               cpu_check_bugs();
 #endif
 }