android_kernel_xiaomi_sm8350/include/xen
Ingo Molnar 0261ac5f2f xen: fix "xen: implement save/restore"
-tip testing found the following build breakage:

  drivers/built-in.o: In function `xen_suspend':
  manage.c:(.text+0x4390f): undefined reference to `xen_console_resume'

with this config:

  http://redhat.com/~mingo/misc/config-Thu_May_29_09_23_16_CEST_2008.bad

i have bisected it down to:

|  commit 0e91398f2a
|  Author: Jeremy Fitzhardinge <jeremy@goop.org>
|  Date:   Mon May 26 23:31:27 2008 +0100
|
|      xen: implement save/restore

the problem is that drivers/xen/manage.c is built unconditionally if
CONFIG_XEN is enabled and makes use of xen_suspend(), but
drivers/char/hvc_xen.c, where the xen_suspend() method is implemented,
is only build if CONFIG_HVC_XEN=y as well.

i have solved this by providing a NOP implementation for xen_suspend()
in the !CONFIG_HVC_XEN case.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-05-29 09:31:57 +02:00
..
interface xen: add missing definitions in include/xen/interface/memory.h which ia64/xen needs 2008-05-27 10:11:36 +02:00
balloon.h xen: add balloon driver 2008-04-24 23:57:33 +02:00
events.h xen: implement save/restore 2008-05-27 10:11:38 +02:00
features.h
grant_table.h xen: implement save/restore 2008-05-27 10:11:38 +02:00
hvc-console.h xen: fix "xen: implement save/restore" 2008-05-29 09:31:57 +02:00
page.h xen: make include/xen/page.h portable moving those definitions under asm dir 2008-04-24 23:57:32 +02:00
xen-ops.h xen: maintain clock offset over save/restore 2008-05-27 10:11:38 +02:00
xenbus.h xen blkfront: Delay wait for block devices until after the disk is added 2008-04-24 23:57:33 +02:00
xencomm.h xen: import arch generic part of xencomm 2008-04-24 23:57:32 +02:00