lkml.org 
[lkml]   [2010]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v3 1/4] x86, mrst: make mrst_identify_cpu() inlne inside mrst.h
Date
Otherwise there will be some compilation warning for those .c
files which include mrst.h

Signed-off-by: Feng Tang <feng.tang@intel.com>
Cc: x86@kernel.org
---
arch/x86/include/asm/mrst.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/include/asm/mrst.h b/arch/x86/include/asm/mrst.h
index 1635074..33fc296 100644
--- a/arch/x86/include/asm/mrst.h
+++ b/arch/x86/include/asm/mrst.h
@@ -26,7 +26,7 @@ enum mrst_cpu_type {
};

extern enum mrst_cpu_type __mrst_cpu_chip;
-static enum mrst_cpu_type mrst_identify_cpu(void)
+static inline enum mrst_cpu_type mrst_identify_cpu(void)
{
return __mrst_cpu_chip;
}
--
1.7.0.4


\
 
 \ /
  Last update: 2010-09-13 08:53    [W:0.215 / U:1.024 seconds]
©2003-2014 Jasper Spaans. Advertise on this site