Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 245674
b: refs/heads/master
c: 711b8c8
h: refs/heads/master
v: v3
  • Loading branch information
Florian Mickler authored and Tejun Heo committed Apr 3, 2011
1 parent b707739 commit 6d7b7ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: 3b16651f806d35b5c404f2525fbce76afa3c9297
refs/heads/master: 711b8c87a5fe6de78e90411cb67b506babfef74a
8 changes: 2 additions & 6 deletions trunk/arch/x86/mm/numa_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -505,17 +505,13 @@ static int __init numa_init(int (*init_func)(void))

void __init initmem_init(void)
{
int ret;

if (!numa_off) {
#ifdef CONFIG_ACPI_NUMA
ret = numa_init(x86_acpi_numa_init);
if (!ret)
if (!numa_init(x86_acpi_numa_init))
return;
#endif
#ifdef CONFIG_AMD_NUMA
ret = numa_init(amd_numa_init);
if (!ret)
if (!numa_init(amd_numa_init))
return;
#endif
}
Expand Down

0 comments on commit 6d7b7ee

Please sign in to comment.