Deleted Added
full compact
linprocfs.c (241896) linprocfs.c (246085)
1/*-
2 * Copyright (c) 2000 Dag-Erling Co��dan Sm��rgrav
3 * Copyright (c) 1999 Pierre Beyssac
4 * Copyright (c) 1993 Jan-Simon Pendry
5 * Copyright (c) 1993
6 * The Regents of the University of California. All rights reserved.
7 *
8 * This code is derived from software contributed to Berkeley by

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

37 * SUCH DAMAGE.
38 *
39 * @(#)procfs_status.c 8.4 (Berkeley) 6/15/94
40 */
41
42#include "opt_compat.h"
43
44#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2000 Dag-Erling Co��dan Sm��rgrav
3 * Copyright (c) 1999 Pierre Beyssac
4 * Copyright (c) 1993 Jan-Simon Pendry
5 * Copyright (c) 1993
6 * The Regents of the University of California. All rights reserved.
7 *
8 * This code is derived from software contributed to Berkeley by

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

37 * SUCH DAMAGE.
38 *
39 * @(#)procfs_status.c 8.4 (Berkeley) 6/15/94
40 */
41
42#include "opt_compat.h"
43
44#include <sys/cdefs.h>
45__FBSDID("$FreeBSD: head/sys/compat/linprocfs/linprocfs.c 241896 2012-10-22 17:50:54Z kib $");
45__FBSDID("$FreeBSD: head/sys/compat/linprocfs/linprocfs.c 246085 2013-01-29 18:41:30Z jhb $");
46
47#include <sys/param.h>
48#include <sys/queue.h>
49#include <sys/blist.h>
50#include <sys/conf.h>
51#include <sys/exec.h>
52#include <sys/fcntl.h>
53#include <sys/filedesc.h>

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

96#include <machine/cputypes.h>
97#include <machine/md_var.h>
98#endif /* __i386__ || __amd64__ */
99
100#ifdef COMPAT_FREEBSD32
101#include <compat/freebsd32/freebsd32_util.h>
102#endif
103
46
47#include <sys/param.h>
48#include <sys/queue.h>
49#include <sys/blist.h>
50#include <sys/conf.h>
51#include <sys/exec.h>
52#include <sys/fcntl.h>
53#include <sys/filedesc.h>

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

96#include <machine/cputypes.h>
97#include <machine/md_var.h>
98#endif /* __i386__ || __amd64__ */
99
100#ifdef COMPAT_FREEBSD32
101#include <compat/freebsd32/freebsd32_util.h>
102#endif
103
104#ifdef COMPAT_LINUX32 /* XXX */
105#include <machine/../linux32/linux.h>
106#else
107#include <machine/../linux/linux.h>
108#endif
109#include <compat/linux/linux_ioctl.h>
110#include <compat/linux/linux_mib.h>
104#include <compat/linux/linux_ioctl.h>
105#include <compat/linux/linux_mib.h>
106#include <compat/linux/linux_misc.h>
111#include <compat/linux/linux_util.h>
112#include <fs/pseudofs/pseudofs.h>
113#include <fs/procfs/procfs.h>
114
115/*
116 * Various conversion macros
117 */
118#define T2J(x) ((long)(((x) * 100ULL) / (stathz ? stathz : hz))) /* ticks to jiffies */

--- 1344 unchanged lines hidden ---
107#include <compat/linux/linux_util.h>
108#include <fs/pseudofs/pseudofs.h>
109#include <fs/procfs/procfs.h>
110
111/*
112 * Various conversion macros
113 */
114#define T2J(x) ((long)(((x) * 100ULL) / (stathz ? stathz : hz))) /* ticks to jiffies */

--- 1344 unchanged lines hidden ---