diff options
| author | Arjan van de Ven <[email protected]> | 2007-06-20 22:23:21 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-06-21 16:02:50 -0700 |
| commit | 0864a4e201b1ea442f4c8b887418a29f67e24d30 (patch) | |
| tree | cee5372bb22502e52029543dfb72c571a1e89faa /include/linux | |
| parent | 79d9a72f87d0a6f910be262a9dd4c36e96972a92 (diff) | |
Allow DEBUG_RODATA and KPROBES to co-exist
Do not mark the kernel text read only if KPROBES is in the kernel;
kprobes needs to hot-patch the kernel text to insert it's
instrumentation.
In this case, only mark the .rodata segment as read only.
Signed-off-by: Arjan van de Ven <[email protected]>
Tested-by: S. P. Prasanna <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: William Cohen <[email protected]>
Cc: Ian McDonald <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions