diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2016-03-04 09:29:50 +0100 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2016-03-05 00:56:53 +0100 |
commit | ca1b2d19a9ba4363fa0586c9d23602a712fc27ea (patch) | |
tree | 178c30a40c7034a94cca2867fd969d47cf633c80 /src/commonlib | |
parent | d51a0896c6c0e995b6a60ee322e04d311bb4b031 (diff) | |
download | coreboot-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/commonlib')
-rw-r--r-- | src/commonlib/lz4_wrapper.c | 2 |
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" |