diff options
author | Tim Deegan <tim@xen.org> | 2012-01-26 15:42:40 +0000 |
---|---|---|
committer | Tim Deegan <tim@xen.org> | 2012-01-26 15:42:40 +0000 |
commit | 647f63ae76eb020d53c0c328aeaae989e8b682ad (patch) | |
tree | ef3237443f7611c31863fecfce60af2c81b3b1c3 /xen/arch/x86/xstate.c | |
parent | 902d180a4cb57fa18303de422dd417756d963389 (diff) | |
download | xen-647f63ae76eb020d53c0c328aeaae989e8b682ad.tar.gz xen-647f63ae76eb020d53c0c328aeaae989e8b682ad.tar.bz2 xen-647f63ae76eb020d53c0c328aeaae989e8b682ad.zip |
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 <tim@xen.org>
Diffstat (limited to 'xen/arch/x86/xstate.c')
-rw-r--r-- | xen/arch/x86/xstate.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |