Re: [PATCH] drm: Preserve SHMLBA bits in hash key for _DRM_SHMmappings.

From: Andrew Morton
Date: Fri Feb 20 2009 - 04:43:57 EST


On Fri, 20 Feb 2009 00:54:14 -0800 (PST) David Miller <davem@xxxxxxxxxxxxx> wrote:

> From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Date: Thu, 19 Feb 2009 15:27:26 -0800
>
> > eg:
> >
> > arch/xtensa/include/asm/shmparam.h
> > #define SHMLBA ((PAGE_SIZE > DCACHE_WAY_SIZE)? PAGE_SIZE : DCACHE_WAY_SIZE)
> >
> >
> > But including linux/shm.h here seems a bit silly. We'll see..
>
> If DRM even builds on XTENSA, let alone is usable there, I'll
> buy you a lollipop.

heh, OK. But the risk is there.

<tries to test sparc32 allmodconfig>

scripts/mod/empty.c:1: error: -m64 is not supported by this configuration
scripts/mod/empty.c:1: error: -mlong-double-64 not allowed with -m64
scripts/mod/empty.c:1: error: -mcmodel= is not supported on 32 bit systems

<retires hurt>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/