diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2010-02-07 18:25:59 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-02-17 07:59:13 -0500 |
commit | f81b1be40c44b33b9706d64c117edd29e627ad12 (patch) | |
tree | 6977ad3196429112dc02fc44cd6d901dc032990d /usr | |
parent | d0679c730395d0bde9a46939e7ba255b4ba7dd7c (diff) |
tags: include headers before source files
Currently looking up a structure definition in TAGS / tags takes one to
one of multiple "static struct X" definitions in arch sources, which makes
it for many structs practically impossible to get to the required header.
This patch changes the order of sources being tagged to first scan
architecture includes, then the top-level include/ directory, and only
then the rest. It also takes into account, that many architectures have
more than one include directory, i.e., not only arch/$ARCH/include, but
also arch/$ARCH/mach-X/include etc.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Reviewed-by: WANG Cong <xiyou.wangcong@gmail.com>
[mmarek@suse.cz: fix 'var+=text' bashism]
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions