From patchwork Wed Jan 26 23:29:26 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mandeep Singh Baines X-Patchwork-Id: 512871 Received: from smtp1.linux-foundation.org (smtp1.linux-foundation.org [140.211.169.13]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0RGA4xD025503 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Thu, 27 Jan 2011 16:10:26 GMT Received: from daredevil.linux-foundation.org (localhost [127.0.0.1]) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id p0RG8cDv004345; Thu, 27 Jan 2011 08:08:39 -0800 Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.67]) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id p0QNUquE029890 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 26 Jan 2011 15:30:54 -0800 Received: from hpaq7.eem.corp.google.com (hpaq7.eem.corp.google.com [172.25.149.7]) by smtp-out.google.com with ESMTP id p0QNUDxi015470; Wed, 26 Jan 2011 15:30:13 -0800 Received: from msb.mtv.corp.google.com (msb.mtv.corp.google.com [172.22.72.160]) by hpaq7.eem.corp.google.com with ESMTP id p0QNUBw9029272; Wed, 26 Jan 2011 15:30:12 -0800 Received: by msb.mtv.corp.google.com (Postfix, from userid 55285) id 57F48246102; Wed, 26 Jan 2011 15:30:11 -0800 (PST) From: Mandeep Singh Baines To: gregkh@suse.de, rjw@sisk.pl, mingo@redhat.com, akpm@linux-foundation.org Date: Wed, 26 Jan 2011 15:29:26 -0800 Message-Id: <1296084570-31453-3-git-send-email-msb@chromium.org> X-Mailer: git-send-email 1.7.3.1 In-Reply-To: <20110125235700.GR8008@google.com> References: <20110125235700.GR8008@google.com> X-System-Of-Record: true Received-SPF: pass (localhost is always allowed.) X-Spam-Status: No, hits=-4.876 required=5 tests=AWL, BAYES_00, OSDL_HEADER_SPF_PASS, OSDL_HEADER_SUBJECT_BRACKETED X-Spam-Checker-Version: SpamAssassin 3.2.4-osdl_revision__1.47__ X-MIMEDefang-Filter: lf$Revision: 1.188 $ X-Scanned-By: MIMEDefang 2.63 on 140.211.169.21 X-Mailman-Approved-At: Thu, 27 Jan 2011 08:08:06 -0800 Cc: linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-pm@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Mandeep Singh Baines Subject: [linux-pm] [PATCH 2/6] arch/x86: use appropriate printk priority level X-BeenThere: linux-pm@lists.linux-foundation.org X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux power management List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 27 Jan 2011 16:12:30 +0000 (UTC) diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c index ffe5755..dbf2cbc 100644 --- a/arch/x86/kernel/tsc.c +++ b/arch/x86/kernel/tsc.c @@ -373,7 +373,7 @@ static unsigned long quick_pit_calibrate(void) goto success; } } - printk("Fast TSC calibration failed\n"); + printk(KERN_WARNING "Fast TSC calibration failed\n"); return 0; success: @@ -395,7 +395,7 @@ success: delta += (long)(d2 - d1)/2; delta *= PIT_TICK_RATE; do_div(delta, i*256*1000); - printk("Fast TSC calibration using PIT\n"); + printk(KERN_INFO "Fast TSC calibration using PIT\n"); return delta; } @@ -518,7 +518,8 @@ unsigned long native_calibrate_tsc(void) /* We don't have an alternative source, disable TSC */ if (!hpet && !ref1 && !ref2) { - printk("TSC: No reference (HPET/PMTIMER) available\n"); + printk(KERN_WARNING + "TSC: No reference (HPET/PMTIMER) available\n"); return 0; } @@ -1002,7 +1003,7 @@ void __init tsc_init(void) return; } - printk("Detected %lu.%03lu MHz processor.\n", + printk(KERN_INFO "Detected %lu.%03lu MHz processor.\n", (unsigned long)cpu_khz / 1000, (unsigned long)cpu_khz % 1000); diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c index 0fe27d7..0da6907 100644 --- a/arch/x86/platform/efi/efi.c +++ b/arch/x86/platform/efi/efi.c @@ -376,7 +376,7 @@ void __init efi_init(void) if (config_tables == NULL) printk(KERN_ERR "Could not map EFI Configuration Table!\n"); - printk(KERN_INFO); + printk(KERN_INFO " "); for (i = 0; i < efi.systab->nr_tables; i++) { if (!efi_guidcmp(config_tables[i].guid, MPS_TABLE_GUID)) { efi.mps = config_tables[i].table;