summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2015-11-03 21:39:52 +1100
committerMichal Marek <mmarek@suse.com>2015-11-20 15:50:34 +0100
commit0f684317a7e0e7b6075ebfa5311b0c106eb1b802 (patch)
treec75837899216ed45df1dfba86a3731bf5892c031 /scripts
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
scripts/tags.sh: Teach tags about more powerpc macros
Teach tags.sh about the powerpc PCI macros, eg. readl/writel etc. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tags.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/tags.sh b/scripts/tags.sh
index 262889046703..f69fa0c87312 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -200,6 +200,7 @@ exuberant()
--regex-c++='/TASK_PFA_CLEAR\([^,]*,\s*([^)]*)\)/task_clear_\1/'\
--regex-c++='/DEF_MMIO_(IN|OUT)_(X|D)\(([^,]*),\s*[^)]*\)/\3/' \
--regex-c++='/DEBUGGER_BOILERPLATE\(([^,]*)\)/\1/' \
+ --regex-c++='/DEF_PCI_AC_(NO)?RET\(([^,]*),.*/\2/' \
--regex-c='/PCI_OP_READ\((\w*).*[1-4]\)/pci_bus_read_config_\1/' \
--regex-c='/PCI_OP_WRITE\((\w*).*[1-4]\)/pci_bus_write_config_\1/' \
--regex-c='/DEFINE_(MUTEX|SEMAPHORE|SPINLOCK)\((\w*)/\2/v/' \