Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 125315
b: refs/heads/master
c: 758b2cd
h: refs/heads/master
i:
  125313: b20b0f6
  125311: 187885d
v: v3
  • Loading branch information
Rusty Russell authored and Ingo Molnar committed Nov 24, 2008
1 parent be14741 commit 38bd0ec
Show file tree
Hide file tree
Showing 6 changed files with 74 additions and 68 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: 1e5ce4f4a755ee498bd9217dae26143afa0d8f31
refs/heads/master: 758b2cdc6f6a22c702bd8f2344382fb1270b2161
10 changes: 10 additions & 0 deletions trunk/include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,11 @@ struct sched_group {
u32 reciprocal_cpu_power;
};

static inline struct cpumask *sched_group_cpus(struct sched_group *sg)
{
return &sg->cpumask;
}

enum sched_domain_level {
SD_LV_NONE = 0,
SD_LV_SIBLING,
Expand Down Expand Up @@ -866,6 +871,11 @@ struct sched_domain {
#endif
};

static inline struct cpumask *sched_domain_span(struct sched_domain *sd)
{
return &sd->span;
}

extern void partition_sched_domains(int ndoms_new, cpumask_t *doms_new,
struct sched_domain_attr *dattr_new);
extern int arch_reinit_sched_domains(void);
Expand Down
Loading

0 comments on commit 38bd0ec

Please sign in to comment.