* [PATCH] Don't sort kallsyms symbols twice
@ 2002-12-02 1:26 Rusty Russell
0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2002-12-02 1:26 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel
Linus, please apply.
Trivial optimization from Andrew Morton.
Name: Don't sort kallsyms symbols twice
Author: Andrew Morton
Status: Trivial
D: scripts/kallsyms | 2 +-
D: 1 files changed, 1 insertion(+), 1 deletion(-)
--- 25/scripts/kallsyms~b Tue Nov 19 21:54:27 2002
+++ 25-akpm/scripts/kallsyms Tue Nov 19 21:54:34 2002
@@ -31,7 +31,7 @@ encode_symbols()
}
# FIXME: Use System.map as input, and regenerate each time in Makefile.
-$NM $1 | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > kallsyms.map
+$NM -n $1 | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > kallsyms.map
encode_symbols kallsyms.map > kallsyms.c
$CC $CFLAGS -c -o $2 kallsyms.c
_
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-02 1:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-02 1:26 [PATCH] Don't sort kallsyms symbols twice Rusty Russell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome