Re: [PATCH 1/5] MIPS: Optimize uasm insn lookup.

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

 



On 05/26/2017 01:07 AM, Matt Redfearn wrote:
[...]
-    { insn_lwx, 0, 0 },
-    { insn_ldx, 0, 0 },
-    { insn_invalid, 0, 0 }
+static struct insn insn_table_MM[insn_invalid] = {

^ You could make this const too, like you have the one in uasm-mips.c.


Good catch.  I meant to do that.

I will fix it for the next revision of the patch set.



Thanks,
Matt





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

  Powered by Linux