dma-debug: add checks for kernel text and rodata
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 16 Mar 2009 15:51:55 +0000 (16:51 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Tue, 17 Mar 2009 11:56:48 +0000 (12:56 +0100)
Impact: get notified if a device dma maps illegal areas

This patch adds a check to print a warning message when a device driver
tries to map a memory area from the kernel text segment or rodata.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>

No differences found