diff options
author | glebius <glebius@FreeBSD.org> | 2013-09-06 17:44:13 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-09-06 17:44:13 +0000 |
commit | cf3713518595a1e12a02ab5ca33b78585ca53076 (patch) | |
tree | 24788d12ad1067a80d7311a87b383003a33dc623 /sys/mips/include/sf_buf.h | |
parent | d13d69ef17e933f4e8a1be14f0558e25dad171c7 (diff) | |
download | FreeBSD-src-cf3713518595a1e12a02ab5ca33b78585ca53076.zip FreeBSD-src-cf3713518595a1e12a02ab5ca33b78585ca53076.tar.gz |
Fix build with gcc. Move sf_buf_alloc()/sf_buf_free() declarations
to MD headers.
Diffstat (limited to 'sys/mips/include/sf_buf.h')
-rw-r--r-- | sys/mips/include/sf_buf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/mips/include/sf_buf.h b/sys/mips/include/sf_buf.h index 00502a0..e5d981f 100644 --- a/sys/mips/include/sf_buf.h +++ b/sys/mips/include/sf_buf.h @@ -78,6 +78,9 @@ struct sf_buf { vm_offset_t kva; /* va of mapping */ }; +struct sf_buf * sf_buf_alloc(struct vm_page *m, int flags); +void sf_buf_free(struct sf_buf *sf); + static __inline vm_offset_t sf_buf_kva(struct sf_buf *sf) { |