x86: export set_memory_ro and set_memory_rw
commita03352d2c1dcb00970801fb8b800a39acd3103d9
authorBruce Allan <bruce.w.allan@intel.com>
Tue, 30 Sep 2008 03:19:22 +0000 (29 20:19 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 30 Sep 2008 07:06:41 +0000 (30 09:06 +0200)
treed5977adc31e438d7bf703b48132995d9a2b1aabd
parent94aca1dac6f6d21f4b07e4864baf7768cabcc6e7
x86: export set_memory_ro and set_memory_rw

Export set_memory_ro() and set_memory_rw() calls for use by drivers that need
to have more debug information about who might be writing to memory space.
this was initially developed for use while debugging a memory corruption
problem with e1000e.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/pageattr.c