Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp2461085imd; Fri, 2 Nov 2018 11:48:30 -0700 (PDT) X-Google-Smtp-Source: AJdET5dEXzDn6u9tGSSfLY/9bIzymowZDjjFry7row3OXEO8RcSYIlY0UUi291QY3IGsAN5B7DwW X-Received: by 2002:a17:902:1129:: with SMTP id d38-v6mr12861645pla.270.1541184510735; Fri, 02 Nov 2018 11:48:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541184510; cv=none; d=google.com; s=arc-20160816; b=dC6HT9IfZH3DFmFGRJ7VDZ15f4Kz6mn7FNGWWPsPuLpxlPfQIwzuAewqM0MBVmUfz3 EoJBM/neaR0FEwVFW8k5AvDxLBGW3qnJPoHT/aDFbqaX6e0fgAmwqcoaKOX4ibtLkDY+ E1GLYACcpSo+tpsJBGRiebbkDAvFtE6hV7qRyFlO2GEQ704upNaYVfJU5j8Zdyd48qx2 SNhHatH7uPE/wlWL7NpG1RfRrUvkR/JT6C2+SXvnt236ojSJeehekFjwzAfLclVMfpzZ iGgYcyHONiL0O1z8p38LSd1B8pAVNceNrGuWfc5LRZ6FCyIg8B5PVCeFbIaHlIc32Fsd rH1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=J1lnBrib6DkVBbTq666h5f3SFdSX6+gG5y/RGAFe+/w=; b=x+9MbwC7W8Xx8ejyBPbh8Q6tpbHkCogazdz0KNFlJUU2jWL3o9eS1Lj1yL+lzhq++A ka4Z4jv2lUe0a5zLYH8sUptt5kwGn4hRgZnw5zbOiuMXk6J+CPxspIcgyGxn2IETxSnp N9Hl9/gF4APHob2Rrt2cz4LPOh5IlMfCAU85bf4ltm7bocrrZbs9ZcGAd21V6MPNozD5 bUzMC1nF2Mq7eCMnySgeHVhD6q+JGTM3Qqrc3HO3ugFgL6+sDRsljiTdhyUHhwkSHVCQ M3q9dk1zFTpy980fHTQ7T/Vs9fNRhCvhs1+wyzq7XDdTKag5+2WLM0u3BHkKqmeZOxaB dasQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cBA2UDlV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 14-v6si34335613pgx.181.2018.11.02.11.48.15; Fri, 02 Nov 2018 11:48:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cBA2UDlV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730305AbeKCDyN (ORCPT + 99 others); Fri, 2 Nov 2018 23:54:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:50086 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729136AbeKCDyN (ORCPT ); Fri, 2 Nov 2018 23:54:13 -0400 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CFA5320837; Fri, 2 Nov 2018 18:45:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541184360; bh=1Q42upTfOLAomH7v1bDA5XsBqrESrmEVV1CB+seGhTE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cBA2UDlVkms4B2XKtACWbZ62XxtpEx81zOCSrWtcLKFyorpXVohzW449I24drigDC yBm7AYUaQWZzAdO+EfV9KWr62JE1jLc3mWd/oIVMfPmA1Kh4xEaqTuUnRQtZcKx7ki QKPqQhMm/+8fR+TOIvlrutyZSqdLU2faacjPmFbk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "David S. Miller" Subject: [PATCH 4.18 144/150] sparc64: Make proc_id signed. Date: Fri, 2 Nov 2018 19:35:06 +0100 Message-Id: <20181102182912.482190237@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181102182902.250560510@linuxfoundation.org> References: <20181102182902.250560510@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: "David S. Miller" [ Upstream commit b3e1eb8e7ac9aaa283989496651d99267c4cad6c ] So that when it is unset, ie. '-1', userspace can see it properly. Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- arch/sparc/include/asm/cpudata_64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/sparc/include/asm/cpudata_64.h +++ b/arch/sparc/include/asm/cpudata_64.h @@ -28,7 +28,7 @@ typedef struct { unsigned short sock_id; /* physical package */ unsigned short core_id; unsigned short max_cache_id; /* groupings of highest shared cache */ - unsigned short proc_id; /* strand (aka HW thread) id */ + signed short proc_id; /* strand (aka HW thread) id */ } cpuinfo_sparc; DECLARE_PER_CPU(cpuinfo_sparc, __cpu_data);