diff options
| author | Arnd Bergmann <[email protected]> | 2015-06-01 16:09:35 -0600 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2015-06-02 19:07:50 +0200 |
| commit | 451bb7fbccdc0f5d942227913afa5dea3afd12f7 (patch) | |
| tree | 0e47457317b2c99328f1eb94c2f1b87c4c9fbadd /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | 2ce39109a5062b06df440fbf2993ce9ab3bf6e08 (diff) | |
EDAC, xgene: Fix cpuid abuse
The new x-gene EDAC driver incorrectly tried to figure out the version
of one of its IP blocks by looking at the version of the CPU core, which
is only vagely related.
This removes the incorrect code and instead uses the version of the IP
block in the compatible string where it belongs.
Found using build testing on x86, which does not provide the arm64
cpuid interface.
Signed-off-by: Arnd Bergmann <[email protected]>
[ Changed subnode to "apm,xgene-edac-pmd-v2", adjusted check. ]
Signed-off-by: Loc Ho <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: linux-edac <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/3195065.IK73o60xya@wuerfel
Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions