diff options
author | Kirill Tkhai <tkhai@yandex.ru> | 2013-03-23 10:58:20 (GMT) |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2013-03-27 13:22:03 (GMT) |
commit | 987d0c8e9ded8d43843d602b6ab890d14745690f (patch) | |
tree | 8aaba2d94ed84a4a855f438812479dcad0eacd3f /scripts | |
parent | 6dbe51c251a327e012439c4772097a13df43c5b8 (diff) | |
download | linux-987d0c8e9ded8d43843d602b6ab890d14745690f.tar.xz |
scripts/tags.sh: Add magic for OFFSET and DEFINE
Add rules for definitions which is generally used in asm-offsets files.
Signed-off-by: Kirill V Tkhai <tkhai@yandex.ru>
CC: Michal Marek <mmarek@suse.cz>
CC: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/tags.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/tags.sh b/scripts/tags.sh index 26a87e6..74f02e4 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh @@ -199,7 +199,9 @@ exuberant() --regex-c='/DEFINE_PER_CPU_SHARED_ALIGNED\(([^,]*,\s*)(\w*).*\)/\2/v/' \ --regex-c='/DECLARE_WAIT_QUEUE_HEAD\((\w*)/\1/v/' \ --regex-c='/DECLARE_(TASKLET|WORK|DELAYED_WORK)\((\w*)/\2/v/' \ - --regex-c='/DEFINE_PCI_DEVICE_TABLE\((\w*)/\1/v/' + --regex-c='/DEFINE_PCI_DEVICE_TABLE\((\w*)/\1/v/' \ + --regex-c='/(^\s)OFFSET\((\w*)/\2/v/' \ + --regex-c='/(^\s)DEFINE\((\w*)/\2/v/' all_kconfigs | xargs $1 -a \ --langdef=kconfig --language-force=kconfig \ |