diff options
author | Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com> | 2008-01-08 15:16:24 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-01-28 23:14:38 +0100 |
commit | 2c81210a26fb84c0af6aad95f6ec1d61cf276cd0 (patch) | |
tree | 5fce9d7474c3b4c9ba28d99020aafe79aac17fe2 | |
parent | de83cf148aaefac8a538a076f2c3c4f33968e04a (diff) | |
download | linux-stable-2c81210a26fb84c0af6aad95f6ec1d61cf276cd0.tar.gz linux-stable-2c81210a26fb84c0af6aad95f6ec1d61cf276cd0.tar.bz2 linux-stable-2c81210a26fb84c0af6aad95f6ec1d61cf276cd0.zip |
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 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/'; \ |