From d1d181328d29f183ffd7fcfe3aa88b2b03f6e6a9 Mon Sep 17 00:00:00 2001 From: Konrad Rzeszutek Wilk Date: Tue, 9 Feb 2016 13:19:53 +0100 Subject: [PATCH] arm/keyhandler: declare struct cpu_user_regs in the keyhandler.h file. Otherwise on ARM builds if we just use the keyhandler file - the compile will fail. Signed-off-by: Konrad Rzeszutek Wilk --- xen/include/xen/keyhandler.h | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/include/xen/keyhandler.h b/xen/include/xen/keyhandler.h index 39052b5e99..06c05c8723 100644 --- a/xen/include/xen/keyhandler.h +++ b/xen/include/xen/keyhandler.h @@ -24,6 +24,7 @@ typedef void (keyhandler_fn_t)(unsigned char key); * * Called in hardirq context with interrupts disabled. */ +struct cpu_user_regs; typedef void (irq_keyhandler_fn_t)(unsigned char key, struct cpu_user_regs *regs); -- 2.39.5