[Patch] modified shm.h is needed for SH-Linux

Kaz Kojima kkojima@rr.iij4u.or.jp
Wed Dec 20 05:27:00 GMT 2006


SUGIOKA Toshinobu <sugioka@itonet.co.jp> wrote:
> On sh3/4 linux kernel, SHMLBA is defined as 0x4000 in order to avoid cache alias problem.
> So, it seems that modified shm.h is needed for sh3/4.
> 
> I'm not sure which real application depends on this macro, but at least, LTP's 'shmctl'
> syscall test fails because of this mismatch.
> 
> 2006-12-20  SUGIOKA Toshinobu  <sugioka@itonet.co.jp>
> 
> 	* sysdeps/unix/sysv/linux/sh/bits/shm.h: New file.

This patch is fine by me.  Thanks for catching this.
Uli, could you please approve it?

Regards,
	kaz



More information about the Libc-alpha mailing list