Re: [PATCH 2/2] MIPS: jump_label.c: Handle the microMIPS J instruction encoding

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

 



On Mon, Nov 17, 2014 at 04:10:32PM +0000, Maciej W. Rozycki wrote:

> +	if (IS_ENABLED(CONFIG_CPU_MICROMIPS)) {
> +		insn_p->halfword[0] = insn.word >> 16;
> +		insn_p->halfword[1] = insn.word;
> +	} else
> +		*insn_p = insn;

I think the IS_ENABLED() should be replaced with cpu_has_mmips?

  Ralf





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

  Powered by Linux