Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760074Ab2JLSJw (ORCPT ); Fri, 12 Oct 2012 14:09:52 -0400 Received: from mail-ee0-f46.google.com ([74.125.83.46]:37825 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760046Ab2JLSJs (ORCPT ); Fri, 12 Oct 2012 14:09:48 -0400 From: Frederic Weisbecker To: LKML Cc: Frederic Weisbecker , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Andrew Morton , Steven Rostedt Subject: [RFC PATCH 3/5] x86: Implement arch_irq_work_use_tick Date: Fri, 12 Oct 2012 20:09:34 +0200 Message-Id: <1350065376-23353-4-git-send-email-fweisbec@gmail.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1350065376-23353-1-git-send-email-fweisbec@gmail.com> References: <1350065376-23353-1-git-send-email-fweisbec@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1183 Lines: 38 Most of the time, x86 can trigger self-IPIs. Tell irq work subsystem about it. Signed-off-by: Frederic Weisbecker Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Andrew Morton Cc: Steven Rostedt --- arch/x86/include/asm/irq_work.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/x86/include/asm/irq_work.h b/arch/x86/include/asm/irq_work.h index dad8266..fc62b60 100644 --- a/arch/x86/include/asm/irq_work.h +++ b/arch/x86/include/asm/irq_work.h @@ -2,8 +2,12 @@ #define _ASM_X86_IRQ_WORK_H #ifdef CONFIG_X86_LOCAL_APIC +#include + extern void __arch_irq_work_raise(void); #define arch_irq_work_raise __arch_irq_work_raise + +#define arch_irq_work_use_tick() (!cpu_has_apic) #endif #include -- 1.7.5.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/