From: Aneesh Kumar K.V <aneesh.kumar@gmail.com>
Date: Tue, 17 Oct 2006 07:10:32 +0000 (-0700)
Subject: [PATCH] Add entry.S labels to tag file
X-Git-Tag: v2.6.19-rc3~160
X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=91b943ee4afa2037678dc1db30b89baef0e17090;p=linux-2.6-omap-h63xx.git

[PATCH] Add entry.S labels to tag file

Add functions defined using ENTRY macro to the tags file.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
---

diff --git a/Makefile b/Makefile
index 703d40a65e7..62a1343cf32 100644
--- a/Makefile
+++ b/Makefile
@@ -1319,7 +1319,8 @@ define xtags
 	    $(all-sources) | xargs $1 -a \
 		-I __initdata,__exitdata,__acquires,__releases \
 		-I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \
-		--extra=+f --c-kinds=+px; \
+		--extra=+f --c-kinds=+px \
+		--regex-asm='/ENTRY\(([^)]*)\).*/\1/'; \
 	    $(all-kconfigs) | xargs $1 -a \
 		--langdef=kconfig \
 		--language-force=kconfig \