mm, pagevec: rename pagevec drained field
[sfrench/cifs-2.6.git] / include / linux / pm_runtime.h
index 2efb08a60e638f3b0c043ce6485c54ebc031d5e9..f0fc4700b6ff53adfb8584162ae0bb3c522237a2 100644 (file)
@@ -105,7 +105,7 @@ static inline bool pm_runtime_callbacks_present(struct device *dev)
 
 static inline void pm_runtime_mark_last_busy(struct device *dev)
 {
-       ACCESS_ONCE(dev->power.last_busy) = jiffies;
+       WRITE_ONCE(dev->power.last_busy, jiffies);
 }
 
 static inline bool pm_runtime_is_irq_safe(struct device *dev)