Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 245558
b: refs/heads/master
c: 7dd04b7
h: refs/heads/master
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Apr 11, 2011
1 parent ae90185 commit 316d1c1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 23 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: bf28b253266ebd73c331dde24d64606afde32ceb
refs/heads/master: 7dd04b730749f957c116f363524fd622b05e5141
6 changes: 0 additions & 6 deletions trunk/include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -883,9 +883,6 @@ struct sched_group {
* NOTE: this field is variable length. (Allocated dynamically
* by attaching extra space to the end of the structure,
* depending on how many CPUs the kernel has booted up with)
*
* It is also be embedded into static data structures at build
* time. (See 'struct static_sched_group' in kernel/sched.c)
*/
unsigned long cpumask[0];
};
Expand Down Expand Up @@ -994,9 +991,6 @@ struct sched_domain {
* NOTE: this field is variable length. (Allocated dynamically
* by attaching extra space to the end of the structure,
* depending on how many CPUs the kernel has booted up with)
*
* It is also be embedded into static data structures at build
* time. (See 'struct static_sched_domain' in kernel/sched.c)
*/
unsigned long span[0];
};
Expand Down
16 changes: 0 additions & 16 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -6816,22 +6816,6 @@ static void sched_domain_node_span(int node, struct cpumask *span)

int sched_smt_power_savings = 0, sched_mc_power_savings = 0;

/*
* The cpus mask in sched_group and sched_domain hangs off the end.
*
* ( See the the comments in include/linux/sched.h:struct sched_group
* and struct sched_domain. )
*/
struct static_sched_group {
struct sched_group sg;
DECLARE_BITMAP(cpus, CONFIG_NR_CPUS);
};

struct static_sched_domain {
struct sched_domain sd;
DECLARE_BITMAP(span, CONFIG_NR_CPUS);
};

struct sd_data {
struct sched_domain **__percpu sd;
struct sched_group **__percpu sg;
Expand Down

0 comments on commit 316d1c1

Please sign in to comment.