Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3437556imu; Sun, 11 Nov 2018 15:05:22 -0800 (PST) X-Google-Smtp-Source: AJdET5fRpPq0s3/yW1sr/TKWkEBNjYA9evuaTuzxROc7af5BV+F6E7dOR+ibvmjMth3Y6Zyi20xJ X-Received: by 2002:a62:cc4:: with SMTP id 65-v6mr17703694pfm.127.1541977522108; Sun, 11 Nov 2018 15:05:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541977522; cv=none; d=google.com; s=arc-20160816; b=kik1X7UbgEkyW2AsH/CyEbEQPq8U4RBNvhqZ4YWtSY+AwTGRHJH9KmO4Ojo47iE9Ea HurvjiycqbK3LzUsVp6bq4oYLWc7Wf3QkB/9i7hxb3MXo/nb/leD9+sK1raw368MhgTw 2CHOF8mlaeS6WqIYUxvPbo6764EIRxX7sQxweYwDlpqX7986xUvsuAG4JDCR9nPB4oJx lFjJzhQKV0u6+ovxjw0Bjkx4YWI+g+7y3nBaxeuEg62w6OWfT0y9rZpr9WAO6nBN+GoJ V8qjCIIFrCWoJPG9sYVjjq6iUVpPPj6u7tdSUDGrEQ6Vsj9gUUFnM1DjRhFQ7UzQty2+ o8dA== 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=47lXbCGSmimNl73gKYBKL9O2YuhIMOdya/uHt7i/m4E=; b=ui8GwiFcyg3Kb9S8wLQ3207MVDjv4G+79YsFFY7ODAOuVXAHXDk6HWSqmcQrJGqZBW OJ/fKk7dSWOOasGF/TkHKQoT9WyINM9DYqXew1dxmOUPGqa9DiI0JQH0n4fcmvgCsG1k URQT81+TUaKeTUdOIeLEOc0epMBNqG3DOAYNZMCJso7pCf5jhzOWZbcaHF7AaaRrAlyr ohY/5ZkVSrjQfc9vSmpT2k6wMFwml89/3XfB4HKhmbmcSku2b0KxzBG5pJvzmanpymJG KkZi6MZhmhOjXdXybL3kx7EL5chap6usPhPk8MOqPUMncSIaRI9qDesQM4EBMXPt2vaq 5voQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jaTocbD+; 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 e9si1247947plt.330.2018.11.11.15.05.06; Sun, 11 Nov 2018 15:05:22 -0800 (PST) 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=jaTocbD+; 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 S2403749AbeKLIyv (ORCPT + 99 others); Mon, 12 Nov 2018 03:54:51 -0500 Received: from mail.kernel.org ([198.145.29.99]:51200 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390481AbeKLIWS (ORCPT ); Mon, 12 Nov 2018 03:22:18 -0500 Received: from localhost (unknown [206.108.79.134]) (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 6ED3C21508; Sun, 11 Nov 2018 22:32:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541975541; bh=1DYQzYOoL+7MHKqAfqothTKRMIBoXDAinC+a5UBPc44=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jaTocbD+rUj4kTLZ0FQHu8Psp8TR42CftX3nVHaTSvdIc/V7GP6lNH6RTwp+7eYpw +5PXSM6BfpesidVhArY1g6nmMcmJ+oIz39xYfzrRgk+zNr+EFDmfOPr2dHFPrAJA7T 6m1vGL6k09XUiCAyazy6VhbIIj26cw6pZw37k3sE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "David S. Miller" , Sasha Levin Subject: [PATCH 4.14 031/222] sparc64: Make proc_id signed. Date: Sun, 11 Nov 2018 14:22:08 -0800 Message-Id: <20181111221651.013014265@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181111221647.665769131@linuxfoundation.org> References: <20181111221647.665769131@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.14-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: Sasha Levin 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);