From mboxrd@z Thu Jan 1 00:00:00 1970 From: danielfsantos@att.net Subject: [PATCH v2 04/10] bug.h: directly include linux/compiler.h Date: Fri, 5 Oct 2012 14:42:43 -0500 Message-ID: <1349466169-20637-4-git-send-email-daniel.santos@pobox.com> References: <1349465759-20524-1-git-send-email-daniel.santos@pobox.com> Return-path: In-Reply-To: <1349465759-20524-1-git-send-email-daniel.santos@pobox.com> Sender: linux-kernel-owner@vger.kernel.org To: LKML Cc: Andi Kleen , Andrea Arcangeli , Andrew Morton , Borislav Petkov , Christopher Li , David Daney , David Howells , David Rientjes , Joe Perches , Konstantin Khlebnikov , linux-sparse@vger.kernel.org, Michel Lespinasse , Paul Gortmaker , Pavel Pisa , Peter Zijlstra , Steven Rostedt , Daniel Santos List-Id: linux-sparse@vger.kernel.org We are just including asm/bug.h and expecting that linux/compiler.h will eventually be included to define __linktime_error (used in BUILD_BUG_ON). This patch includes it directly for clarity and to avoid the possibility of changes in /*/include/asm/bug.h being changed or not including linux/compiler.h for some reason. (Later patches will in this set use more macros defined in compiler*.h.) Signed-off-by: Daniel Santos --- include/linux/bug.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/bug.h b/include/linux/bug.h index aaac4bb..4bd74d8 100644 --- a/include/linux/bug.h +++ b/include/linux/bug.h @@ -2,6 +2,7 @@ #define _LINUX_BUG_H #include +#include enum bug_trap_type { BUG_TRAP_TYPE_NONE = 0, -- 1.7.3.4