Skip to content

Commit

Permalink
Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel…
Browse files Browse the repository at this point in the history
…/git/travis/linux-2.6-cpus4096-for-ingo into cpus4096
  • Loading branch information
Ingo Molnar committed Jan 15, 2009
2 parents 5cd7376 + f2a0827 commit c847a9c
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions arch/x86/include/asm/topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,20 @@ extern int __node_distance(int, int);

#else /* !CONFIG_NUMA */

#define numa_node_id() 0
#define cpu_to_node(cpu) 0
#define early_cpu_to_node(cpu) 0
static inline int numa_node_id(void)
{
return 0;
}

static inline int cpu_to_node(int cpu)
{
return 0;
}

static inline int early_cpu_to_node(int cpu)
{
return 0;
}

static inline const cpumask_t *cpumask_of_node(int node)
{
Expand Down

0 comments on commit c847a9c

Please sign in to comment.