xen: simplify evtchn_do_upcall() call maze
authorJuergen Gross <jgross@suse.com>
Thu, 24 Aug 2023 15:34:21 +0000 (17:34 +0200)
committerJuergen Gross <jgross@suse.com>
Tue, 19 Sep 2023 05:04:49 +0000 (07:04 +0200)
commit37510dd566bdbff31a769cde2fa6654bccdb8b24
tree0a81eccac4344c6eecab8d3978df323533d3b575
parentce9ecca0238b140b88f43859b211c9fdfd8e5b70
xen: simplify evtchn_do_upcall() call maze

There are several functions involved for performing the functionality
of evtchn_do_upcall():

- __xen_evtchn_do_upcall() doing the real work
- xen_hvm_evtchn_do_upcall() just being a wrapper for
  __xen_evtchn_do_upcall(), exposed for external callers
- xen_evtchn_do_upcall() calling __xen_evtchn_do_upcall(), too, but
  without any user

Simplify this maze by:

- removing the unused xen_evtchn_do_upcall()
- removing xen_hvm_evtchn_do_upcall() as the only left caller of
  __xen_evtchn_do_upcall(), while renaming __xen_evtchn_do_upcall() to
  xen_evtchn_do_upcall()

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/arm/xen/enlighten.c
arch/x86/entry/common.c
arch/x86/xen/enlighten.c
arch/x86/xen/enlighten_hvm.c
drivers/xen/events/events_base.c
drivers/xen/platform-pci.c
include/xen/events.h