Skip to content
Commit 6243ecc8 authored by Jiaxun Yang's avatar Jiaxun Yang Committed by Paul Gortmaker
Browse files

MIPS: elf_hwcap: Export userspace ASEs



commit 38dffe1e upstream.

A Golang developer reported MIPS hwcap isn't reflecting instructions
that the processor actually supported so programs can't apply optimized
code at runtime.

Thus we export the ASEs that can be used in userspace programs.

Reported-by: default avatarMeng Zhuo <mengzhuo1203@gmail.com>
Signed-off-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
Cc: linux-mips@vger.kernel.org
Cc: Paul Burton <paul.burton@mips.com>
Cc: <stable@vger.kernel.org> # 4.14+
Signed-off-by: default avatarPaul Burton <paul.burton@mips.com>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent ae0799a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment