From: Borislav Petkov Date: Tue, 9 Dec 2014 15:45:17 +0000 (+0100) Subject: x86/asm: Guard against building the 32/64-bit versions of the asm-offsets*.c file... X-Git-Tag: omap-for-v3.19/fixes-rc1~93^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5de2b61a63f0982641eb00b9a6a9650f23487eaa;p=pandora-kernel.git x86/asm: Guard against building the 32/64-bit versions of the asm-offsets*.c file directly Sometimes it is helpful to build a kernel compilation unit directly, i.e.: make .../.i in order to look at compiler output. Since asm-offsets_{32,64}.c are included by asm-offsets.c and building them directly doesn't evaluate the macros used (thus making the preprocessor output not very useful), error out when an attempt is made to build them. Issue a hint for the user to build asm-offsets.c instead. Suggested-by: Michael Matz Signed-off-by: Borislav Petkov Cc: Michal Marek Cc: Linus Torvalds Link: http://lkml.kernel.org/r/1418139917-12722-1-git-send-email-bp@alien8.de Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed