Since commit
60a9b0715055 ("xen: introduce CONFIG_GENERIC_BUG_FRAME"), the new
common bug.h provides an implementation of run_in_exception_handler() in all
cases, making the #else here dead.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
static void cf_check ehci_dbgp_poll(void *data)
{
poll_port = data;
-#ifdef run_in_exception_handler
run_in_exception_handler(_ehci_dbgp_poll);
-#else
- _ehci_dbgp_poll(guest_cpu_user_regs());
-#endif
}
static bool ehci_dbgp_setup_preirq(struct ehci_dbgp *dbgp)
static void cf_check ns16550_poll(void *data)
{
this_cpu(poll_port) = data;
-#ifdef run_in_exception_handler
run_in_exception_handler(__ns16550_poll);
-#else
- __ns16550_poll(guest_cpu_user_regs());
-#endif
}
static int cf_check ns16550_tx_ready(struct serial_port *port)