Re: [PATCH] x86,kvm: Fix section mismatches in kvm.c
From: Avi Kivity
Date: Thu Jul 02 2009 - 07:23:18 EST
On 07/02/2009 08:40 AM, Rakib Mullick wrote:
Impact: Fix section mismatch.
The function paravirt_ops_setup() has been refering the variable
no_timer_check, which is a __initdata. Thus generates the following
warning. paravirt_ops_setup() function is called from kvm_guest_init()
which is a __init function. So to fix this we mark paravirt_ops_setup
as __init.
Ingo, if you already have something queued up for 2.6.31, please tack
this on.
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/