scripts/tags.sh: Teach tags about more powerpc macros
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 3 Nov 2015 10:39:52 +0000 (21:39 +1100)
committerMichal Marek <mmarek@suse.com>
Fri, 20 Nov 2015 14:50:34 +0000 (15:50 +0100)
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>
scripts/tags.sh

index 262889046703ea02055fcec52cfc6b3e2ebf1dd0..f69fa0c8731298c116db1ba146b9b9dd326f6ab1 100755 (executable)
@@ -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/'     \