diff options
author | Peter Wemm <peter@FreeBSD.org> | 1999-01-17 20:28:12 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1999-01-17 20:28:12 +0000 |
commit | 880628ca6cd892b827d4187a2ecd3dc03e091247 (patch) | |
tree | 55359f56d2ce1ca1955ff2bafd5dfb568ba1ed86 /sys/gnu/i386 | |
parent | 6bfaa53754fbbd91f578bc2014e7b25a5345c3f5 (diff) | |
download | src-880628ca6cd892b827d4187a2ecd3dc03e091247.tar.gz src-880628ca6cd892b827d4187a2ecd3dc03e091247.zip |
Remove LKM support, src/lkm that built it is gone and it never worked as an
LKM anyway. It does work as a preloaded KLD module though.
Notes
Notes:
svn path=/head/; revision=42764
Diffstat (limited to 'sys/gnu/i386')
-rw-r--r-- | sys/gnu/i386/fpemul/fpu_entry.c | 36 |
1 files changed, 1 insertions, 35 deletions
diff --git a/sys/gnu/i386/fpemul/fpu_entry.c b/sys/gnu/i386/fpemul/fpu_entry.c index 8482c2a5ad61..0db5288e4c1e 100644 --- a/sys/gnu/i386/fpemul/fpu_entry.c +++ b/sys/gnu/i386/fpemul/fpu_entry.c @@ -55,7 +55,7 @@ * * W. Metzenthen June 1994. * - * $Id: fpu_entry.c,v 1.17 1998/10/18 07:44:33 peter Exp $ + * $Id: fpu_entry.c,v 1.18 1998/11/15 15:33:50 bde Exp $ * */ @@ -483,38 +483,6 @@ if (--lookahead_limit) return (0); /* --pink-- */ } -#ifdef LKM -MOD_MISC(gnufpu); -static int -gnufpu_load(struct lkm_table *lkmtp, int cmd) -{ - if (pmath_emulate) { - printf("Math emulator already present\n"); - return EBUSY; - } - pmath_emulate = math_emulate; - return 0; -} - -static int -gnufpu_unload(struct lkm_table *lkmtp, int cmd) -{ - if (pmath_emulate != math_emulate) { - printf("Cannot unload another math emulator\n"); - return EACCES; - } - pmath_emulate = 0; - return 0; -} - -int -gnufpu_mod(struct lkm_table *lkmtp, int cmd, int ver) -{ - MOD_DISPATCH(gnufpu, lkmtp, cmd, ver, gnufpu_load, gnufpu_unload, - lkm_nullcmd); -} -#else /* !LKM */ - static int gnufpu_modevent(module_t mod, int type, void *unused) { @@ -549,5 +517,3 @@ moduledata_t gnufpumod = { 0 }; DECLARE_MODULE(gnufpu, gnufpumod, SI_SUB_DRIVERS, SI_ORDER_ANY); - -#endif /* LKM */ |