diff options
author | Jeenu Viswambharan <jeenu.viswambharan@arm.com> | 2014-01-16 17:30:39 +0000 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2014-01-17 10:27:53 +0000 |
commit | 3a4cae051af8fb129054c0aaf14dd3b7247f04f0 (patch) | |
tree | 69390ac8559682f750f287dd59b9a892e0c8a928 /lib/sync | |
parent | eaec590e5fc2c7e3da8c353bd4139bd4b52b99c6 (diff) | |
download | arm-trusted-firmware-3a4cae051af8fb129054c0aaf14dd3b7247f04f0.tar.gz |
Change comments in assembler files to help ctags
Ctags seem to have a problem with generating tags for assembler symbols
when a comment immediately follows an assembly label.
This patch inserts a single space character between the label
definition and the following comments to help ctags.
The patch is generated by the command:
git ls-files -- \*.S | xargs sed -i 's/^\([^:]\+\):;/\1: ;/1'
Change-Id: If7a3c9d0f51207ea033cc8b8e1b34acaa0926475
Diffstat (limited to 'lib/sync')
-rw-r--r-- | lib/sync/locks/exclusive/spinlock.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sync/locks/exclusive/spinlock.S b/lib/sync/locks/exclusive/spinlock.S index 1b49da2..79d19e7 100644 --- a/lib/sync/locks/exclusive/spinlock.S +++ b/lib/sync/locks/exclusive/spinlock.S @@ -34,7 +34,7 @@ .section .text, "ax"; -spin_lock:; .type spin_lock, %function +spin_lock: ; .type spin_lock, %function mov w2, #1 sevl l1: wfe @@ -45,6 +45,6 @@ l2: ldaxr w1, [x0] ret -spin_unlock:; .type spin_unlock, %function +spin_unlock: ; .type spin_unlock, %function stlr wzr, [x0] ret |