projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'hch' (maccess patches from Christoph Hellwig)
[linux-2.6-microblaze.git]
/
mm
/
rodata_test.c
diff --git
a/mm/rodata_test.c
b/mm/rodata_test.c
index
5e313fa
..
2a99df7
100644
(file)
--- a/
mm/rodata_test.c
+++ b/
mm/rodata_test.c
@@
-25,7
+25,7
@@
void rodata_test(void)
}
/* test 2: write to the variable; this should fault */
- if (!
probe_kernel_write
((void *)&rodata_test_data,
+ if (!
copy_to_kernel_nofault
((void *)&rodata_test_data,
(void *)&zero, sizeof(zero))) {
pr_err("test data was not read only\n");
return;