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
Merge to Fedora kernel-2.6.7-1.492
[linux-2.6.git]
/
include
/
asm-sparc64
/
pgalloc.h
diff --git
a/include/asm-sparc64/pgalloc.h
b/include/asm-sparc64/pgalloc.h
index
acc08c2
..
6fa1a1b
100644
(file)
--- a/
include/asm-sparc64/pgalloc.h
+++ b/
include/asm-sparc64/pgalloc.h
@@
-196,7
+196,7
@@
pte_alloc_one(struct mm_struct *mm, unsigned long addr)
pte_t *pte = pte_alloc_one_kernel(mm, addr);
if (pte)
return virt_to_page(pte);
- return
0
;
+ return
NULL
;
}
static __inline__ pte_t *pte_alloc_one_fast(struct mm_struct *mm, unsigned long address)