Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759837AbYBAUco (ORCPT ); Fri, 1 Feb 2008 15:32:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757097AbYBAUcg (ORCPT ); Fri, 1 Feb 2008 15:32:36 -0500 Received: from fg-out-1718.google.com ([72.14.220.157]:47545 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752730AbYBAUcf (ORCPT ); Fri, 1 Feb 2008 15:32:35 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type:content-disposition:user-agent; b=SbaUR1R+lbaVrUJKCnxUipWeApsVvpNu+vtkFnHFd95jkCvLhlRULT5bAy+zWn1ShSTyyCycOuRGWj0wWrZkPRZwbeYBD/5+UvRJKW+jE+cQPzIq7N/cJjjxZdwI4DJ8JPKgk/KvzBY3A0jEDPYIae7nW50zb62HDodY6yj4s/8= Date: Fri, 1 Feb 2008 21:31:51 +0100 From: Marcin Slusarz To: LKML Cc: Thomas Gleixner , Ingo Molnar Subject: [PATCH] x86: fix cpu info in dmesg Message-ID: <20080201203142.GA6305@joi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1353 Lines: 39 I'm not sure whether it's the right fix, but it doesn't make sense to call print_cpu_info without leading printk... --- fix print_cpu_info, because it produced on boot: CPU: <6>AMD Athlon(tm) 64 Processor 3200+ stepping 00 instead of CPU: AMD Athlon(tm) 64 Processor 3200+ stepping 00 (broken since 04e1ba852132c9ad006affcd5b8c8606295170b0 - x86: cleanup kernel/setup_64.c) Signed-off-by: Marcin Slusarz Cc: Thomas Gleixner Cc: Ingo Molnar --- arch/x86/kernel/setup_64.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c index 77fb87b..f3b30b9 100644 --- a/arch/x86/kernel/setup_64.c +++ b/arch/x86/kernel/setup_64.c @@ -1039,7 +1039,7 @@ __setup("noclflush", setup_noclflush); void __cpuinit print_cpu_info(struct cpuinfo_x86 *c) { if (c->x86_model_id[0]) - printk(KERN_INFO "%s", c->x86_model_id); + printk(KERN_CONT "%s", c->x86_model_id); if (c->x86_mask || c->cpuid_level >= 0) printk(KERN_CONT " stepping %02x\n", c->x86_mask); -- 1.5.3.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/