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