Skip to content

Commit

Permalink
powerpc/ps3: Add macro PS3_VERBOSE_RESULT
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geoff Levand authored and Benjamin Herrenschmidt committed Feb 15, 2013
1 parent deb26c2 commit 4a564c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/include/asm/ps3.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)";
Expand Down

0 comments on commit 4a564c4

Please sign in to comment.