Re: sys_times() return value

2005-07-29 Thread Russell King
On Sat, Jul 23, 2005 at 03:35:31PM +1000, Andrew Morton wrote: > Russell King <[EMAIL PROTECTED]> wrote: > > ARM folk have recently pointed out a problem with sys_times(). > > When the kernel boots, we set jiffies to -5 minutes. This causes > > sys_times() to return a negative number, which increm

Re: sys_times() return value

2005-07-22 Thread Andrew Morton
Russell King <[EMAIL PROTECTED]> wrote: > > Guys, > > ARM folk have recently pointed out a problem with sys_times(). > When the kernel boots, we set jiffies to -5 minutes. This causes > sys_times() to return a negative number, which increments through > zero. > > However, some negative numbers a

sys_times() return value

2005-07-17 Thread Russell King
Guys, ARM folk have recently pointed out a problem with sys_times(). When the kernel boots, we set jiffies to -5 minutes. This causes sys_times() to return a negative number, which increments through zero. However, some negative numbers are used to return error codes. Hence, there's a period of