summaryrefslogtreecommitdiffstats
path: root/arch/arm/common
diff options
context:
space:
mode:
authorKirill Korotaev <dev@openvz.org>2007-10-17 18:04:33 +0200
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>2007-10-17 20:15:31 +0200
commitc1217a75ea102d4e69321f210fab60bc47b9a48e (patch)
treefffa575916b27bac17dfb751300ed2e1f9107f0c /arch/arm/common
parentf891dd18c107d582c3ab98da5209c930e16baf78 (diff)
downloadop-kernel-dev-c1217a75ea102d4e69321f210fab60bc47b9a48e.zip
op-kernel-dev-c1217a75ea102d4e69321f210fab60bc47b9a48e.tar.gz
x86: mark read_crX() asm code as volatile
Some gcc versions (I checked at least 4.1.1 from RHEL5 & 4.1.2 from gentoo) can generate incorrect code with read_crX()/write_crX() functions mix up, due to cached results of read_crX(). The small app for x8664 below compiled with -O2 demonstrates this (i686 does the same thing):
Diffstat (limited to 'arch/arm/common')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud