diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2011-05-18 04:44:50 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-19 19:43:19 -0400 |
commit | bab1ff1bda27e654dfd382a1fbdfcda1f7ed0a37 (patch) | |
tree | 9ff9d83fa7f81eecd5569c0bd9089ea39da3880a /drivers/usb/host/pci-quirks.c | |
parent | 8452c6745e74384e7e434144f989ada3eae41170 (diff) |
USB: UHCI: Use ACCESS_ONCE rather than using a full compiler barrier
This patch (as1462) updates the special accessor functions defined in
uhci-hcd.h. Rather than using a full compiler barrier, all we really
need is the ACCESS_ONCE() mechanism, because the idea is to force the
compiler to store a fixed copy of a possibly changing value.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/pci-quirks.c')
0 files changed, 0 insertions, 0 deletions