From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753644AbYHODBh (ORCPT ); Thu, 14 Aug 2008 23:01:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752691AbYHODAv (ORCPT ); Thu, 14 Aug 2008 23:00:51 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.122]:40088 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752595AbYHODAt (ORCPT ); Thu, 14 Aug 2008 23:00:49 -0400 Message-Id: <20080815030047.364367343@goodmis.org> References: <20080815024716.480118113@goodmis.org> User-Agent: quilt/0.46-1 Date: Thu, 14 Aug 2008 22:47:18 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Ingo Molnar , Thomas Gleixner , Peter Zijlstra , Andrew Morton , Linus Torvalds , David Miller , Mathieu Desnoyers , Gregory Haskins , Arnaldo Carvalho de Melo , "Luis Claudio R. Goncalves" , Clark Williams , srostedt@redhat.com Subject: [PATCH 2/3] ftrace: move notrace to compiler.h Content-Disposition: inline; filename=ftrace-move-notrace-to-compiler.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The notrace define belongs in compiler.h so that it can be used in init.h Signed-off-by: Steven Rostedt --- include/linux/compiler.h | 2 ++ include/linux/linkage.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) Index: linux-tip.git/include/linux/compiler.h =================================================================== --- linux-tip.git.orig/include/linux/compiler.h 2008-08-14 22:42:59.000000000 -0400 +++ linux-tip.git/include/linux/compiler.h 2008-08-14 22:43:16.000000000 -0400 @@ -44,6 +44,8 @@ extern void __chk_io_ptr(const volatile # error Sorry, your compiler is too old/not recognized. #endif +#define notrace __attribute__((no_instrument_function)) + /* Intel compiler defines __GNUC__. So we will overwrite implementations * coming from above header files here */ Index: linux-tip.git/include/linux/linkage.h =================================================================== --- linux-tip.git.orig/include/linux/linkage.h 2008-08-14 22:42:59.000000000 -0400 +++ linux-tip.git/include/linux/linkage.h 2008-08-14 22:43:16.000000000 -0400 @@ -4,8 +4,6 @@ #include #include -#define notrace __attribute__((no_instrument_function)) - #ifdef __cplusplus #define CPP_ASMLINKAGE extern "C" #else --