On Wed, Mar 18, 2009 at 3:26 AM, Felipe Contreras
<[email protected]> wrote:
> From: Felipe Contreras <[email protected]>
>
> It doesn't make sense to have layers and layers of constants and defines
> to turn one bit on.
>
> Signed-off-by: Felipe Contreras <[email protected]>
> ---
I thought a bit more about this:
> +static inline void tlb_flush_all(const u32 base)
> +{
> + __raw_writeb(__raw_readb(base + MMU_GFLUSH) | 1, base + MMU_GFLUSH);
> +}
> +
Originally it was the equivalent of __raw_writel(__raw_readl but since
we are dealing only with one bit I chose 'b' instead of 'l'. Is that
correct?
--
Felipe Contreras
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html