[PATCH] drivers/ide/ppc/mpc8xx.c - volatile fix

Magnus Damm magnus.damm at gmail.com
Sun Dec 12 01:48:07 EST 2004


Hello,

I fixed this in a local tree for a customer half a year ago (mvl-3.1)
and forgot to report it to the lists. Now I came across it in vanilla
2.5.10-rc3. I have not tested the fix but it is pretty obvious that
access with a non-volatile pointer to hardware is bad, at least with
gcc-3 or above.

Please apply. Or ignore if already fixed. =)

Thanks.

/ magnus (needs CC)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux-2.6.9-mpc8xx-volatile.patch
Type: application/octet-stream
Size: 376 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20041211/47b51773/attachment.obj 


More information about the Linuxppc-embedded mailing list