lkml.org 
[lkml]   [2020]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.4 362/388] MIPS: Add the missing CPU_1074K into __get_cpu_type()
    Date
    From: Wei Li <liwei391@huawei.com>

    [ Upstream commit e393fbe6fa27af23f78df6e16a8fd2963578a8c4 ]

    Commit 442e14a2c55e ("MIPS: Add 1074K CPU support explicitly.") split
    1074K from the 74K as an unique CPU type, while it missed to add the
    'CPU_1074K' in __get_cpu_type(). So let's add it back.

    Fixes: 442e14a2c55e ("MIPS: Add 1074K CPU support explicitly.")
    Signed-off-by: Wei Li <liwei391@huawei.com>
    Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    arch/mips/include/asm/cpu-type.h | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/arch/mips/include/asm/cpu-type.h b/arch/mips/include/asm/cpu-type.h
    index 7bbb66760a07c..1809c408736b0 100644
    --- a/arch/mips/include/asm/cpu-type.h
    +++ b/arch/mips/include/asm/cpu-type.h
    @@ -47,6 +47,7 @@ static inline int __pure __get_cpu_type(const int cpu_type)
    case CPU_34K:
    case CPU_1004K:
    case CPU_74K:
    + case CPU_1074K:
    case CPU_M14KC:
    case CPU_M14KEC:
    case CPU_INTERAPTIV:
    --
    2.25.1


    \
     
     \ /
      Last update: 2020-09-29 13:56    [W:5.165 / U:0.264 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site