forked from luck/tmp_suning_uos_patched
A build fix for octeon_edac from Aaro Koskinen.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJVlPv5AAoJEBLB8Bhh3lVKlxIP/35j4O/i4+xgw2CRQvAflJgz haUZsguT7QRXqbVmQdAMqyCrz77jnIIFIJEcoqpvpcHSVuNblbjBS6xc7u1UAfmF h7M+XIFZuIX7mp6svVJujN+VgP1Obgsx860bG335HIJZZzPfOfs31pisxUddXNpC deuP4opLlKcykioFF4GXhoLzDBoc2PLfPGczNRzw9HUisN2F+SK4NEa7iehp8RBX UCQTtwsLFuBzi4AHqAfrNKgDiEQ+DZ529sVh5bqAk/U8VDqUulKqIjLh0G75tYm2 SauVE2woOn4WqUTG8CJBjCTauL+BIc2LTcPh6qIzWxsgZnyeHCve/1QBBOMi/yk2 FAJYg2VDhPqj0OyUqC7JUXicB3ZKviWYTZ3knv9mIF8m98N8K4kAwGPuUkTc3Z2P fBBusvzb+6/OTN2WyQaLx8DjG/+Ha/o0AEeWE6S4A9+urCrJIx+Dkelt3dngdrVe kbHyvKmTPy13U1zEo5jmMZkjf7xNfotpckTIwCz3l00Z5AwPPVjC5KylhPvlwM7L BpftYJsPRJrIK0zkuU3Yfcrhy8U2QcQAV14IMEW1r5pZwpLH+EfoIHAbh8PWJc5C toporRXFc2R7MT1+0DA4faNzfwXXBLbT5BYRzNfTZPClAeSqKE0OPj4Ytv+JWyO5 kx3HK/kWiSH2SxQ1Sid1 =7C57 -----END PGP SIGNATURE----- Merge tag 'edac_urgent_for_4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp Pull EDAC fix from Borislav Petkov: "A build fix for octeon_edac from Aaro Koskinen" * tag 'edac_urgent_for_4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp: EDAC, octeon: Fix broken build due to model helper renames
This commit is contained in:
commit
b53343fc6c
|
@ -151,7 +151,7 @@ static int octeon_l2c_probe(struct platform_device *pdev)
|
|||
l2c->ctl_name = "octeon_l2c_err";
|
||||
|
||||
|
||||
if (OCTEON_IS_MODEL(OCTEON_FAM_1_PLUS)) {
|
||||
if (OCTEON_IS_OCTEON1PLUS()) {
|
||||
union cvmx_l2t_err l2t_err;
|
||||
union cvmx_l2d_err l2d_err;
|
||||
|
||||
|
|
|
@ -234,7 +234,7 @@ static int octeon_lmc_edac_probe(struct platform_device *pdev)
|
|||
layers[0].size = 1;
|
||||
layers[0].is_virt_csrow = false;
|
||||
|
||||
if (OCTEON_IS_MODEL(OCTEON_FAM_1_PLUS)) {
|
||||
if (OCTEON_IS_OCTEON1PLUS()) {
|
||||
union cvmx_lmcx_mem_cfg0 cfg0;
|
||||
|
||||
cfg0.u64 = cvmx_read_csr(CVMX_LMCX_MEM_CFG0(0));
|
||||
|
|
|
@ -73,7 +73,7 @@ static int co_cache_error_event(struct notifier_block *this,
|
|||
edac_device_handle_ce(p->ed, cpu, 0, "dcache");
|
||||
|
||||
/* Clear the error indication */
|
||||
if (OCTEON_IS_MODEL(OCTEON_FAM_2))
|
||||
if (OCTEON_IS_OCTEON2())
|
||||
write_octeon_c0_dcacheerr(1);
|
||||
else
|
||||
write_octeon_c0_dcacheerr(0);
|
||||
|
|
Loading…
Reference in New Issue
Block a user