[PATCH 06/10] ARC: [plat-eznps] Fix TLB Errata

Noam Camus noamca at mellanox.com
Thu May 25 04:12:33 PDT 2017


>From: Alexey Brodkin [mailto:Alexey.Brodkin at synopsys.com] 
>Sent: Thursday, May 25, 2017 14:01 PM

...
>>  	/* Get free TLB slot: Set = computed from vaddr, way = random */
>>  	sr  TLBGetIndex, [ARC_REG_TLBCOMMAND]
>>  
>> @@ -287,6 +294,9 @@ ex_saved_reg1:
>>  #else
>>  	sr TLBInsertEntry, [ARC_REG_TLBCOMMAND]
>>  #endif
>> +#ifdef CONFIG_EZNPS_MTM_EXT
>> +88:
>> +#endif

>Not sure if label itself required wrapping in ifdefs. It just makes code bulkier and harder to read.
I will remove the wrapping.

-Noam


More information about the linux-snps-arc mailing list