diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-12-21 18:19:27 -0500 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-12-25 05:44:29 -0500 |
commit | d06b68ec1e82842e02c37977fcebc0626d0becd5 (patch) | |
tree | 536e357fa0935fa425e413294265ec704ff8ab38 /arch/m32r | |
parent | f07bb0a4549916107a7619d0bc4cb5dc09d5744a (diff) |
bugfix: C-EDF, clear scheduled field of the correct CPU upon task_exitwip-timer-trace
Do not use the "scheduled_on" field to address the cpus structure
within a cluster. cpus may contain less items than num_online_cpus and
we may cause an out-of-bound access. Instead, use "scheduled_on" to
directly access the per-cpu cpu_entry_t structure.
Reported-by: Jonathan Herman <hermanjl@cs.unc.edu>
Diffstat (limited to 'arch/m32r')
0 files changed, 0 insertions, 0 deletions