Revert "arch: arm/xen: add putc() for debugging"
authorTom Rini <trini@konsulko.com>
Fri, 23 Oct 2020 13:16:07 +0000 (09:16 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 23 Oct 2020 13:16:07 +0000 (09:16 -0400)
This reverts commit 3a51b2a2c3cedc0d2a9ce981b8e00ab8cefcb6b7.

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/include/asm/xen/hypercall.h

index 121ccfc..a4fd077 100644 (file)
@@ -19,10 +19,4 @@ int HYPERVISOR_sched_op(int cmd, void *arg);
 int HYPERVISOR_event_channel_op(int cmd, void *arg);
 unsigned long HYPERVISOR_hvm_op(int op, void *arg);
 int HYPERVISOR_memory_op(unsigned int cmd, void *arg);
-
-static inline void xen_debug_putc(int c)
-{
-       register int v __asm__ ("x0") = c;
-       __asm__ __volatile__("hvc 0xfffe" : "=r" (v) : "0" (v));
-}
 #endif /* _ASM_ARM_XEN_HYPERCALL_H */