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
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
arch
/
sparc64
/
kernel
/
ebus.c
diff --git
a/arch/sparc64/kernel/ebus.c
b/arch/sparc64/kernel/ebus.c
index
c69504a
..
7991e91
100644
(file)
--- a/
arch/sparc64/kernel/ebus.c
+++ b/
arch/sparc64/kernel/ebus.c
@@
-277,9
+277,10
@@
static inline void *ebus_alloc(size_t size)
{
void *mem;
{
void *mem;
- mem = k
z
alloc(size, GFP_ATOMIC);
+ mem = k
m
alloc(size, GFP_ATOMIC);
if (!mem)
panic("ebus_alloc: out of memory");
if (!mem)
panic("ebus_alloc: out of memory");
+ memset((char *)mem, 0, size);
return mem;
}
return mem;
}