From: Uwe Kleine-König Date: Tue, 8 Jan 2008 14:16:24 +0000 (+0100) Subject: kbuild: ignore cache modifiers for generating the tags files X-Git-Tag: v2.6.25-rc1~1164^2~42 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c81210a26fb84c0af6aad95f6ec1d61cf276cd0;p=linux-2.6 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 Signed-off-by: Sam Ravnborg --- diff --git a/Makefile b/Makefile index 953359ed98..698dfc6ba6 100644 --- a/Makefile +++ b/Makefile @@ -1378,6 +1378,7 @@ define xtags if $1 --version 2>&1 | grep -iq exuberant; then \ $(all-sources) | xargs $1 -a \ -I __initdata,__exitdata,__acquires,__releases \ + -I __read_mostly,____cacheline_aligned,____cacheline_aligned_in_smp,____cacheline_internodealigned_in_smp \ -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \ --extra=+f --c-kinds=+px \ --regex-asm='/^ENTRY\(([^)]*)\).*/\1/'; \