Index: arch/ppc64/include/exception.h
===================================================================
--- arch/ppc64/include/exception.h	(revision 31e8ddd3646b281263eac10f5b0878e1700ccd12)
+++ arch/ppc64/include/exception.h	(revision 3dcb108fa81dd39d274ae7339bba28b1d40d02e2)
@@ -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
