From 3242e6ef0ea54991f180d25a25aab37000f6b88b Mon Sep 17 00:00:00 2001
From: Denys Vlasenko <dvlasenk@redhat.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] kernel/time/timekeeping.c: Deinline accumulate_nsecs_to_secs, save 128 bytes

This function compiles to 197 bytes of machine code.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
---
 kernel/time/timekeeping.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
index 44d2cc0..7c2c912 100644
--- a/kernel/time/timekeeping.c
+++ b/kernel/time/timekeeping.c
@@ -1679,7 +1679,7 @@ static void timekeeping_adjust(struct timekeeper *tk, s64 offset)
  * It also calls into the NTP code to handle leapsecond processing.
  *
  */
-static inline unsigned int accumulate_nsecs_to_secs(struct timekeeper *tk)
+static unsigned int accumulate_nsecs_to_secs(struct timekeeper *tk)
 {
 	u64 nsecps = (u64)NSEC_PER_SEC << tk->tkr_mono.shift;
 	unsigned int clock_set = 0;
-- 
2.1.0

