From: Michael Ellerman Date: Tue, 3 Nov 2015 10:39:52 +0000 (+1100) Subject: scripts/tags.sh: Teach tags about more powerpc macros X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0f684317a7e0e7b6075ebfa5311b0c106eb1b802;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Michal Marek --- 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/' \