Convert mp() to dprintf()
authorMatt Fleming <matt.fleming@linux.intel.com>
Tue, 8 Mar 2011 13:13:28 +0000 (13:13 +0000)
committerMatt Fleming <matt.fleming@linux.intel.com>
Wed, 9 Mar 2011 14:32:36 +0000 (14:32 +0000)
commitf1a65c520b2d7d8d15034d704c0c91842e7cbdc1
tree90646c6de15f5ee37f87ebe7127b5e9aa46aa390
parent1357b7e627064e7c498ae6107b141c3d2aed3a46
Convert mp() to dprintf()

There's only one function required for printing debugging information
and that is dprintf() - there is no need to invent another. dprintf()
is also superior to mp() because it can be enabled/disabled on a
per-file basis via the DEBUG symbol.

Switch all users of mp() to dprintf() and leave them disabled (don't
define the DEBUG) so we have a less verbose boot by default.

Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
com32/elflink/ldlinux/cli.c
com32/elflink/ldlinux/readconfig.c
com32/elflink/modules/menumain.c
com32/elflink/modules/test.c
com32/include/sys/module.h
com32/lib/sys/module/elf_module.c
com32/lib/sys/module/exec.c
core/elflink/execute.c
core/elflink/kernel.c
core/mem/init.c