From: Jan-Benedict G. <jb...@us...> - 2005-09-23 15:35:50
|
Update of /cvsroot/linux-vax/toolchain/patches In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11232 Added Files: uclibc-000002-add-SHMLBA.patch Log Message: - We need a define for SHMLBA. I don't know what it is actually used for (nor do I have a real intent for figuring it out), but I took Alpha's approach and set it to __get_pagesize(). --- NEW FILE: uclibc-000002-add-SHMLBA.patch --- diff -Nurp src-uclibc-fresh/libc/sysdeps/linux/vax/bits/shm.h src-uclibc-hacked/libc/sysdeps/linux/vax/bits/shm.h --- src-uclibc-fresh/libc/sysdeps/linux/vax/bits/shm.h 2005-09-23 17:05:24.000000000 +0200 +++ src-uclibc-hacked/libc/sysdeps/linux/vax/bits/shm.h 2005-09-23 17:07:10.000000000 +0200 @@ -30,6 +30,7 @@ #define SHM_RDONLY 010000 /* attach read-only else read-write */ #define SHM_RND 020000 /* round attach address to SHMLBA */ #define SHM_REMAP 040000 /* take-over region on attach */ +#define SHMLBA (__getpagesize ()) /* Commands for `shmctl'. */ #define SHM_LOCK 11 /* lock segment (root only) */ |