Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
51a169c1
Commit
51a169c1
authored
Dec 07, 2002
by
Richard Henderson
Committed by
Richard Henderson
Dec 07, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TRIVIAL] Use asm-generic/topology.h.
From colpatch@us.ibm.com
parent
b04b564b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
12 deletions
+7
-12
include/asm-alpha/topology.h
include/asm-alpha/topology.h
+7
-12
No files found.
include/asm-alpha/topology.h
View file @
51a169c1
#ifndef _ASM_ALPHA_TOPOLOGY_H
#define _ASM_ALPHA_TOPOLOGY_H
#if
def CONFIG_NUMA
#ifdef CONFIG_ALPHA_WILDFIRE
#if
defined(CONFIG_NUMA) && defined(CONFIG_ALPHA_WILDFIRE)
/* With wildfire assume 4 CPUs per node */
#define __cpu_to_node(cpu) ((cpu) >> 2)
#endif
/* CONFIG_ALPHA_WILDFIRE */
#endif
/* CONFIG_NUMA */
#if !defined(CONFIG_NUMA) || !defined(CONFIG_ALPHA_WILDFIRE)
#define __cpu_to_node(cpu) (0)
#define __memblk_to_node(memblk) (0)
#define __parent_node(nid) (0)
#define __node_to_first_cpu(node) (0)
#define __node_to_cpu_mask(node) (cpu_online_map)
#define __node_to_memblk(node) (0)
#endif
/* !CONFIG_NUMA || !CONFIG_ALPHA_WILDFIRE */
#else
/* !CONFIG_NUMA || !CONFIG_ALPHA_WILDFIRE */
#include <asm-generic/topology.h>
#endif
/* CONFIG_NUMA && CONFIG_ALPHA_WILDFIRE */
#endif
/* _ASM_ALPHA_TOPOLOGY_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment