[patch 05/43] Export deinlined mktime

From: Thomas Gleixner
Date: Wed Nov 30 2005 - 19:11:38 EST


plain text document attachment (deinline-mktime-export.patch)
From: Andrew Morton <akpm@xxxxxxxx>

This is now uninlined, but some modules use it.

Make it a non-GPL export, since the inlined mktime() was also available that
way.

Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>

kernel/time.c | 2 ++
1 files changed, 2 insertions(+)

Index: linux-2.6.15-rc2-rework/kernel/time.c
===================================================================
--- linux-2.6.15-rc2-rework.orig/kernel/time.c
+++ linux-2.6.15-rc2-rework/kernel/time.c
@@ -597,6 +597,8 @@ mktime(const unsigned int year0, const u
)*60 + sec; /* finally seconds */
}

+EXPORT_SYMBOL(mktime);
+
/**
* set_normalized_timespec - set timespec sec and nsec parts and normalize
*

--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/