| To: | Florian Lohoff <flo@rfc822.org> |
|---|---|
| Subject: | Re: [PATCH] const mips_io_port_base !? |
| From: | Ralf Baechle <ralf@oss.sgi.com> |
| Date: | Tue, 27 Nov 2001 17:15:44 +1100 |
| Cc: | linux-mips@oss.sgi.com |
| In-reply-to: | <20011127010214.B21296@paradigm.rfc822.org>; from flo@rfc822.org on Tue, Nov 27, 2001 at 01:02:14AM +0100 |
| References: | <20011127010214.B21296@paradigm.rfc822.org> |
| Sender: | owner-linux-mips@oss.sgi.com |
| 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 ... Ralf |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Status RM200, Karsten Merker |
|---|---|
| Next by Date: | Re: Status RM200, Ralf Baechle |
| Previous by Thread: | [PATCH] const mips_io_port_base !?, Florian Lohoff |
| Next by Thread: | Re: [PATCH] const mips_io_port_base !?, Florian Lohoff |
| Indexes: | [Date] [Thread] [Top] [All Lists] |