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
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-sh64
/
pgalloc.h
diff --git
a/include/asm-sh64/pgalloc.h
b/include/asm-sh64/pgalloc.h
index
b29dd46
..
cb803e5
100644
(file)
--- a/
include/asm-sh64/pgalloc.h
+++ b/
include/asm-sh64/pgalloc.h
@@
-41,7
+41,7
@@
static inline void pgd_init(unsigned long page)
static inline pgd_t *get_pgd_slow(void)
{
unsigned int pgd_size = (USER_PTRS_PER_PGD * sizeof(pgd_t));
- pgd_t *ret =
(pgd_t *)
kmalloc(pgd_size, GFP_KERNEL);
+ pgd_t *ret = kmalloc(pgd_size, GFP_KERNEL);
return ret;
}