summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/llvmc/src/Main.cpp
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2010-10-09 08:07:49 +0000
committeravg <avg@FreeBSD.org>2010-10-09 08:07:49 +0000
commitdca49a4289ccc5a7ea6ff861c2ca2608feb62d4d (patch)
tree8f27163c84470743ae9bc2f9adeede8d0c638f89 /contrib/llvm/tools/llvmc/src/Main.cpp
parent77a8584fd98601764683b95454ea91ac9d1050de (diff)
downloadFreeBSD-src-dca49a4289ccc5a7ea6ff861c2ca2608feb62d4d.zip
FreeBSD-src-dca49a4289ccc5a7ea6ff861c2ca2608feb62d4d.tar.gz
panic_cpu variable should be volatile
This is to prevent caching of its value in a register when it is checked and modified by multiple CPUs in parallel. Also, move the variable into the scope of the only function that uses it. Reviewed by: jhb Hint from: mdf MFC after: 1 week
Diffstat (limited to 'contrib/llvm/tools/llvmc/src/Main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud