Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17537
b: refs/heads/master
c: ed653a6
h: refs/heads/master
i:
  17535: 36583f9
v: v3
  • Loading branch information
akpm@osdl.org authored and Linus Torvalds committed Jan 10, 2006
1 parent b0985c6 commit ee76b5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: df2e71fb9115a8d4f721fb1464db09adc8332bc5
refs/heads/master: ed653a640419cd9d1ad0f8dc176478e6634a694e
6 changes: 1 addition & 5 deletions trunk/kernel/stop_machine.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,9 @@ static int stop_machine(void)
{
int i, ret = 0;
struct sched_param param = { .sched_priority = MAX_RT_PRIO-1 };
mm_segment_t old_fs = get_fs();

/* One high-prio thread per cpu. We'll do this one. */
set_fs(KERNEL_DS);
sys_sched_setscheduler(current->pid, SCHED_FIFO,
(struct sched_param __user *)&param);
set_fs(old_fs);
sched_setscheduler(current, SCHED_FIFO, &param);

atomic_set(&stopmachine_thread_ack, 0);
stopmachine_num_threads = 0;
Expand Down

0 comments on commit ee76b5d

Please sign in to comment.