summaryrefslogtreecommitdiff
path: root/src/i830.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-06-05 11:26:02 -0700
committerEric Anholt <eric@anholt.net>2008-06-05 11:47:27 -0700
commit65306cdd71dad71e4ca7229764f81a0880dd70bf (patch)
tree78bdcf22afffefb2c0eb32e62a60ebc7de4d4e95 /src/i830.h
parentbeb72ae5aa053303f5cc419e9c9d7c6db964f160 (diff)
Just remove the mprotect kludge.
Besides not being #ifdef __linux__ed as requested, some linux kernels break in exciting new ways when you try to mprotect from PROT_NONE back to PROT_READ|PROT_WRITE. Yes, there are bugs in the code we're calling in a bug-exploiting bug workaround. If you want this workaround for the original bug exposed when moving to libpciaccess, it's already in libpciaccess.
Diffstat (limited to 'src/i830.h')
0 files changed, 0 insertions, 0 deletions