summaryrefslogtreecommitdiff
path: root/arch/s390/Makefile
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2013-10-28 11:15:32 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-11-29 19:28:12 (GMT)
commit00c5535698d5db83a3cd15d7f6a9b95c71044b4d (patch)
treeda442ae53e9889a6140af5d59151d4aecf2e0aee /arch/s390/Makefile
parentb8600e27f208d08a5924d34d3b44f5564fa83e7f (diff)
downloadlinux-fsl-qoriq-00c5535698d5db83a3cd15d7f6a9b95c71044b4d.tar.xz
s390/vtime: correct idle time calculation
commit 4560e7c3317c7a2b370e36dadd3a3bac2ed70818 upstream. Use the ACCESS_ONCE macro for both accesses to idle->sequence in the loops to calculate the idle time. If only one access uses the macro, the compiler is free to cache the value for the second access which can cause endless loops. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/s390/Makefile')
0 files changed, 0 insertions, 0 deletions