From: Geoff Levand Date: Wed, 13 Feb 2013 17:03:16 +0000 (+0000) Subject: powerpc/ps3: Add macro PS3_VERBOSE_RESULT X-Git-Tag: upstream/snapshot3+hdmi~5669^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4a564c4d1fc7f077c6135afe5c2890a262d71264;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/include/asm/ps3.h b/arch/powerpc/include/asm/ps3.h index 0e15db4..678a7c1 100644 --- a/arch/powerpc/include/asm/ps3.h +++ b/arch/powerpc/include/asm/ps3.h @@ -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)";