Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys LMREADY actually takes a `u_long' (really, a pointer).



details:   https://anonhg.NetBSD.org/src/rev/7725308bcecd
branches:  trunk
changeset: 504234:7725308bcecd
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Feb 25 17:44:15 2001 +0000

description:
LMREADY actually takes a `u_long' (really, a pointer).

LKM's work on sparc64 now, and might on the alpha.  note that this changes
the value of `LMREADY' for LP64, however, it is currently broken anyway..

you will need to rebuild both the kernel and modload(1) (with the changed
<sys/lkm.h>) for this change to be effective.

diffstat:

 sys/sys/lkm.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4e4794578846 -r 7725308bcecd sys/sys/lkm.h
--- a/sys/sys/lkm.h     Sun Feb 25 17:23:11 2001 +0000
+++ b/sys/sys/lkm.h     Sun Feb 25 17:44:15 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lkm.h,v 1.19 2000/12/08 19:42:12 jdolecek Exp $        */
+/*     $NetBSD: lkm.h,v 1.20 2001/02/25 17:44:15 mrg Exp $     */
 
 /*
  * Header file used by loadable kernel modules and loadable kernel module
@@ -316,7 +316,7 @@
 #define        LMRESERV_O      _IOWR('K', 0, struct lmc_oresrv)
 #define        LMLOADBUF       _IOW('K', 1, struct lmc_loadbuf)
 #define        LMUNRESRV       _IO('K', 2)
-#define        LMREADY         _IOW('K', 3, int)
+#define        LMREADY         _IOW('K', 3, u_long)
 #define        LMRESERV        _IOWR('K', 4, struct lmc_resrv)
 
 #define        LMLOAD          _IOW('K', 9, struct lmc_load)



Home | Main Index | Thread Index | Old Index