Re: [PATCH] cputime (3/6): move jiffies stuff to jiffies.h

From: Arnd Bergmann
Date: Thu Aug 05 2004 - 15:48:10 EST


On Donnerstag, 5. August 2004 20:04, Martin wrote:
> Move all that lovely jiffies related functions into ONE file,
> include/linux/jiffies.h. Since times.h is almost empty after the
> jiffies conversion functions have been moved, move the remaining
> definition of struct tms to include/linux/time.h. Replace all
> includes of <linux/times.h> with <linux/time.h> and kill times.h.
>
> --- linux-2.6.8-rc3/include/linux/times.h       Wed Jun 16 07:18:57 2004
> +++ linux-2.6.8-s390/include/linux/times.h      Thu Jan  1 01:00:00 1970
> @@ -1,65 +0,0 @@
...
> -
> -struct tms {
> -       clock_t tms_utime;
> -       clock_t tms_stime;
> -       clock_t tms_cutime;
> -       clock_t tms_cstime;
> -};
> -

This should probably stay in linux/times.h, in order to be moved
to abi/times.h one day. glibc has its own sys/times.h, but struct
tms simply belongs into times.h, not time.h, according to the
times man page.

Arnd <><

Attachment: pgp00000.pgp
Description: signature