summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2016-03-04 09:29:50 +0100
committerVladimir Serbinenko <phcoder@gmail.com>2016-03-05 00:56:53 +0100
commitca1b2d19a9ba4363fa0586c9d23602a712fc27ea (patch)
tree178c30a40c7034a94cca2867fd969d47cf633c80 /src
parentd51a0896c6c0e995b6a60ee322e04d311bb4b031 (diff)
downloadcoreboot-ca1b2d19a9ba4363fa0586c9d23602a712fc27ea.tar.xz
lz4_wrapper: Use __asm__ rather than asm.
__asm__ is more robust to compilation flags. Change-Id: Ic7ca6e38ddd439dcfc4a62ef272ecea62416b4be Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: https://review.coreboot.org/13905 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/commonlib/lz4_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonlib/lz4_wrapper.c b/src/commonlib/lz4_wrapper.c
index bb59f2822c..772f7918f4 100644
--- a/src/commonlib/lz4_wrapper.c
+++ b/src/commonlib/lz4_wrapper.c
@@ -54,7 +54,7 @@ static void LZ4_copy8(void *dst, const void *src)
((uint8_t *)dst)[i] = ((uint8_t *)src)[i];
#else
uint32_t x0, x1;
- asm volatile (
+ __asm__ volatile (
"ldr %[x0], [%[src]]\n\t"
"ldr %[x1], [%[src], #4]\n\t"
"str %[x0], [%[dst]]\n\t"