diff options
author | David S. Miller <davem@davemloft.net> | 2018-10-14 20:19:31 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-13 11:14:50 -0800 |
commit | f26f0ff7dd8afb9057e8cef81344a2e71bf3e4e0 (patch) | |
tree | 87ec742557ad342ed42e5ae9dce82b5b2ee724c2 /arch/sparc | |
parent | c37b554f7d71fb92fa58a4c0a8476b54a24ca4e2 (diff) | |
download | linux-exynos-f26f0ff7dd8afb9057e8cef81344a2e71bf3e4e0.tar.gz linux-exynos-f26f0ff7dd8afb9057e8cef81344a2e71bf3e4e0.tar.bz2 linux-exynos-f26f0ff7dd8afb9057e8cef81344a2e71bf3e4e0.zip |
sparc64: Make proc_id signed.
[ Upstream commit b3e1eb8e7ac9aaa283989496651d99267c4cad6c ]
So that when it is unset, ie. '-1', userspace can see it
properly.
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/include/asm/cpudata_64.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/cpudata_64.h b/arch/sparc/include/asm/cpudata_64.h index 666d6b5c0440..9c3fc03abe9a 100644 --- 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); |