Tony Breeds 151db1fc23 Fix compilation of powerpc asm-offsets.c with old gcc
Commit ad7f71674ad7c3c4467e48f6ab9e85516dae2720 ("[POWERPC] Use a
sensible default for clock_getres() in the VDSO") corrected the clock
resolution reported by the VDSO clock_getres() but introduced another
problem in that older versions of gcc (gcc-4.0 and earlier) fail to
compile the new code in arch/powerpc/kernel/asm-offsets.c.

This fixes it by introducing a new MONOTONIC_RES_NSEC define in the
generic code which is equivalent to KTIME_MONOTONIC_RES but is just an
integer constant, not a ktime union.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-07 14:54:45 -08:00
..
2007-05-11 05:38:25 -04:00
2007-10-19 23:22:55 +02:00
2008-01-25 22:52:50 +11:00
2007-10-19 23:22:55 +02:00
2007-10-16 09:43:10 -07:00
2007-05-08 13:40:31 +10:00
2006-08-08 17:08:56 +10:00
2007-10-17 08:42:55 -07:00
2007-10-17 08:42:55 -07:00
2008-01-28 23:21:18 +01:00
2007-10-11 14:36:47 +10:00
2008-02-06 10:41:00 -08:00