[Top] [All Lists]

Re: [PATCH] const mips_io_port_base !?

To: Florian Lohoff <>
Subject: Re: [PATCH] const mips_io_port_base !?
From: Ralf Baechle <>
Date: Tue, 27 Nov 2001 17:15:44 +1100
In-reply-to: <>; from on Tue, Nov 27, 2001 at 01:02:14AM +0100
References: <>
User-agent: Mutt/1.2.5i
On Tue, Nov 27, 2001 at 01:02:14AM +0100, Florian Lohoff wrote:

Blame whoever designed C that there is no sane way to give a variable an
attribute like "will never change again after the first initalization thus
keeping the value in a register beyond function calls and any other kind
of memory barrier is ok".  This inconsistence merily achieves a better
optimization of the code; the set_* function is intended to hide this cute
little standard violation away ...


<Prev in Thread] Current Thread [Next in Thread>