Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752517Ab3HUQql (ORCPT ); Wed, 21 Aug 2013 12:46:41 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:57770 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752497Ab3HUQqj (ORCPT ); Wed, 21 Aug 2013 12:46:39 -0400 From: Frederic Weisbecker To: LKML Cc: Frederic Weisbecker , Ingo Molnar , Thomas Gleixner , Peter Zijlstra , "Paul E. McKenney" , John Stultz , Steven Rostedt , Don Zickus Subject: [RFC PATCH 3/6] x86: Tell that sched clock is callable in nmi Date: Wed, 21 Aug 2013 18:42:18 +0200 Message-Id: <1377103341-15235-4-git-send-email-fweisbec@gmail.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1377103341-15235-1-git-send-email-fweisbec@gmail.com> References: <1377103341-15235-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: 1081 Lines: 35 The x86 version of sched_clock() seem to be safely callable from NMIs, tell about that. Signed-off-by: Frederic Weisbecker Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: Paul E. McKenney Cc: John Stultz Cc: Steven Rostedt Cc: Don Zickus --- arch/x86/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 7fbda5c..fc7c34c 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -125,6 +125,7 @@ config X86 select RTC_LIB select HAVE_DEBUG_STACKOVERFLOW select HAVE_NSECS_TO_CYCLES + select HAVE_SCHED_CLOCK_NMI config INSTRUCTION_DECODER def_bool y -- 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/