projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[deliverable/linux.git]
/
arch
/
powerpc
/
sysdev
/
ipic.c
diff --git
a/arch/powerpc/sysdev/ipic.c
b/arch/powerpc/sysdev/ipic.c
index a86d3ce01ead98293dcb0e28a14bf943163b40a2..69e2630c90624cf40690d0ecfd7643a75e1d4bf5 100644
(file)
--- a/
arch/powerpc/sysdev/ipic.c
+++ b/
arch/powerpc/sysdev/ipic.c
@@
-728,12
+728,10
@@
struct ipic * __init ipic_init(struct device_node *node, unsigned int flags)
if (ret)
return NULL;
if (ret)
return NULL;
- ipic =
alloc_bootmem(sizeof(struct ipic)
);
+ ipic =
kzalloc(sizeof(*ipic), GFP_KERNEL
);
if (ipic == NULL)
return NULL;
if (ipic == NULL)
return NULL;
- memset(ipic, 0, sizeof(struct ipic));
-
ipic->irqhost = irq_alloc_host(node, IRQ_HOST_MAP_LINEAR,
NR_IPIC_INTS,
&ipic_host_ops, 0);
ipic->irqhost = irq_alloc_host(node, IRQ_HOST_MAP_LINEAR,
NR_IPIC_INTS,
&ipic_host_ops, 0);
This page took
0.02682 seconds
and
5
git commands to generate.