-
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: 125360 b: refs/heads/master c: bcda016 h: refs/heads/master v: v3
- Loading branch information
Mike Travis
committed
Dec 17, 2008
1 parent
9ac7688
commit a6c36a2
Showing
17 changed files
with
128 additions
and
130 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: d7b381bb7b1ad69ff008ea063d26e988b686c8de | ||
refs/heads/master: bcda016eddd7a8b374bb371473c821a91ff1d8cc |
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,26 +1,22 @@ | ||
#ifndef __ASM_MACH_IPI_H | ||
#define __ASM_MACH_IPI_H | ||
|
||
void send_IPI_mask_sequence(const cpumask_t *mask, int vector); | ||
void send_IPI_mask_allbutself(const cpumask_t *mask, int vector); | ||
void send_IPI_mask_sequence(const struct cpumask *mask, int vector); | ||
void send_IPI_mask_allbutself(const struct cpumask *mask, int vector); | ||
|
||
static inline void send_IPI_mask(const cpumask_t *mask, int vector) | ||
static inline void send_IPI_mask(const struct cpumask *mask, int vector) | ||
{ | ||
send_IPI_mask_sequence(mask, vector); | ||
} | ||
|
||
static inline void send_IPI_allbutself(int vector) | ||
{ | ||
cpumask_t mask = cpu_online_map; | ||
cpu_clear(smp_processor_id(), mask); | ||
|
||
if (!cpus_empty(mask)) | ||
send_IPI_mask(&mask, vector); | ||
send_IPI_mask_allbutself(cpu_online_mask, vector); | ||
} | ||
|
||
static inline void send_IPI_all(int vector) | ||
{ | ||
send_IPI_mask(&cpu_online_map, vector); | ||
send_IPI_mask(cpu_online_mask, vector); | ||
} | ||
|
||
#endif /* __ASM_MACH_IPI_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,22 @@ | ||
#ifndef __ASM_ES7000_IPI_H | ||
#define __ASM_ES7000_IPI_H | ||
|
||
void send_IPI_mask_sequence(const cpumask_t *mask, int vector); | ||
void send_IPI_mask_allbutself(const cpumask_t *mask, int vector); | ||
void send_IPI_mask_sequence(const struct cpumask *mask, int vector); | ||
void send_IPI_mask_allbutself(const struct cpumask *mask, int vector); | ||
|
||
static inline void send_IPI_mask(const cpumask_t *mask, int vector) | ||
static inline void send_IPI_mask(const struct cpumask *mask, int vector) | ||
{ | ||
send_IPI_mask_sequence(mask, vector); | ||
} | ||
|
||
static inline void send_IPI_allbutself(int vector) | ||
{ | ||
cpumask_t mask = cpu_online_map; | ||
cpu_clear(smp_processor_id(), mask); | ||
if (!cpus_empty(mask)) | ||
send_IPI_mask(&mask, vector); | ||
send_IPI_mask_allbutself(cpu_online_mask, vector); | ||
} | ||
|
||
static inline void send_IPI_all(int vector) | ||
{ | ||
send_IPI_mask(&cpu_online_map, vector); | ||
send_IPI_mask(cpu_online_mask, vector); | ||
} | ||
|
||
#endif /* __ASM_ES7000_IPI_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,22 @@ | ||
#ifndef __ASM_NUMAQ_IPI_H | ||
#define __ASM_NUMAQ_IPI_H | ||
|
||
void send_IPI_mask_sequence(const cpumask_t *mask, int vector); | ||
void send_IPI_mask_allbutself(const cpumask_t *mask, int vector); | ||
void send_IPI_mask_sequence(const struct cpumask *mask, int vector); | ||
void send_IPI_mask_allbutself(const struct cpumask *mask, int vector); | ||
|
||
static inline void send_IPI_mask(const cpumask_t *mask, int vector) | ||
static inline void send_IPI_mask(const struct cpumask *mask, int vector) | ||
{ | ||
send_IPI_mask_sequence(mask, vector); | ||
} | ||
|
||
static inline void send_IPI_allbutself(int vector) | ||
{ | ||
cpumask_t mask = cpu_online_map; | ||
cpu_clear(smp_processor_id(), mask); | ||
|
||
if (!cpus_empty(mask)) | ||
send_IPI_mask(&mask, vector); | ||
send_IPI_mask_allbutself(cpu_online_mask, vector); | ||
} | ||
|
||
static inline void send_IPI_all(int vector) | ||
{ | ||
send_IPI_mask(&cpu_online_map, vector); | ||
send_IPI_mask(cpu_online_mask, vector); | ||
} | ||
|
||
#endif /* __ASM_NUMAQ_IPI_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
Oops, something went wrong.