Roman Zippel wrote:
quoted
quoted
[drm] drm_sg_alloc
i: ca292000
pgd: c014dca0
pmd: c014dca0
pte: 00000a48
Oops: kernel access of bad area, sig: 11
Looking at pgd/pmd, pte seems fishy for a pointer. Any reason why this
code shouldn't work on PPC?
There is no pte table and so there is nothing mapped at that address, you
can use (pgd|pmd|pte)_present() to test for that.
You are saying we should use *_present() to check each of these before using
*_offset to get the pointer? And what if *_present() is false?
Michel
--
Earthling Michel Dänzer (MrCooper) \ Debian GNU/Linux (powerpc) developer
CS student, Free Software enthusiast \ XFree86 and DRI project member
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/