From 8e136cf0c9c801c64744915bcad7426640ec9c63 Mon Sep 17 00:00:00 2001
From: Brian Behlendorf <behlendorf1@llnl.gov>
Date: Thu, 18 Dec 2008 13:15:58 -0800
Subject: [PATCH] Add noinline macro for userspace

---
 lib/libzpool/include/sys/zfs_context.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lib/libzpool/include/sys/zfs_context.h b/lib/libzpool/include/sys/zfs_context.h
index 0e7019bba8..d4531d559e 100644
--- a/lib/libzpool/include/sys/zfs_context.h
+++ b/lib/libzpool/include/sys/zfs_context.h
@@ -74,6 +74,12 @@ extern "C" {
 #include <sys/u8_textprep.h>
 #include <sys/sysevent/eventdefs.h>
 
+/*
+ * Stack
+ */
+
+#define  noinline	__attribute__((noinline))
+
 /*
  * Debugging
  */