lkml.org 
[lkml]   [2018]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/4] MIPS: Introduce isa-rev.h to define MIPS_ISA_REV
On Mon, Feb 26, 2018 at 05:02:41PM +0000, Matt Redfearn wrote:
> There are multiple instances in the kernel where we need to include or
> exclude particular instructions based on the ISA revision of the target
> processor. For MIPS32 / MIPS64, the compiler exports a __mips_isa_rev
> define. However, when targeting MIPS I - V, this define is absent. This
> leads to each use of __mips_isa_rev having to check that it is defined
> first. To simplify this, this series introduces the isa-rev.h header
> which always exports MIPS_ISA_REV (the name is changed so as to avoid
> confusion with the compiler builtin and to avoid accidentally using the
> builtin). All uses of __mips_isa_rev are then replaced with the new
> define, removing the check that it is defined.
>
> Applies on v4.16-rc1
>
>
> Matt Redfearn (4):
> MIPS: Introduce isa-rev.h to define MIPS_ISA_REV
> MIPS: cpu-features.h: Replace __mips_isa_rev with MIPS_ISA_REV
> MIPS: BPF: Replace __mips_isa_rev with MIPS_ISA_REV
> MIPS: VDSO: Replace __mips_isa_rev with MIPS_ISA_REV

Applied for 4.17,

Thanks
James
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2018-03-09 12:26    [W:0.410 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site