Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax
In directory sc8-pr-cvs1:/tmp/cvs-serv10678/include/asm-vax
Modified Files:
param.h
Log Message:
2.5.25 needs a definition of USER_HZ. And asm-i386/param.h protects
HZ with a $ifdef __KERNEL__.
Index: param.h
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/param.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- param.h 20 May 2002 00:33:39 -0000 1.3
+++ param.h 29 Jan 2003 00:09:25 -0000 1.4
@@ -2,8 +2,10 @@
#define _VAX_PARAM_H
/* FIXME: check this value */
-#ifndef HZ
-#define HZ 100
+#ifdef __KERNEL__
+#define HZ 100
+#define USER_HZ 100
+#define CLOCKS_PER_SEC 100 /* frequency at which times() counts */
#endif
#define EXEC_PAGESIZE 4096
@@ -17,9 +19,5 @@
#endif
#define MAXHOSTNAMELEN 64 /* max length of hostname */
-
-#ifdef __KERNEL__
-# define CLOCKS_PER_SEC 100 /* frequency at which times() counts */
-#endif
#endif /* _VAX_PARAM_H */
|