From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762507AbZEOSDi (ORCPT ); Fri, 15 May 2009 14:03:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761893AbZEOSAN (ORCPT ); Fri, 15 May 2009 14:00:13 -0400 Received: from 136-022.dsl.LABridge.com ([206.117.136.22]:2064 "EHLO mail.perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760700AbZEOSAJ (ORCPT ); Fri, 15 May 2009 14:00:09 -0400 From: Joe Perches To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, Andrew Morton , James Morris , David Rientjes , Serge Hallyn , David Howells Subject: [PATCH 11/11] mm: Convert #ifdef DEBUG printk(KERN_DEBUG to pr_debug( Date: Fri, 15 May 2009 10:59:45 -0700 Message-Id: X-Mailer: git-send-email 1.6.3.1.9.g95405b.dirty In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Joe Perches Signed-off-by: Joe Perches --- mm/oom_kill.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/mm/oom_kill.c b/mm/oom_kill.c index 92bcf1d..8f7fb51 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c @@ -159,10 +159,8 @@ unsigned long badness(struct task_struct *p, unsigned long uptime) points >>= -(p->oomkilladj); } -#ifdef DEBUG - printk(KERN_DEBUG "OOMkill: task %d (%s) got %lu points\n", - p->pid, p->comm, points); -#endif + pr_debug("OOMkill: task %d (%s) got %lu points\n", + p->pid, p->comm, points); return points; } -- 1.6.3.1.9.g95405b.dirty