git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mm: add comments to explain mm_struct fields
[pandora-kernel.git]
/
kernel
/
sched_cpupri.h
diff --git
a/kernel/sched_cpupri.h
b/kernel/sched_cpupri.h
index
9fc7d38
..
f6d7561
100644
(file)
--- a/
kernel/sched_cpupri.h
+++ b/
kernel/sched_cpupri.h
@@
-4,7
+4,6
@@
#include <linux/sched.h>
#define CPUPRI_NR_PRIORITIES (MAX_RT_PRIO + 2)
#include <linux/sched.h>
#define CPUPRI_NR_PRIORITIES (MAX_RT_PRIO + 2)
-#define CPUPRI_NR_PRI_WORDS BITS_TO_LONGS(CPUPRI_NR_PRIORITIES)
#define CPUPRI_INVALID -1
#define CPUPRI_IDLE 0
#define CPUPRI_INVALID -1
#define CPUPRI_IDLE 0
@@
-12,14
+11,12
@@
/* values 2-101 are RT priorities 0-99 */
struct cpupri_vec {
/* values 2-101 are RT priorities 0-99 */
struct cpupri_vec {
- raw_spinlock_t lock;
- int count;
- cpumask_var_t mask;
+ atomic_t count;
+ cpumask_var_t mask;
};
struct cpupri {
struct cpupri_vec pri_to_cpu[CPUPRI_NR_PRIORITIES];
};
struct cpupri {
struct cpupri_vec pri_to_cpu[CPUPRI_NR_PRIORITIES];
- long pri_active[CPUPRI_NR_PRI_WORDS];
int cpu_to_pri[NR_CPUS];
};
int cpu_to_pri[NR_CPUS];
};