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
wan: remove sbni/granch driver
[linux-2.6-microblaze.git]
/
lib
/
test_hmm.c
diff --git
a/lib/test_hmm.c
b/lib/test_hmm.c
index
8c55c47
..
c259842
100644
(file)
--- a/
lib/test_hmm.c
+++ b/
lib/test_hmm.c
@@
-628,10
+628,8
@@
static int dmirror_check_atomic(struct dmirror *dmirror, unsigned long start,
for (pfn = start >> PAGE_SHIFT; pfn < (end >> PAGE_SHIFT); pfn++) {
void *entry;
- struct page *page;
entry = xa_load(&dmirror->pt, pfn);
- page = xa_untag_pointer(entry);
if (xa_pointer_tag(entry) == DPT_XA_TAG_ATOMIC)
return -EPERM;
}