Index: kernel/arch/ia64/include/arch/asm.h
===================================================================
--- kernel/arch/ia64/include/arch/asm.h	(revision 0366d09d1929d3cd61f8f612f9ea15794bc5650c)
+++ kernel/arch/ia64/include/arch/asm.h	(revision e1f5fb191dfe5766d747cfd1c7466d29ff2d3e95)
@@ -473,4 +473,16 @@
     uint64_t, uint64_t);
 
+/** Enables interrupts and blocks until an interrupt arrives,
+ * atomically if possible on target architecture.
+ * Disables interrupts again before returning to caller.
+ */
+_NO_TRACE static inline void cpu_interruptible_sleep(void)
+{
+	// FIXME: do this properly
+	interrupts_enable();
+	cpu_sleep();
+	interrupts_disable();
+}
+
 #endif
 
