lkml.org 
[lkml]   [2020]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] MIPS: Limit check_bugs32() to affected platform
From
Date


On 4/9/2020 8:20 PM, Tiezhu Yang wrote:
> In the current code, check_bugs32() only handles MIPS32 CPU type CPU_34K,
> it is better to build and call it on the affected platform.
>
> Move check_bugs32() to the new added 34k-bugs32.c to indicate the fact that
> the code is specific to the 34k CPU, and also add CONFIG_CPU_34K_BUGS32 to
> control whether or not check the bugs.
>
> Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>

This is not a whole lot of code, so moving this to a separate
translation unit seems a bit heavy handed, also file renames, albeit
tracked properly by git are always a challenge when doing back ports.
--
Florian

\
 
 \ /
  Last update: 2020-04-10 18:26    [W:0.071 / U:3.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site