diff options
author | Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com> | 2008-01-08 09:16:24 -0500 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-01-28 17:14:38 -0500 |
commit | 2c81210a26fb84c0af6aad95f6ec1d61cf276cd0 (patch) | |
tree | 5fce9d7474c3b4c9ba28d99020aafe79aac17fe2 | |
parent | de83cf148aaefac8a538a076f2c3c4f33968e04a (diff) |
kbuild: ignore cache modifiers for generating the tags files
With this patch I'm able to find the definition of _xmit_lock defined in
include/linux/netdevice.h as follows:
struct net_device {
...
spinlock_t _xmit_lock ____cacheline_aligned_in_smp;
}
Otherwise this counts as definition of ____cacheline_aligned_in_smp.
Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1378,6 +1378,7 @@ define xtags | |||
1378 | if $1 --version 2>&1 | grep -iq exuberant; then \ | 1378 | if $1 --version 2>&1 | grep -iq exuberant; then \ |
1379 | $(all-sources) | xargs $1 -a \ | 1379 | $(all-sources) | xargs $1 -a \ |
1380 | -I __initdata,__exitdata,__acquires,__releases \ | 1380 | -I __initdata,__exitdata,__acquires,__releases \ |
1381 | -I __read_mostly,____cacheline_aligned,____cacheline_aligned_in_smp,____cacheline_internodealigned_in_smp \ | ||
1381 | -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \ | 1382 | -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \ |
1382 | --extra=+f --c-kinds=+px \ | 1383 | --extra=+f --c-kinds=+px \ |
1383 | --regex-asm='/^ENTRY\(([^)]*)\).*/\1/'; \ | 1384 | --regex-asm='/^ENTRY\(([^)]*)\).*/\1/'; \ |