Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp6013215iob; Tue, 10 May 2022 08:28:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRYUcRmPljpFueSHHmbQ4qWjXZB1CV0WVU6losYYKdP3fiLQnLND1dV8k7ZjJ7r/2EFAsG X-Received: by 2002:a63:7d5:0:b0:3db:33c:4983 with SMTP id 204-20020a6307d5000000b003db033c4983mr1639637pgh.199.1652196494900; Tue, 10 May 2022 08:28:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652196494; cv=none; d=google.com; s=arc-20160816; b=yCYj+pH8sKtZnKpQsZgvkhM9k4Z08VDjJifxYVDM+JDfEtgQi/rQs3h0IDVnMQVwWa f3jcGxrJqKuvHVdHTeseb/LhTXISK6tdhOQ3qGseTo6wlb6jMGVMTxywL0GtQp9CPToT cH5t8Ic4nZyacG6l8lFUvwEq2wiafvKpMPI9qtjvJarbl6xZCghNEUqFDFO+e0xuw81m hyeZp8ukG6Y2qznCX5wwcG/sTCcKJ97oQTeyfovKTqqcdnI53sUfGZBFlSje896FdSRp bcK+s0LdZrpa4LKFR8aO/RROHiWxMinlDxcdte1GQWKR3IWaB0Fc5EVhgTFQfvXZ06C3 6BhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=z1h3NITmSqHyH15D1fJLQL7mBRBSdZ5BPdAUOEgOyhU=; b=DmpizTN1X3nzVrH8TgjuHSVVcPlOXMW3VAnKs7uU3rCQPjHyMp+TMpjhwmYIpbw0Ye u8/4kMAvJC3xzqDNu6lNkxGI5g+HT54NSYKOrRorgVDZD5kEOntjgTpq5l0qZGxlGR1s dem11myzJUwMF8x3y68UTnOsC66kX37FjNsU65prWy0emCEpPDTKMkMqdAq8UoG05nw1 Zdj3xCyCP7Rg6YVoCL5/ZVUv6upbvkjtz+mqPxo5Mt0OBxcDMumr/6CKuwnouxBgK/4w 4g/XknP+ASqgWJz2pwPl5eFl2XcOXnykhelle9vZo2At8m0tJMZ76h7IwCz+T8ns06RO P2pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=BHYswWnu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k187-20020a633dc4000000b003c6c6e041f1si8917143pga.654.2022.05.10.08.27.57; Tue, 10 May 2022 08:28:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=BHYswWnu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243553AbiEJNxf (ORCPT + 99 others); Tue, 10 May 2022 09:53:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244123AbiEJNgv (ORCPT ); Tue, 10 May 2022 09:36:51 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 603CC2D9ED1; Tue, 10 May 2022 06:25:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6EAFD617B0; Tue, 10 May 2022 13:25:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B9ADC385C2; Tue, 10 May 2022 13:25:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1652189122; bh=NZhQevZcqdnSmjHIeiRhCKNQNiuW3X6d3Bp6k7e4zGc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BHYswWnubzQuT+DmyWFzjGCWwXqiF2yhCRt60ufJDJQovHwVCtnZqhbB0j5BblrVn kc5BUH3wTi2tUnobGT3UPaOC1UHFhb9Dgt080p1RsPX5pPtFsKaKrwtyqn/Ud3Vb9Y pBrnu2AsBKuXhN3JTOyxjqRzIXR8SIzRNQMXQaRw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Helge Deller Subject: [PATCH 5.10 02/70] parisc: Merge model and model name into one line in /proc/cpuinfo Date: Tue, 10 May 2022 15:07:21 +0200 Message-Id: <20220510130732.935799125@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220510130732.861729621@linuxfoundation.org> References: <20220510130732.861729621@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Helge Deller commit 5b89966bc96a06f6ad65f64ae4b0461918fcc9d3 upstream. The Linux tool "lscpu" shows the double amount of CPUs if we have "model" and "model name" in two different lines in /proc/cpuinfo. This change combines the model and the model name into one line. Signed-off-by: Helge Deller Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- arch/parisc/kernel/processor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/arch/parisc/kernel/processor.c +++ b/arch/parisc/kernel/processor.c @@ -419,8 +419,7 @@ show_cpuinfo (struct seq_file *m, void * } seq_printf(m, " (0x%02lx)\n", boot_cpu_data.pdc.capabilities); - seq_printf(m, "model\t\t: %s\n" - "model name\t: %s\n", + seq_printf(m, "model\t\t: %s - %s\n", boot_cpu_data.pdc.sys_model_name, cpuinfo->dev ? cpuinfo->dev->name : "Unknown");