Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96353
b: refs/heads/master
c: 5c3a121
h: refs/heads/master
i:
  96351: b2153dd
v: v3
  • Loading branch information
Vaidyanathan Srinivasan authored and Thomas Gleixner committed May 10, 2008
1 parent 653968e commit c249efa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 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: eb2b4e682a6d5b4779a7f1a6a8419982919795f6
refs/heads/master: 5c3a121d52b30a1e53cdaa802fa1965fcd243164
18 changes: 10 additions & 8 deletions trunk/include/asm-x86/topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@
#ifndef _ASM_X86_TOPOLOGY_H
#define _ASM_X86_TOPOLOGY_H

#ifdef CONFIG_X86_32
# ifdef CONFIG_X86_HT
# define ENABLE_TOPO_DEFINES
# endif
#else
# ifdef CONFIG_SMP
# define ENABLE_TOPO_DEFINES
# endif
#endif

#ifdef CONFIG_NUMA
#include <linux/cpumask.h>
#include <asm/mpspec.h>
Expand Down Expand Up @@ -130,21 +140,13 @@ extern unsigned long node_end_pfn[];
extern unsigned long node_remap_size[];
#define node_has_online_mem(nid) (node_start_pfn[nid] != node_end_pfn[nid])

# ifdef CONFIG_X86_HT
# define ENABLE_TOPO_DEFINES
# endif

# define SD_CACHE_NICE_TRIES 1
# define SD_IDLE_IDX 1
# define SD_NEWIDLE_IDX 2
# define SD_FORKEXEC_IDX 0

#else

# ifdef CONFIG_SMP
# define ENABLE_TOPO_DEFINES
# endif

# define SD_CACHE_NICE_TRIES 2
# define SD_IDLE_IDX 2
# define SD_NEWIDLE_IDX 2
Expand Down

0 comments on commit c249efa

Please sign in to comment.