summaryrefslogtreecommitdiff
path: root/include/linux/of_device.h
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2007-08-10 22:50:30 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2007-08-14 05:52:15 (GMT)
commitcae7ca3d3de48851e929de9469397749638df779 (patch)
tree2919ea031c5dcc43668f080faa3a463ac04cfed6 /include/linux/of_device.h
parent7f353bf29e162459f2f1e2ca25e41011fae65241 (diff)
downloadlinux-fsl-qoriq-cae7ca3d3de48851e929de9469397749638df779.tar.xz
[IPVS]: Use IP_VS_WAIT_WHILE when encessary.
For architectures that don't have a volatile atomic_ts constructs like while (atomic_read(&something)); might result in endless loops since a barrier() is missing which forces the compiler to generate code that actually reads memory contents. Fix this in ipvs by using the IP_VS_WAIT_WHILE macro which resolves to while (expr) { cpu_relax(); } (why isn't this open coded btw?) Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/of_device.h')
0 files changed, 0 insertions, 0 deletions