mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Compilation fails with gcc-4.3: tpmback.c: In function 'tpmback_resp': tpmback.c:148: error: inlining failed in call to 'tpmdev_check_req': call is unlikely and code size would grow tpmback.c:165: error: called from here tpmback.c: In function 'new_tpmif': tpmback.c:384: error: inlining failed in call to '__init_tpmif': call is unlikely and code size would grow tpmback.c:425: error: called from here Adjust code to use static instead of inline, it has the same effect. Change also tpmif_req_ready and tpmif_req_finished before they start to cause failures. Signed-off-by: Olaf Hering <olaf@aepfle.de> Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>