]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
sparc64: Rework auxio driver to save some text space.
authorDavid S. Miller <davem@davemloft.net>
Thu, 30 Oct 2008 06:18:41 +0000 (23:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Dec 2008 17:16:44 +0000 (09:16 -0800)
commit86821d18f9d8fd42fa3180ad3703d491aecc52d9
tree003f664c4bbe560968207a0067340fa3728e9b15
parent6d1e428a4e02761250c6498fe63657444fdfc3d5
sparc64: Rework auxio driver to save some text space.

Use common functions instead of inlining and duplicating logic
over and over to handle the SBUS vs. EBUS cases.

Before:

   text    data     bss     dec     hex filename
    715     568      16    1299     513 arch/sparc64/kernel/auxio.o

After:

   text    data     bss     dec     hex filename
    631     568      16    1215     4bf arch/sparc64/kernel/auxio.o

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/auxio.c