summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>2008-03-13 22:52:23 +0000
committerbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>2008-03-13 22:52:23 +0000
commitea19fbed0538d0e13549ff9753533fe4f9edeffd (patch)
tree8687613a90f122aa8cacdf2c9323ae26d46e5241
parent8ddd0ee4154e7e785f07400c113c7465906c97b9 (diff)
Add missing headers
git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@44 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
-rw-r--r--include/sys/sunldi.h9
-rw-r--r--include/util/qsort.h8
2 files changed, 17 insertions, 0 deletions
diff --git a/include/sys/sunldi.h b/include/sys/sunldi.h
new file mode 100644
index 000000000..01e80b54f
--- /dev/null
+++ b/include/sys/sunldi.h
@@ -0,0 +1,9 @@
+#ifndef _SPL_SUNLDI_H
+#define _SPL_SUNLDI_H
+
+/* XXX: ALL TOTALLY BOGUS, JUST PLACE HOLDERS */
+typedef int ddi_devid_t;
+typedef int ldi_handle_t;
+typedef int ldi_ident_t;
+
+#endif /* SPL_SUNLDI_H */
diff --git a/include/util/qsort.h b/include/util/qsort.h
new file mode 100644
index 000000000..f7bb26847
--- /dev/null
+++ b/include/util/qsort.h
@@ -0,0 +1,8 @@
+#ifndef _SPL_QSORT_H
+#define _SPL_QSORT_H
+
+#include <linux/sort.h>
+
+#define qsort(base, num, size, cmp) sort(base, num, size, cmp, NULL)
+
+#endif /* SPL_QSORT_H */