]> xenbits.xensource.com Git - xen.git/commit
pv_console: remove unnecessary #ifdefs
authorSergey Dyasli <sergey.dyasli@citrix.com>
Tue, 6 Mar 2018 15:47:34 +0000 (16:47 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 6 Mar 2018 15:47:34 +0000 (16:47 +0100)
commit0d9acbdd8d6edcc8f1572a270b087c36e81504fd
tree703019e47d434a26d93fe4eda3cccb71a7ed1f3c
parentd303784b68237ff3050daa184f560179dda21b8c
pv_console: remove unnecessary #ifdefs

The header for PV console contains empty function definitions in case of
!CONFIG_XEN_GUEST specially to avoid #ifdefs in a code that uses them
to make the code look cleaner.

Unfortunately, during the release of shim-comet, PV console functions
were enclosed into unnecessary #ifdefs CONFIG_X86. Remove them.

Signed-off-by: Sergey Dyasli <sergey.dyasli@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
xen/drivers/char/console.c