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
8c0b14cf
Commit
8c0b14cf
authored
Sep 08, 2003
by
Jesse Barnes
Committed by
David Mosberger
Sep 08, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ia64: cpumask_t fixes
This patch coverts a few spots to use cpumask_t instead of unsigned long.
parent
6621ef31
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
arch/ia64/kernel/mca.c
arch/ia64/kernel/mca.c
+2
-2
arch/ia64/kernel/time.c
arch/ia64/kernel/time.c
+1
-1
include/asm-ia64/numa.h
include/asm-ia64/numa.h
+1
-1
include/asm-ia64/sn/nodepda.h
include/asm-ia64/sn/nodepda.h
+1
-1
No files found.
arch/ia64/kernel/mca.c
View file @
8c0b14cf
...
...
@@ -1193,7 +1193,7 @@ static void
ia64_mca_cmc_poll
(
unsigned
long
dummy
)
{
/* Trigger a CMC interrupt cascade */
platform_send_ipi
(
__ffs
(
cpu_online_map
),
IA64_CMCP_VECTOR
,
IA64_IPI_DM_INT
,
0
);
platform_send_ipi
(
first_cpu
(
cpu_online_map
),
IA64_CMCP_VECTOR
,
IA64_IPI_DM_INT
,
0
);
}
/*
...
...
@@ -1260,7 +1260,7 @@ static void
ia64_mca_cpe_poll
(
unsigned
long
dummy
)
{
/* Trigger a CPE interrupt cascade */
platform_send_ipi
(
__ffs
(
cpu_online_map
),
IA64_CPEP_VECTOR
,
IA64_IPI_DM_INT
,
0
);
platform_send_ipi
(
first_cpu
(
cpu_online_map
),
IA64_CPEP_VECTOR
,
IA64_IPI_DM_INT
,
0
);
}
/*
...
...
arch/ia64/kernel/time.c
View file @
8c0b14cf
...
...
@@ -187,7 +187,7 @@ static inline void
ia64_do_profile
(
struct
pt_regs
*
regs
)
{
unsigned
long
ip
,
slot
;
extern
unsigned
long
prof_cpu_mask
;
extern
cpumask_t
prof_cpu_mask
;
profile_hook
(
regs
);
...
...
include/asm-ia64/numa.h
View file @
8c0b14cf
...
...
@@ -23,7 +23,7 @@
#include <linux/cache.h>
extern
volatile
char
cpu_to_node_map
[
NR_CPUS
]
__cacheline_aligned
;
extern
volatile
unsigned
long
node_to_cpu_mask
[
NR_NODES
]
__cacheline_aligned
;
extern
volatile
cpumask_t
node_to_cpu_mask
[
NR_NODES
]
__cacheline_aligned
;
/* Stuff below this line could be architecture independent */
...
...
include/asm-ia64/sn/nodepda.h
View file @
8c0b14cf
...
...
@@ -128,7 +128,7 @@ typedef struct irqpda_s irqpda_t;
* Check if given a compact node id the corresponding node has all the
* cpus disabled.
*/
#define is_headless_node(cnode) (!
node_to_cpumask(cnode
))
#define is_headless_node(cnode) (!
any_online_cpu(node_to_cpumask(cnode)
))
/*
* Check if given a node vertex handle the corresponding node has all the
...
...
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