x86, asm: Fix CFI macro invocations to deal with shortcomings in gas
[firefly-linux-kernel-4.4.55.git] / Kbuild
diff --git a/Kbuild b/Kbuild
index e3737ad72b5a7ab8ad916b5b6b2725eaf89122a1..399593942a9b22fce5d9c501a7e60c9b88920f73 100644 (file)
--- a/Kbuild
+++ b/Kbuild
@@ -53,7 +53,7 @@ targets += arch/$(SRCARCH)/kernel/asm-offsets.s
 # Default sed regexp - multiline due to syntax constraints
 define sed-y
        "/^->/{s:->#\(.*\):/* \1 */:; \
-       s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; \
+       s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 (\2) /* \3 */:; \
        s:->::; p;}"
 endef