[PATCH 2/2] powerpc: Make early debugging configurable via Kconfig

Stephen Rothwell sfr at canb.auug.org.au
Wed Jan 11 14:28:46 EST 2006


On Wed, 11 Jan 2006 11:54:09 +1100 Michael Ellerman <michael at ellerman.id.au> wrote:
>
> This patch adds Kconfig entries to control the early debugging options,
> currently in setup_64.c.
> 
> Doing this via Kconfig rather than #defines means you can have one source tree,
> which is buildable for multiple platforms - and you can enable the correct
> early debug option for each platform via .config.
> 
> I made udbg_early_init() a static inline because otherwise GCC is to daft to
> optimise it away when debugging is off.

The above sentence is no longer relevant (in this revised patch).

> Now that we have udbg_init_rtas() we can make call_rtas_display_status* static.
> 
> Signed-off-by: Michael Ellerman <michael at ellerman.id.au>

Acked-by: Stephen Rothwell <sfr at canb.auug.org.au>

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20060111/b1e44f1a/attachment.pgp 


More information about the Linuxppc64-dev mailing list