From: Andrew Morton Date: Tue, 31 Mar 2009 22:24:48 +0000 (-0700) Subject: rtc: convert LEAP_YEAR into an inline X-Git-Tag: v2.6.30-rc1~494 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78d89ef40c2ff7265df077e20c4d76be7d415204;p=pandora-kernel.git rtc: convert LEAP_YEAR into an inline - the LEAP_YEAR macro is buggy - it references its arg multiple times. Fix this by turning it into a C function. - give it a more approriate name - Move it to rtc.h so that other .c files can use it, instead of copying it. Cc: dann frazier Acked-by: Alessandro Zummo Cc: stephane eranian Cc: "Luck, Tony" Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed