Skip to content

Commit

Permalink
Improve debug/pr_fmt for libpore
Browse files Browse the repository at this point in the history
Signed-off-by: Stewart Smith <[email protected]>
  • Loading branch information
stewartsmith committed Sep 22, 2015
1 parent 084f1de commit 6da0c3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libpore/p8_delta_scan_rw.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,12 @@
#define MY_DBG(_fmt_, _args_...) printf(_fmt_, ##_args_)
#else // End of SLW_COMMAND_LINE
#ifdef __SKIBOOT__
#define pr_fmt(fmt) "LIBPORE: " fmt
#include <skiboot.h>
//#define MY_INF(_fmt_, _args_...) printf(_fmt_, ##_args_)
//#define MY_INF(_fmt_, _args_...) prlog(PR_TRACE, _fmt_, ##_args_)
#define MY_INF(_fmt_, _args_...) do { } while(0)
#define MY_ERR(_fmt_, _args_...) prerror(_fmt_, ##_args_)
//#define MY_DBG(_fmt_, _args_...) prlog(PR_INSANE, _fmt_, ##_args_)
#define MY_DBG(_fmt_, _args_...) do { } while(0)
#else
#define MY_INF(_fmt_, _args_...) do { } while(0)
Expand Down

0 comments on commit 6da0c3e

Please sign in to comment.