git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
include
/
asm-ia64
/
crash.h
diff --git
a/include/asm-ia64/crash.h
b/include/asm-ia64/crash.h
index
f51e828
..
541af84
100644
(file)
--- a/
include/asm-ia64/crash.h
+++ b/
include/asm-ia64/crash.h
@@
-38,7
+38,7
@@
map_virtual(u64 offset, struct page **pp)
if (REGION_NUMBER(offset) == 5) {
char byte;
if (REGION_NUMBER(offset) == 5) {
char byte;
- if (__get_user(byte, (char *)offset) == 0)
+ if (__get_user(byte, (char *)offset) == 0)
return (void *)offset;
else
return NULL;
return (void *)offset;
else
return NULL;
@@
-62,11
+62,11
@@
map_virtual(u64 offset, struct page **pp)
pfn = offset >> PAGE_SHIFT;
pfn = offset >> PAGE_SHIFT;
-
if (!pfn_valid(pfn)) {
-
printk(KERN_INFO
- "crash memory driver: invalid pfn: %lx )\n", pfn);
-
return NULL;
-
}
+ if (!pfn_valid(pfn)) {
+ printk(KERN_INFO
+
"crash memory driver: invalid pfn: %lx )\n", pfn);
+ return NULL;
+ }
page = pfn_to_page(pfn);
page = pfn_to_page(pfn);