summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-09-06 17:44:13 +0000
committerglebius <glebius@FreeBSD.org>2013-09-06 17:44:13 +0000
commitcf3713518595a1e12a02ab5ca33b78585ca53076 (patch)
tree24788d12ad1067a80d7311a87b383003a33dc623 /sys/sparc64
parentd13d69ef17e933f4e8a1be14f0558e25dad171c7 (diff)
downloadFreeBSD-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/sparc64')
-rw-r--r--sys/sparc64/include/sf_buf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sparc64/include/sf_buf.h b/sys/sparc64/include/sf_buf.h
index b6ee1cc..ebbbea8 100644
--- a/sys/sparc64/include/sf_buf.h
+++ b/sys/sparc64/include/sf_buf.h
@@ -39,6 +39,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)
{
OpenPOWER on IntegriCloud