-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 234831 b: refs/heads/master c: bbc9e2f h: refs/heads/master i: 234829: fd50bde 234827: fd257e7 234823: f07746e 234815: be73b14 v: v3
- Loading branch information
Tejun Heo
authored and
Ingo Molnar
committed
Jan 28, 2011
1 parent
1af6e59
commit 9606a37
Showing
16 changed files
with
102 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 89e5dc218e084e13a3996db6693b01478912f4ee | ||
refs/heads/master: bbc9e2f452d9c4b166d1f9a78d941d80173312fe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,33 @@ | ||
#ifndef _ASM_X86_NUMA_H | ||
#define _ASM_X86_NUMA_H | ||
|
||
#include <asm/apicdef.h> | ||
|
||
#ifdef CONFIG_NUMA | ||
/* | ||
* __apicid_to_node[] stores the raw mapping between physical apicid and | ||
* node and is used to initialize cpu_to_node mapping. | ||
* | ||
* The mapping may be overridden by apic->numa_cpu_node() on 32bit and thus | ||
* should be accessed by the accessors - set_apicid_to_node() and | ||
* numa_cpu_node(). | ||
*/ | ||
extern s16 __apicid_to_node[MAX_LOCAL_APIC]; | ||
|
||
static inline void set_apicid_to_node(int apicid, s16 node) | ||
{ | ||
__apicid_to_node[apicid] = node; | ||
} | ||
#else /* CONFIG_NUMA */ | ||
static inline void set_apicid_to_node(int apicid, s16 node) | ||
{ | ||
} | ||
#endif /* CONFIG_NUMA */ | ||
|
||
#ifdef CONFIG_X86_32 | ||
# include "numa_32.h" | ||
#else | ||
# include "numa_64.h" | ||
#endif | ||
|
||
#endif /* _ASM_X86_NUMA_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters