Get rid of non-static 'inline' modifiers (gcc 4.2.1 complains)
authorTim Deegan <tim@xen.org>
Thu, 26 Jan 2012 15:42:40 +0000 (15:42 +0000)
committerTim Deegan <tim@xen.org>
Thu, 26 Jan 2012 15:42:40 +0000 (15:42 +0000)
They seem to have been introduced by accident in 23311:f4585056b9ae
when some 'static inline' functions were moved out of a header

Signed-off-by: Tim Deegan <tim@xen.org>
xen/arch/x86/xstate.c

index e4de1429eae46980d79a8595cdd27b0dfc84c123..4d886386dcfab44f6b642bc281dd2bb1984c7910 100644 (file)
@@ -40,13 +40,13 @@ static inline void xsetbv(u32 index, u64 xfeatures)
             "a" (lo), "d" (hi));
 }
 
-inline void set_xcr0(u64 xfeatures)
+void set_xcr0(u64 xfeatures)
 {
     this_cpu(xcr0) = xfeatures;
     xsetbv(XCR_XFEATURE_ENABLED_MASK, xfeatures);
 }
 
-inline uint64_t get_xcr0(void)
+uint64_t get_xcr0(void)
 {
     return this_cpu(xcr0);
 }