Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33713
b: refs/heads/master
c: a813213
h: refs/heads/master
i:
  33711: 092b442
v: v3
  • Loading branch information
Paul Jackson authored and Tony Luck committed Aug 24, 2006
1 parent 8d7d6ae commit cd74022
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7682a4c624e0011b5f3e8dd3021dc54961260d97
refs/heads/master: a813213d73bb29d6986c3e93669a9cd5f7984364
6 changes: 2 additions & 4 deletions trunk/arch/ia64/kernel/topology.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,8 @@ static int __init topology_init(void)
#endif

sysfs_cpus = kzalloc(sizeof(struct ia64_cpu) * NR_CPUS, GFP_KERNEL);
if (!sysfs_cpus) {
err = -ENOMEM;
goto out;
}
if (!sysfs_cpus)
panic("kzalloc in topology_init failed - NR_CPUS too big?");

for_each_present_cpu(i) {
if((err = arch_register_cpu(i)))
Expand Down

0 comments on commit cd74022

Please sign in to comment.