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-Url: https://git.stricted.de/?a=commitdiff_plain;h=2c81210a26fb84c0af6aad95f6ec1d61cf276cd0;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 953359ed9871..698dfc6ba65c 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/'; \