diff options
| author | danh-arm <dan.handley@arm.com> | 2017-05-24 14:56:59 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-24 14:56:59 +0100 |
| commit | 2ab2e57a64d8650a587bdd2974807cbd6a2477e4 (patch) | |
| tree | f78984b638ec9b9045fb110cad05cf26a2d8423a /lib | |
| parent | e715e676e36eda6ef23469b63adb14a98ccce3e0 (diff) | |
| parent | 8237708368f0e206eb0cb2d6dafef95dd6c83b36 (diff) | |
Merge pull request #941 from dp-arm/dp/clang
Allow TF to be built using clang or ARM Compiler 6
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/cpus/aarch64/cpu_helpers.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/cpus/aarch64/cpu_helpers.S b/lib/cpus/aarch64/cpu_helpers.S index 7ad0bc75..23845534 100644 --- a/lib/cpus/aarch64/cpu_helpers.S +++ b/lib/cpus/aarch64/cpu_helpers.S @@ -259,8 +259,8 @@ func print_errata_status /* * Printing errata status requires atomically testing the printed flag. */ - stp x8, x30, [sp, #-16]! - mov x8, x0 + stp x19, x30, [sp, #-16]! + mov x19, x0 /* * Load pointers to errata lock and printed flag. Call @@ -270,8 +270,8 @@ func print_errata_status ldr x0, [x1, #CPU_ERRATA_LOCK] ldr x1, [x1, #CPU_ERRATA_PRINTED] bl errata_needs_reporting - mov x1, x8 - ldp x8, x30, [sp], #16 + mov x1, x19 + ldp x19, x30, [sp], #16 cbnz x0, .Lprint #endif .Lnoprint: |
