diff options
author | Vegard Nossum <vegard.nossum@gmail.com> | 2008-09-14 19:03:53 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-13 10:21:12 +0200 |
commit | 33f8c40a30ae99e971d068c9ec6088e713c46f5f (patch) | |
tree | fa824ccaf601c7ac388dbd5f5caa03c96c8bba26 /mm/tiny-shmem.c | |
parent | 3e6de5a393661c5cdabe44115e93bcbde6a742fc (diff) |
x86: add memory clobber in switch_to()
Segment registers are reloaded, so we should add a memory clobber. The
generated assembly code is identical in my tests, but this doesn't mean
it is necessarily true for all configurations/compilers.
x86_64 already has the memory clobber.
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'mm/tiny-shmem.c')
0 files changed, 0 insertions, 0 deletions