xen/x86: don't use '.ifnes' in bug frame construction.
authorTim Deegan <tim@xen.org>
Thu, 29 Aug 2013 15:47:12 +0000 (16:47 +0100)
committerTim Deegan <tim@xen.org>
Fri, 30 Aug 2013 10:23:38 +0000 (11:23 +0100)
commitec3f60c9d609703cce2fca30edbc6e72cd18e492
treea405e4ecc1bf9134c6f562a0fc3653450cc23120
parent6e287713c94b40bbf21a378eab622108b1186233
xen/x86: don't use '.ifnes' in bug frame construction.

Spotted because it breaks the clang build for LLVM <3.2.  .ifnes is
not right here as it will choke on a string with embedded quotes.

.ifnb would be better except that LLVM <3.2 doesn't support that either
(and nor does binutils 2.16).

It should be possible to use something like !!msg or !!msg[0] instead
of a separate flag, but I gave up trying to find something that would
make it through CPP, asm() and gas as a usable constant. :|

Signed-off-by: Tim Deegan <tim@xen.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/asm-x86/bug.h