aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/sched-if.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2013-10-14 08:52:18 +0200
committerJan Beulich <jbeulich@suse.com>2013-10-14 08:52:18 +0200
commit48830988a28b7fb1eed225354e25572aa955749a (patch)
treeebee9a7401eaf927075a28ec85debbf18627cd80 /xen/include/xen/sched-if.h
parent1a510f3c447452006fa2a661b387fdc5410c41d5 (diff)
downloadxen-48830988a28b7fb1eed225354e25572aa955749a.tar.gz
xen-48830988a28b7fb1eed225354e25572aa955749a.tar.bz2
xen-48830988a28b7fb1eed225354e25572aa955749a.zip
x86: fix bug_line()
Due to the packing into a bit field together with a relocated field, the computation can overflow when the relocated field ends up getting a negative value stored. Hence it isn't sufficient to correct the value by 1 in this case, but we also need to mask the result to the width of the original bit field. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/include/xen/sched-if.h')
0 files changed, 0 insertions, 0 deletions