Re: [PATCH] RTC: rtc_time_to_tm: use unsigned arithmetic

From: Maciej W. Rozycki
Date: Tue May 06 2008 - 21:11:42 EST


On Wed, 7 May 2008, Dmitri Vorobiev wrote:

> > - register int days, month, year;
> > + register unsigned int days, month, year;
>
> Does it make any sense to use the `register' keyword nowadays?

It may or may not -- I have not investigated it that thoroughly. It is
still correct syntax and a valid optimization hint -- I could imagine the
-Os mode utilizing it on some architecture that can do ALU operations on
memory.

Maciej
--
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/