Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753672Ab0FWPWI (ORCPT ); Wed, 23 Jun 2010 11:22:08 -0400 Received: from hera.kernel.org ([140.211.167.34]:48592 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753600Ab0FWPWF (ORCPT ); Wed, 23 Jun 2010 11:22:05 -0400 Date: Wed, 23 Jun 2010 15:21:40 GMT From: tip-bot for Wu Zhangjin Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@redhat.com, wuzhangjin@gmail.com, rostedt@goodmis.org, tglx@linutronix.de Reply-To: mingo@redhat.com, hpa@zytor.com, linux-kernel@vger.kernel.org, wuzhangjin@gmail.com, rostedt@goodmis.org, tglx@linutronix.de In-Reply-To: <1277118549-622-1-git-send-email-wuzhangjin@gmail.com> References: <1277118549-622-1-git-send-email-wuzhangjin@gmail.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/urgent] tracing: Fix undeclared ENOSYS in include/linux/tracepoint.h Message-ID: Git-Commit-ID: b70e4f0529c089b00d0a6da13106db4de1ada4c7 X-Mailer: tip-git-log-daemon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (hera.kernel.org [127.0.0.1]); Wed, 23 Jun 2010 15:21:41 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1453 Lines: 38 Commit-ID: b70e4f0529c089b00d0a6da13106db4de1ada4c7 Gitweb: http://git.kernel.org/tip/b70e4f0529c089b00d0a6da13106db4de1ada4c7 Author: Wu Zhangjin AuthorDate: Mon, 21 Jun 2010 19:09:09 +0800 Committer: Steven Rostedt CommitDate: Mon, 21 Jun 2010 12:23:36 -0400 tracing: Fix undeclared ENOSYS in include/linux/tracepoint.h The header file include/linux/tracepoint.h may be included without include/linux/errno.h and then the compiler will fail on building for undelcared ENOSYS. This patch fixes this problem via including to include/linux/tracepoint.h. Signed-off-by: Wu Zhangjin LKML-Reference: <1277118549-622-1-git-send-email-wuzhangjin@gmail.com> Signed-off-by: Steven Rostedt --- include/linux/tracepoint.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h index 9a59d1f..103d1b6 100644 --- a/include/linux/tracepoint.h +++ b/include/linux/tracepoint.h @@ -14,6 +14,7 @@ * See the file COPYING for more details. */ +#include #include #include -- 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/