Deleted Added
full compact
kern_module.c (167211) kern_module.c (174377)
1/*-
2 * Copyright (c) 1997 Doug Rabson
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include "opt_compat.h"
28
29#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1997 Doug Rabson
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include "opt_compat.h"
28
29#include <sys/cdefs.h>
30__FBSDID("$FreeBSD: head/sys/kern/kern_module.c 167211 2007-03-04 22:36:48Z rwatson $");
30__FBSDID("$FreeBSD: head/sys/kern/kern_module.c 174377 2007-12-06 23:11:27Z jhb $");
31
32#include <sys/param.h>
33#include <sys/kernel.h>
34#include <sys/systm.h>
35#include <sys/eventhandler.h>
36#include <sys/malloc.h>
37#include <sys/sysproto.h>
38#include <sys/sysent.h>

--- 372 unchanged lines hidden (view full) ---

411 else
412 td->td_retval[0] = module_getid(mod);
413 MOD_SUNLOCK;
414 return (error);
415}
416
417#ifdef COMPAT_IA32
418#include <sys/mount.h>
31
32#include <sys/param.h>
33#include <sys/kernel.h>
34#include <sys/systm.h>
35#include <sys/eventhandler.h>
36#include <sys/malloc.h>
37#include <sys/sysproto.h>
38#include <sys/sysent.h>

--- 372 unchanged lines hidden (view full) ---

411 else
412 td->td_retval[0] = module_getid(mod);
413 MOD_SUNLOCK;
414 return (error);
415}
416
417#ifdef COMPAT_IA32
418#include <sys/mount.h>
419#include <sys/socket.h>
419#include <compat/freebsd32/freebsd32_util.h>
420#include <compat/freebsd32/freebsd32.h>
421#include <compat/freebsd32/freebsd32_proto.h>
422
423typedef union modspecific32 {
424 int intval;
425 u_int32_t uintval;
426 int longval;

--- 65 unchanged lines hidden ---
420#include <compat/freebsd32/freebsd32_util.h>
421#include <compat/freebsd32/freebsd32.h>
422#include <compat/freebsd32/freebsd32_proto.h>
423
424typedef union modspecific32 {
425 int intval;
426 u_int32_t uintval;
427 int longval;

--- 65 unchanged lines hidden ---