Re: [PATCH] long format VHPT

Arun Sharma
2003-10-02T01:30:00Z

Darren Williams wrote:
>
> -#define ia64_rid(ctx,addr) (((ctx) << 3) | (addr >> 61))
> +#ifdef CONFIG_IA64_LONG_FORMAT_VHPT
> +#define redistribute_rid(rid) (((rid) & ~0xffff) | (((rid) << 8) & 0xff00) | (((rid) >> 8) & 0xff))
> +#else
> +#define redistribute_rid(rid) (rid)
> +#endif
> +#define ia64_rid(ctx,addr) redistribute_rid(((ctx) << 3) | (addr >> 61))
>

Hi Darren, Can you explain what this code is trying to do ?

-Arun