diff options
| author | William Lee Irwin III <wli@holomorphy.com> | 2002-12-20 06:05:38 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-12-20 06:05:38 -0800 |
| commit | 8f309a3f2443fc5ec42185a247ae030195da953d (patch) | |
| tree | b075fdd177dccd85f76319ed5fe013a9455150e6 /include/linux | |
| parent | c2e95c3ff2652cd5e5489b00e142f6aa225c0814 (diff) | |
[PATCH] Fix CPU bitmask truncation
Fix task->cpus_allowed bitmask truncations on 64.bit architectures.
Originally by Bjorn Helgaas for 2.4.x.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/init_task.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/init_task.h b/include/linux/init_task.h index d9b8c5d9b55c..77bc3a1340ac 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h @@ -63,7 +63,7 @@ .prio = MAX_PRIO-20, \ .static_prio = MAX_PRIO-20, \ .policy = SCHED_NORMAL, \ - .cpus_allowed = -1, \ + .cpus_allowed = ~0UL, \ .mm = NULL, \ .active_mm = &init_mm, \ .run_list = LIST_HEAD_INIT(tsk.run_list), \ |
