Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932296Ab0FULIY (ORCPT ); Mon, 21 Jun 2010 07:08:24 -0400 Received: from mail.windriver.com ([147.11.1.11]:36109 "EHLO mail.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932251Ab0FULIV (ORCPT ); Mon, 21 Jun 2010 07:08:21 -0400 From: Wu Zhangjin To: Steven Rostedt , Mathieu Desnoyers Cc: linux-kernel@vger.kernel.org, Frederic Weisbecker , Ingo Molnar , Masami Hiramatsu Subject: [PATCH] tracing: Fix undelared ENOSYS in include/linux/tracepoint.h Date: Mon, 21 Jun 2010 19:09:09 +0800 Message-Id: <1277118549-622-1-git-send-email-wuzhangjin@gmail.com> X-Mailer: git-send-email 1.6.3.3 X-OriginalArrivalTime: 21 Jun 2010 11:07:59.0105 (UTC) FILETIME=[02135710:01CB1132] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1006 Lines: 32 From: Wu Zhangjin 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 --- 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 -- 1.6.3.3 -- 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/