Re: [PATCH 1/2 for-4.3] MIPS: BPF: Avoid unreachable code on little endian

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/05/2015 05:46 PM, Aurelien Jarno wrote:
> On little endian, avoid generating the big endian version of the code
> by using #else in addition to #ifdef #endif. Also fix one alignment
> issue wrt delay slot.
> 
> Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
> Cc: Markos Chandras <markos.chandras@xxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx # v4.2+
> Signed-off-by: Aurelien Jarno <aurelien@xxxxxxxxxxx>
> ---
>  arch/mips/net/bpf_jit_asm.S | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)

Reviewed-by: Markos Chandras <markos.chandras@xxxxxxxxxx>

-- 
markos




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux