mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
arm64: cpuinfo: compat task get hwcap from compat_hwcap_str
backport 3.10 patch Change-Id: Ice8b552450f34772ece0a56f04ba758886c955e2 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@@ -136,7 +136,8 @@ static const char *const compat_hwcap2_str[] = {
|
||||
static int c_show(struct seq_file *m, void *v)
|
||||
{
|
||||
int i, j;
|
||||
bool compat = personality(current->personality) == PER_LINUX32;
|
||||
bool compat = personality(current->personality) == PER_LINUX32 ||
|
||||
is_compat_task();
|
||||
|
||||
for_each_online_cpu(i) {
|
||||
struct cpuinfo_arm64 *cpuinfo = &per_cpu(cpu_data, i);
|
||||
|
||||
Reference in New Issue
Block a user