[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1344245361-24710-1-git-send-email-yuanhan.liu@linux.intel.com>
Date: Mon, 6 Aug 2012 17:29:21 +0800
From: Yuanhan Liu <yuanhan.liu@...ux.intel.com>
To: linux-kernel@...r.kernel.org
Cc: Yuanhan Liu <yuanhan.liu@...ux.intel.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...nel.org>
Subject: [PATCH] timer: do not define __mod_timer as inline function
__mod_timer() is a bit 'huge' to be defined as inline.
$ size kernel/timer*.o
text data bss dec hex filename
18908 4034 8257 31199 79df kernel/timer-before.o
17961 4034 8257 30252 762c kernel/timer-after.o
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Ingo Molnar <mingo@...nel.org>
Signed-off-by: Yuanhan Liu <yuanhan.liu@...ux.intel.com>
---
kernel/timer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/timer.c b/kernel/timer.c
index a61c093..0be4216 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -736,7 +736,7 @@ static struct tvec_base *lock_timer_base(struct timer_list *timer,
}
}
-static inline int
+static int
__mod_timer(struct timer_list *timer, unsigned long expires,
bool pending_only, int pinned)
{
--
1.7.7.6
--
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