[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1284361736-23011-2-git-send-email-feng.tang@intel.com>
Date: Mon, 13 Sep 2010 15:08:53 +0800
From: Feng Tang <feng.tang@...el.com>
To: linux-kernel@...r.kernel.org
Cc: mingo@...e.hu, alan@...ux.intel.com, greg@...ah.com,
Feng Tang <feng.tang@...el.com>, x86@...nel.org
Subject: [PATCH v3 1/4] x86, mrst: make mrst_identify_cpu() inlne inside mrst.h
Otherwise there will be some compilation warning for those .c
files which include mrst.h
Signed-off-by: Feng Tang <feng.tang@...el.com>
Cc: x86@...nel.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists