]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commitdiff
arm/keyhandler: declare struct cpu_user_regs
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 9 Feb 2016 12:19:53 +0000 (13:19 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 9 Feb 2016 12:19:53 +0000 (13:19 +0100)
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 <konrad.wilk@oracle.com>
xen/include/xen/keyhandler.h

index 39052b5e998a4465a5dbeb392316f93b37fe1f88..06c05c8723c598d1eaf252757590cd49b4ba1d5d 100644 (file)
@@ -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);