aboutsummaryrefslogtreecommitdiff
path: root/linux/src
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2023-05-11 16:58:43 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-12 00:51:40 +0200
commit9132d71a75edd11d94076047afa4553a730333c7 (patch)
tree06ee744c75faf07667c17e19d3c7c730949ec242 /linux/src
parent6b5954a07d3d59f26a79bf6a0f0a892d6bc5fd9a (diff)
downloadgnumach-9132d71a75edd11d94076047afa4553a730333c7.tar.gz
gnumach-9132d71a75edd11d94076047afa4553a730333c7.tar.bz2
gnumach-9132d71a75edd11d94076047afa4553a730333c7.zip
x86_64: Fix updating fsgs base on context switch
Commit 31dd30a94a682955c3c9e2f42252b4a07687067a "add setting gs/fsbase" added the code to set fs and gs bases on context_switch. However, this was only being done when switching context via the explicit switch_context() method, but not in other cases where the context is switched, such as with call_continuation(). Instead, put setting fsgs base into switch_ktss(), where it will be called in all cases. Message-Id: <20230511135844.837338-1-bugaevc@gmail.com>
Diffstat (limited to 'linux/src')
0 files changed, 0 insertions, 0 deletions