Rakib Mullick d3ac88157c x86, kvm: Fix section mismatches in kvm.c
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.

The sections-check output that warned us about this was:

   LD      arch/x86/built-in.o
  WARNING: arch/x86/built-in.o(.text+0x166ce): Section mismatch in
  reference from the function paravirt_ops_setup() to the variable
  .init.data:no_timer_check
  The function paravirt_ops_setup() references
  the variable __initdata no_timer_check.
  This is often because paravirt_ops_setup lacks a __initdata
  annotation or the annotation of no_timer_check is wrong.

Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
Acked-by: Avi Kivity <avi@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
LKML-Reference: <b9df5fa10907012240y356427b8ta4bd07f0efc6a049@mail.gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-07-03 14:34:22 +02:00
..
2009-06-16 10:19:16 +02:00
2009-03-15 07:03:15 +01:00
2009-06-15 15:20:40 +02:00
2009-03-13 11:57:22 +01:00
2009-04-07 13:36:36 +02:00
2009-06-18 18:40:18 -04:00
2009-06-17 21:35:10 -07:00
2009-06-17 21:35:10 -07:00
2008-12-12 11:08:42 +01:00
2009-02-10 13:13:23 +01:00
2009-02-23 00:08:11 +01:00
2009-06-16 19:47:28 -07:00
2009-03-21 16:57:04 +05:30
2009-02-09 12:16:05 +01:00
2009-06-11 23:31:52 +02:00
2009-06-11 23:31:52 +02:00
2009-03-21 16:55:45 +05:30
2009-01-02 17:46:24 +01:00
2009-02-23 00:08:11 +01:00
2009-01-20 17:14:28 +01:00
2009-06-15 12:40:03 +02:00
2009-06-07 12:22:15 +02:00
2009-03-21 16:56:37 +05:30
2009-06-11 23:31:52 +02:00
2009-06-11 23:31:52 +02:00
2008-07-16 12:15:17 -07:00
2008-07-22 14:35:57 +02:00
2008-10-22 22:55:23 -07:00
2009-02-23 00:08:11 +01:00
2008-07-22 14:35:57 +02:00
2009-03-21 16:55:24 +05:30
2009-02-17 17:52:44 +01:00