mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] timer: do not define __mod_timer as inline function
@ 2012-08-06  9:29 Yuanhan Liu
  0 siblings, 0 replies; only message in thread
From: Yuanhan Liu @ 2012-08-06  9:29 UTC (permalink / raw)
  To: linux-kernel; +Cc: Yuanhan Liu, Thomas Gleixner, Ingo Molnar

__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@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-06  9:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-06  9:29 [PATCH] timer: do not define __mod_timer as inline function Yuanhan Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®