Index: arch/ppc64/include/exception.h
===================================================================
--- arch/ppc64/include/exception.h	(revision 48c1ef99601d3c28d9577147199e8e4f36174b69)
+++ arch/ppc64/include/exception.h	(revision bffa0b06adea1b03489a7f0c461606f20a0da9b2)
@@ -81,4 +81,15 @@
 	istate->pc = retaddr;
 }
+/** Return true if exception happened while in userspace */
+#include <panic.h>
+static inline int istate_from_uspace(istate_t *istate)
+{
+	panic("istate_from_uspace not yet implemented");
+	return 0;
+}
+static inline __native istate_get_pc(istate_t *istate)
+{
+	return istate->pc;
+}
 
 #endif
