diff options
| author | manu <manu@NetBSD.org> | 2014-02-03 17:03:16 +0000 |
|---|---|---|
| committer | manu <manu@NetBSD.org> | 2014-02-03 17:03:16 +0000 |
| commit | 2ee7e2209e603ef9980bbce66c4634d32c194773 (patch) | |
| tree | a1c2f7afb44ef1cb3ecc7e7548993634715e1c45 /sys/compat | |
| parent | 5fe0e5887ea7ad0ba739f5e4a77080ad98f87f5a (diff) | |
Properly translate struct swapent for COMPAT_NETBSD32 (missing commit)
Diffstat (limited to 'sys/compat')
| -rw-r--r-- | sys/compat/netbsd32/netbsd32.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/compat/netbsd32/netbsd32.h b/sys/compat/netbsd32/netbsd32.h index aa755dadcf9..c58c081ca04 100644 --- a/sys/compat/netbsd32/netbsd32.h +++ b/sys/compat/netbsd32/netbsd32.h @@ -1,4 +1,4 @@ -/* $NetBSD: netbsd32.h,v 1.98 2014/01/24 22:10:47 christos Exp $ */ +/* $NetBSD: netbsd32.h,v 1.99 2014/02/03 17:03:16 manu Exp $ */ /* * Copyright (c) 1998, 2001, 2008 Matthew R. Green @@ -384,6 +384,16 @@ struct netbsd32_loadavg { netbsd32_long fscale; }; +/* from <sys/swap.h> */ +struct netbsd32_swapent { + netbsd32_dev_t se_dev; /* device id */ + int se_flags; /* flags */ + int se_nblks; /* total blocks */ + int se_inuse; /* blocks in use */ + int se_priority; /* priority of this device */ + char se_path[PATH_MAX+1]; /* path name */ +}; + /* from <sys/ipc.h> */ typedef netbsd32_pointer_t netbsd32_ipc_permp_t; struct netbsd32_ipc_perm { |
