On 07/08/19 10:33, tony.ngu...@bt.com wrote: > +#ifdef NEED_CPU_H > + return ctz32(size) | MO_TE; > +#else > return ctz32(size); > +#endif
Please use two separate functions for this, for example size_to_memop and target_size_to_memop, or even just add MO_TE to the callers that need it (only cputlb.c?). Paolo