xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Get rid of non-static 'inline' modifiers (gcc 4.2.1 complains)
@ 2012-01-26 15:47 Tim Deegan
  2012-01-26 15:59 ` Keir Fraser
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Deegan @ 2012-01-26 15:47 UTC (permalink / raw)
  To: xen-devel

# HG changeset patch
# User Tim Deegan <tim@xen.org>
# Date 1327592560 0
# Node ID dba361080715baf5ec2c493190bb69ba04cc633c
# Parent  a08043a997ea550e351ee87cd205f87562c67fcb
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>

diff -r a08043a997ea -r dba361080715 xen/arch/x86/xstate.c
--- a/xen/arch/x86/xstate.c	Thu Jan 26 15:35:36 2012 +0000
+++ b/xen/arch/x86/xstate.c	Thu Jan 26 15:42:40 2012 +0000
@@ -40,13 +40,13 @@ static inline void xsetbv(u32 index, u64
             "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);
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-26 15:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-26 15:47 [PATCH] Get rid of non-static 'inline' modifiers (gcc 4.2.1 complains) Tim Deegan
2012-01-26 15:59 ` Keir Fraser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).