x86/apic: Ignore secondary threads if nosmt=force
[platform/kernel/linux-rpi.git] / arch / x86 / include / asm / apic.h
index 77ffd3b..1430522 100644 (file)
@@ -616,8 +616,10 @@ extern int default_check_phys_apicid_present(int phys_apicid);
 
 #ifdef CONFIG_SMP
 bool apic_id_is_primary_thread(unsigned int id);
+bool apic_id_disabled(unsigned int id);
 #else
 static inline bool apic_id_is_primary_thread(unsigned int id) { return false; }
+static inline bool apic_id_disabled(unsigned int id) { return false; }
 #endif
 
 extern void irq_enter(void);