Patch by Mike A. Harris <email@example.com> for X.Org X11
Fix runtime DRI pagesize assumptions in the r128 and radeon drivers. This is
particularly important on ia64 and other architectures that have a configurable
pagesize. Otherwise, the X server is hard coded at build time to a particular
pagesize which may not match the installed kernel.
Created attachment 463 [details] [review]
looks fine to me, commited to DRI tree..
sorry this is also an xorg bug so let them also take patch... so I reopened it ..
applied to xorg, closing.
Some creditation got lost while porting this patch forward. Please be sure
to credit Chris Ahna, who posted the original patch for XFree86 4.3.0 some time