This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch - at91 serial drivers assumed realtime response for DSR routines


> So here's my version of the AT91 serial driver. It
[...]
>-    serial_channel *chan = (serial_channel *)tab->priv;
>+    serial_channel * const chan = (serial_channel *)tab->priv;

do these changes to const result in gcc optimizing better or why are
they made?
thanks

Jani


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]