From: Dmitry Voytik Date: Sat, 16 Mar 2013 07:37:26 +0000 (+0400) Subject: staging: android: lowmemorykiller: well-marked debug print X-Git-Tag: v3.10-rc1~192^2~532 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b83f9150ff5d23355fc3baf6960801fb1525f77;p=platform%2Fkernel%2Flinux-3.10.git staging: android: lowmemorykiller: well-marked debug print Add "lowmemorykiller:" prefix to the debug print so it's easier to analyse LMK's debug output: dmesg | grep lowmemorykiller Signed-off-by: Dmitry Voytik Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/android/lowmemorykiller.c b/drivers/staging/android/lowmemorykiller.c index 53d80c2..fe74494 100644 --- a/drivers/staging/android/lowmemorykiller.c +++ b/drivers/staging/android/lowmemorykiller.c @@ -30,6 +30,8 @@ * */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include #include #include @@ -61,7 +63,7 @@ static unsigned long lowmem_deathpending_timeout; #define lowmem_print(level, x...) \ do { \ if (lowmem_debug_level >= (level)) \ - printk(x); \ + pr_info(x); \ } while (0) static int lowmem_shrink(struct shrinker *s, struct shrink_control *sc)