Commit 4a564c4d authored by Geoff Levand's avatar Geoff Levand Committed by Benjamin Herrenschmidt

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: default avatarGeoff Levand <geoff@infradead.org>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent deb26c27
...@@ -245,7 +245,7 @@ enum lv1_result { ...@@ -245,7 +245,7 @@ enum lv1_result {
static inline const char* ps3_result(int result) static inline const char* ps3_result(int result)
{ {
#if defined(DEBUG) #if defined(DEBUG) || defined(PS3_VERBOSE_RESULT)
switch (result) { switch (result) {
case LV1_SUCCESS: case LV1_SUCCESS:
return "LV1_SUCCESS (0)"; return "LV1_SUCCESS (0)";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment