diff options
| author | Dave Airlie <airlied@redhat.com> | 2014-01-28 18:38:32 -0500 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2014-01-28 18:38:32 -0500 |
| commit | a5bd4f8ab0443ea62be34b112eb78cafb6b3042d (patch) | |
| tree | df3357914d967c2cf4619dbd14f4609daf406a15 /kernel | |
| parent | dee13f12f6ab0c0927adf9168dfc84da93fc9f13 (diff) | |
| parent | bed86f15bdc23436fb30d09e2faa3dfb7d3834e1 (diff) | |
Merge branch 'drm-armada-fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-cubox into drm-next
Just one-liner which corrects a select statement for DRM_KMS_FB_HELPER
which looks like it was missed in the initial merge. Based on 3.13.
* 'drm-armada-fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-cubox: (55 commits)
DRM: armada: fix missing DRM_KMS_FB_HELPER select
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/fork.c | 2 | ||||
| -rw-r--r-- | kernel/sched/fair.c | 2 | ||||
| -rw-r--r-- | kernel/time/sched_clock.c | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 5721f0e3f2da..dfa736c98d17 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
| @@ -1172,7 +1172,7 @@ static struct task_struct *copy_process(unsigned long clone_flags, | |||
| 1172 | * do not allow it to share a thread group or signal handlers or | 1172 | * do not allow it to share a thread group or signal handlers or |
| 1173 | * parent with the forking task. | 1173 | * parent with the forking task. |
| 1174 | */ | 1174 | */ |
| 1175 | if (clone_flags & (CLONE_SIGHAND | CLONE_PARENT)) { | 1175 | if (clone_flags & CLONE_SIGHAND) { |
| 1176 | if ((clone_flags & (CLONE_NEWUSER | CLONE_NEWPID)) || | 1176 | if ((clone_flags & (CLONE_NEWUSER | CLONE_NEWPID)) || |
| 1177 | (task_active_pid_ns(current) != | 1177 | (task_active_pid_ns(current) != |
| 1178 | current->nsproxy->pid_ns_for_children)) | 1178 | current->nsproxy->pid_ns_for_children)) |
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index c7395d97e4cb..e64b0794060e 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c | |||
| @@ -3923,7 +3923,7 @@ static long effective_load(struct task_group *tg, int cpu, long wl, long wg) | |||
| 3923 | { | 3923 | { |
| 3924 | struct sched_entity *se = tg->se[cpu]; | 3924 | struct sched_entity *se = tg->se[cpu]; |
| 3925 | 3925 | ||
| 3926 | if (!tg->parent || !wl) /* the trivial, non-cgroup case */ | 3926 | if (!tg->parent) /* the trivial, non-cgroup case */ |
| 3927 | return wl; | 3927 | return wl; |
| 3928 | 3928 | ||
| 3929 | for_each_sched_entity(se) { | 3929 | for_each_sched_entity(se) { |
diff --git a/kernel/time/sched_clock.c b/kernel/time/sched_clock.c index 68b799375981..0abb36464281 100644 --- a/kernel/time/sched_clock.c +++ b/kernel/time/sched_clock.c | |||
| @@ -74,7 +74,7 @@ unsigned long long notrace sched_clock(void) | |||
| 74 | return cd.epoch_ns; | 74 | return cd.epoch_ns; |
| 75 | 75 | ||
| 76 | do { | 76 | do { |
| 77 | seq = read_seqcount_begin(&cd.seq); | 77 | seq = raw_read_seqcount_begin(&cd.seq); |
| 78 | epoch_cyc = cd.epoch_cyc; | 78 | epoch_cyc = cd.epoch_cyc; |
| 79 | epoch_ns = cd.epoch_ns; | 79 | epoch_ns = cd.epoch_ns; |
| 80 | } while (read_seqcount_retry(&cd.seq, seq)); | 80 | } while (read_seqcount_retry(&cd.seq, seq)); |
| @@ -99,10 +99,10 @@ static void notrace update_sched_clock(void) | |||
| 99 | cd.mult, cd.shift); | 99 | cd.mult, cd.shift); |
| 100 | 100 | ||
| 101 | raw_local_irq_save(flags); | 101 | raw_local_irq_save(flags); |
| 102 | write_seqcount_begin(&cd.seq); | 102 | raw_write_seqcount_begin(&cd.seq); |
| 103 | cd.epoch_ns = ns; | 103 | cd.epoch_ns = ns; |
| 104 | cd.epoch_cyc = cyc; | 104 | cd.epoch_cyc = cyc; |
| 105 | write_seqcount_end(&cd.seq); | 105 | raw_write_seqcount_end(&cd.seq); |
| 106 | raw_local_irq_restore(flags); | 106 | raw_local_irq_restore(flags); |
| 107 | } | 107 | } |
| 108 | 108 | ||
