mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-12 00:38:55 +00:00
powerpc/ps3: Add macro PS3_VERBOSE_RESULT
To allow more control of the verbosity of ps3_result() add a check for the preprocessor macro PS3_VERBOSE_RESULT that builds a verbose verion of the ps3_result() routine. Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
deb26c274d
commit
4a564c4d1f
@ -245,7 +245,7 @@ enum lv1_result {
|
||||
|
||||
static inline const char* ps3_result(int result)
|
||||
{
|
||||
#if defined(DEBUG)
|
||||
#if defined(DEBUG) || defined(PS3_VERBOSE_RESULT)
|
||||
switch (result) {
|
||||
case LV1_SUCCESS:
|
||||
return "LV1_SUCCESS (0)";
|
||||
|
Loading…
x
Reference in New Issue
Block a user