Re: [PATCH] MIPS: Add ifdefs to IP22/IP32's Platform files

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

 



On 01/28/2017 22:38, Joshua Kinard wrote:
> From: Joshua Kinard <kumba@xxxxxxxxxx>
> 
> Prevent IP22/IP32's Platform directives from mixing into builds of
> other MIPS platforms.  During a recent IP27 build, erroneous R10K
> cache barrier instructions were being emitted before every load or
> store instruction.  This was caused by IP27 accidentally picking up
> the -mr10k-cache-barrier option from arch/mips/sgi-ip32/Platform.
> 
> By wrapping the directives in both IP22 and IP32's Platform file
> inside an 'ifdef' block, as is already done in IP27's Platform file,
> this prevents the R10K cache barriers from being emitted on platforms
> where they are not needed.
> 

[snip]

Scrub this one.  I'll send a fixed copy shortly.  I diffed it from the
wrong branch on my local git, which includes testing for IP32 R10K/R12K.

--J





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

  Powered by Linux