[PATCH] scripts/tags.sh: Teach tags about more powerpc macros
Michael Ellerman
mpe at ellerman.id.au
Tue Nov 3 21:39:52 AEDT 2015
Teach tags.sh about the powerpc PCI macros, eg. readl/writel etc.
Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
---
scripts/tags.sh | 1 +
1 file changed, 1 insertion(+)
Sorry to send another of these, I had a nagging feeling I'd missed some macros
when I sent the last one.
This applies on top of linux-next.
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/' \
--
2.5.0
More information about the Linuxppc-dev
mailing list