diff --git a/kernel/profile.c b/kernel/profile.c
index 5b7d1ac7124c97e884d25c57bbf770f9f858d26f..7f93a5042d3b6011cbc54c0e540e6d178f7e293e 100644
--- a/kernel/profile.c
+++ b/kernel/profile.c
@@ -544,7 +544,7 @@ static const struct file_operations proc_profile_operations = {
 };
 
 #ifdef CONFIG_SMP
-static inline void profile_nop(void *unused)
+static void profile_nop(void *unused)
 {
 }