Andrew Morton
78d89ef40c
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 <dannf@hp.com>
Acked-by: Alessandro Zummo <alessandro.zummo@towertech.it>
Cc: stephane eranian <eranian@googlemail.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-01 08:59:24 -07:00
..
2009-01-06 15:59:23 -08:00
2007-11-14 18:45:36 -08:00
2009-01-06 15:59:25 -08:00
2009-02-05 12:56:46 -08:00
2009-02-05 12:56:46 -08:00
2009-01-06 15:59:23 -08:00
2008-10-20 08:52:41 -07:00
2009-03-24 16:38:22 -07:00
2009-02-11 14:25:36 -08:00
2009-01-06 15:59:25 -08:00
2008-10-20 08:52:41 -07:00
2009-01-06 15:59:24 -08:00
2007-05-08 11:15:18 -07:00
2009-01-04 13:33:20 -08:00
2009-02-05 12:56:46 -08:00
2009-01-06 15:59:25 -08:00
2008-10-16 11:32:38 -07:00
2008-10-20 09:13:34 -07:00
2008-10-20 08:52:42 -07:00
2009-01-08 08:31:00 -08:00
2008-10-16 11:21:39 -07:00
2009-02-05 12:56:48 -08:00
2009-01-07 11:31:52 -08:00
2009-01-06 15:59:23 -08:00
2009-01-06 15:59:25 -08:00
2008-10-20 08:52:41 -07:00
2009-01-06 15:59:24 -08:00
2009-01-06 15:59:25 -08:00
2008-10-20 08:52:41 -07:00
2008-12-23 15:58:21 -08:00
2009-04-01 08:59:24 -07:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2008-10-16 11:32:38 -07:00
2009-01-06 15:59:23 -08:00
2008-10-20 08:52:41 -07:00
2008-12-10 08:01:52 -08:00
2009-01-06 15:59:24 -08:00
2009-03-24 09:11:39 -04:00
2009-03-24 16:38:22 -07:00
2009-01-05 18:15:25 +00:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2009-01-11 01:34:24 +01:00
2008-10-16 11:21:39 -07:00
2008-10-16 11:21:39 -07:00
2008-06-06 11:29:13 -07:00
2009-03-31 01:14:44 +04:00
2009-02-11 14:25:34 -08:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2008-11-12 17:17:18 -08:00
2009-01-06 15:59:24 -08:00
2008-10-20 08:52:41 -07:00
2009-03-09 21:22:40 +08:00
2009-03-20 18:57:35 +09:00
2008-11-21 01:24:38 -08:00
2009-01-07 11:31:52 -08:00
2008-11-14 16:37:54 -08:00
2008-04-28 08:58:17 -07:00
2009-01-06 15:59:25 -08:00
2009-03-24 16:38:22 -07:00
2009-01-06 15:59:25 -08:00
2008-10-20 08:52:41 -07:00
2009-01-06 15:59:24 -08:00
2009-04-01 08:59:24 -07:00
2008-10-20 08:52:41 -07:00