summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJianyu Zhan <nasa4836@gmail.com>2014-04-16 19:13:34 +0400
committerMichal Marek <mmarek@suse.cz>2014-04-17 01:25:41 +0400
commit3005286ee366dac5b75b8f17d4072f433ccbfa4a (patch)
treec69e8fbfbc081c8685424d9fc7986d48f4479c7f /scripts
parent082722a0f1fd303e7e19707d2747bcae43754b6e (diff)
downloadlinux-3005286ee366dac5b75b8f17d4072f433ccbfa4a.tar.xz
scripts/tags.sh: add pattern for DEFINE_HASHTABLE
Signed-off-by: Jianyu Zhan <nasa4836@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tags.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/tags.sh b/scripts/tags.sh
index f2c5b006a3d7..c1f64893efe9 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -201,7 +201,8 @@ exuberant()
--regex-c='/DECLARE_(TASKLET|WORK|DELAYED_WORK)\((\w*)/\2/v/' \
--regex-c='/DEFINE_PCI_DEVICE_TABLE\((\w*)/\1/v/' \
--regex-c='/(^\s)OFFSET\((\w*)/\2/v/' \
- --regex-c='/(^\s)DEFINE\((\w*)/\2/v/'
+ --regex-c='/(^\s)DEFINE\((\w*)/\2/v/' \
+ --regex-c='/DEFINE_HASHTABLE\((\w*)/\1/v/'
all_kconfigs | xargs $1 -a \
--langdef=kconfig --language-force=kconfig \
@@ -246,7 +247,8 @@ emacs()
--regex='/__TESTCLEARFLAG_FALSE(\([^,)]*\).*/__TestClearPage\1/' \
--regex='/_PE(\([^,)]*\).*/PEVENT_ERRNO__\1/' \
--regex='/PCI_OP_READ(\([a-z]*[a-z]\).*[1-4])/pci_bus_read_config_\1/' \
- --regex='/PCI_OP_WRITE(\([a-z]*[a-z]\).*[1-4])/pci_bus_write_config_\1/'
+ --regex='/PCI_OP_WRITE(\([a-z]*[a-z]\).*[1-4])/pci_bus_write_config_\1/'\
+ --regex='/DEFINE_HASHTABLE\((\w*)/\1/v/'
all_kconfigs | xargs $1 -a \
--regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/'