|
From: Kenn H. <ke...@us...> - 2004-09-02 22:42:04
|
Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14653/include/asm-vax Modified Files: bitops.h fcntl.h resource.h Added Files: setup.h Log Message: Add new definitions needed for 2.6.8 Index: fcntl.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/fcntl.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- fcntl.h 20 May 2002 00:33:39 -0000 1.3 +++ fcntl.h 2 Sep 2004 22:41:50 -0000 1.4 @@ -22,6 +22,7 @@ #define O_LARGEFILE 0100000 #define O_DIRECTORY 0200000 /* must be a directory */ #define O_NOFOLLOW 0400000 /* don't follow links */ +#define O_NOATIME 01000000 #define F_DUPFD 0 /* dup */ #define F_GETFD 1 /* get f_flags */ Index: resource.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/resource.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- resource.h 20 May 2002 00:33:39 -0000 1.3 +++ resource.h 2 Sep 2004 22:41:50 -0000 1.4 @@ -18,8 +18,10 @@ #define RLIMIT_MEMLOCK 8 /* max locked-in-memory address space */ #define RLIMIT_AS 9 /* address space limit */ #define RLIMIT_LOCKS 10 /* maximum file locks held */ +#define RLIMIT_SIGPENDING 11 /* max number of pending signals */ +#define RLIMIT_MSGQUEUE 12 /* maximum bytes in POSIX mqueues */ -#define RLIM_NLIMITS 11 +#define RLIM_NLIMITS 13 /* * SuS says limits have to be unsigned. --- NEW FILE: setup.h --- #ifndef __VAX_SETUP_H #define __VAX_SETUP_H #define COMMAND_LINE_SIZE 256 #endif Index: bitops.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/bitops.h,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- bitops.h 19 Jul 2004 16:22:14 -0000 1.12 +++ bitops.h 2 Sep 2004 22:41:49 -0000 1.13 @@ -454,7 +454,7 @@ * from the Alpha port... */ static __inline__ unsigned long -find_next_bit(void *addr, unsigned long size, unsigned long offset) +find_next_bit(const void *addr, unsigned long size, unsigned long offset) { unsigned long *p = ((unsigned long *) addr) + (offset >> 5); unsigned long result = offset & ~31UL; @@ -491,6 +491,10 @@ return result + ffs(tmp); } +#define find_first_bit(addr, size) \ + find_next_bit((addr), (size), 0) + + #ifdef __KERNEL__ /** |