mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
Slightly disgusting hack to avoid using lots of lock instructions on a uniprocessor machine just because we happened to compile with CONFIG_SMP. Essentially, we make a big table of all of the instruction sequences which differ in ``easy'' ways between UP and SMP kernels, and then select which one to use at run time. Signed-off-by: Steven Smith <sos22@cam.ac.uk>