From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 86E381A082E for ; Tue, 13 Oct 2015 16:18:33 +1100 (AEDT) Message-ID: <1444713513.29347.3.camel@ellerman.id.au> Subject: Re: [PATCH] scripts/tags.sh: Teach tags about some powerpc macros From: Michael Ellerman To: mmarek@suse.com Cc: linuxppc-dev@ozlabs.org Date: Tue, 13 Oct 2015 16:18:33 +1100 In-Reply-To: <1442891295-5222-1-git-send-email-mpe@ellerman.id.au> References: <1442891295-5222-1-git-send-email-mpe@ellerman.id.au> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2015-09-22 at 13:08 +1000, Michael Ellerman wrote: > The IO accessors on powerpc are generated using macro fu, ie. out_be32() > etc. Also there are some debugger related symbols that are macro > generated. Teach scripts/tags.sh about both. > > Signed-off-by: Michael Ellerman > --- > scripts/tags.sh | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/scripts/tags.sh b/scripts/tags.sh > index 8e5aee6d9da2..262889046703 100755 > --- a/scripts/tags.sh > +++ b/scripts/tags.sh > @@ -198,6 +198,8 @@ exuberant() > --regex-c++='/TASK_PFA_TEST\([^,]*,\s*([^)]*)\)/task_\1/' \ > --regex-c++='/TASK_PFA_SET\([^,]*,\s*([^)]*)\)/task_set_\1/' \ > --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='/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/' \ Michal, do you want to take this one or should I ? cheers