diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2009-03-16 16:51:55 +0100 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2009-03-17 12:56:48 +0100 |
commit | 2e34bde18576a02c897ae6b699ea26301d92be1b (patch) | |
tree | 301278f1af66dd5be296814e19af2f6190e27634 /lib/bug.c | |
parent | 6c132d1bcdc716e898b4092bb1abc696505c37e7 (diff) | |
download | op-kernel-dev-2e34bde18576a02c897ae6b699ea26301d92be1b.zip op-kernel-dev-2e34bde18576a02c897ae6b699ea26301d92be1b.tar.gz |
dma-debug: add checks for kernel text and rodata
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>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions