From: Tim Deegan Date: Thu, 26 Jan 2012 15:42:40 +0000 (+0000) Subject: Get rid of non-static 'inline' modifiers (gcc 4.2.1 complains) X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=647f63ae76eb020d53c0c328aeaae989e8b682ad;p=xen.git Get rid of non-static 'inline' modifiers (gcc 4.2.1 complains) 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 --- diff --git a/xen/arch/x86/xstate.c b/xen/arch/x86/xstate.c index e4de1429ea..4d886386dc 100644 --- a/xen/arch/x86/xstate.c +++ b/xen/arch/x86/xstate.c @@ -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); }