[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.55.0805070207230.16173@cliff.in.clinika.pl>
Date: Wed, 7 May 2008 02:11:08 +0100 (BST)
From: "Maciej W. Rozycki" <macro@...ux-mips.org>
To: Dmitri Vorobiev <dmitri.vorobiev@...il.com>
cc: Alessandro Zummo <a.zummo@...ertech.it>,
Andrew Morton <akpm@...ux-foundation.org>,
rtc-linux@...glegroups.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] RTC: rtc_time_to_tm: use unsigned arithmetic
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists