sh: Tidy up the dwarf module helpers.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 13 Oct 2009 04:32:19 +0000 (13:32 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 13 Oct 2009 04:32:19 +0000 (13:32 +0900)
commit5a3abba77dc0eb0b00332c21899123cdfa3b19e5
treecb0b52bcb90f5c680faba380a0832203bdad2fed
parentac4fac8cb24ab209ae373a3e3e9995dff7d0c394
sh: Tidy up the dwarf module helpers.

This enables us to build the dwarf unwinder both with modules enabled and
disabled in addition to reducing code size in the latter case. The
helpers are also consolidated, and modified to resemble the BUG module
helpers.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/dwarf.h
arch/sh/kernel/dwarf.c
arch/sh/kernel/module.c