Skip to content
Commit 64f6c287 authored by H.J. Lu's avatar H.J. Lu
Browse files

x86: Handle _SC_LEVEL1_ICACHE_LINESIZE [BZ #27444]



commit 2d651eb9
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Sep 18 07:55:14 2020 -0700

    x86: Move x86 processor cache info to cpu_features

missed _SC_LEVEL1_ICACHE_LINESIZE.

1. Add level1_icache_linesize to struct cpu_features.
2. Initialize level1_icache_linesize by calling handle_intel,
handle_zhaoxin and handle_amd with _SC_LEVEL1_ICACHE_LINESIZE.
3. Return level1_icache_linesize for _SC_LEVEL1_ICACHE_LINESIZE.

Reviewed-by: default avatarCarlos O'Donell <carlos@redhat.com>
(cherry picked from commit f53ffc9b)
parent 32b9280f
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