Re: [GIT PULL] scheduler changes for v3.3

From: Andreas Schwab
Date: Fri Jan 06 2012 - 12:49:34 EST


Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> writes:

> And by "clashes badly", I mean it. The sparse cleanups added a lot of
> casts between the types, which means that the mindless
>
> +#define usecs_to_cputime64(us) usecs_to_cputime(us)
>
> introduced by that commit 34845636a184 is now likely *wrong*, because
> "usecs_to_cputime()" now explicitly casts to a non-64-bit cputime_t.

Both s390 and powerpc define cputime_t and cputime64_t as the same
types, so this is ok.

Andreas.

--
Andreas Schwab, schwab@xxxxxxxxxxxxxx
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/