aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>2008-01-08 09:16:24 -0500
committerSam Ravnborg <sam@ravnborg.org>2008-01-28 17:14:38 -0500
commit2c81210a26fb84c0af6aad95f6ec1d61cf276cd0 (patch)
tree5fce9d7474c3b4c9ba28d99020aafe79aac17fe2
parentde83cf148aaefac8a538a076f2c3c4f33968e04a (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--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 953359ed9871..698dfc6ba65c 100644
--- a/Makefile
+++ b/Makefile
@@ -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/'; \