clang: workaround for generated constants
authorJeroen Hofstee <jeroen@myspectrum.nl>
Wed, 30 Jul 2014 19:54:54 +0000 (21:54 +0200)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 9 Sep 2014 11:51:54 +0000 (13:51 +0200)
commitfe5d1abcf47b2419f69d722deea902c0d44842e7
tree34d63607468c4e1b72b1e43c2c70dacfd40c13c3
parentf2cbb037a73bd91e99bbb2717e532a88929b2e12
clang: workaround for generated constants

KBuild abuses the asm statement to write to a file and
clang chokes about these invalid asm statements. Hack it
even more by fooling this is actual valid asm code.

cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
cc: Tom Rini <trini@ti.com>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Kbuild
include/linux/kbuild.h