|
@@ -190,7 +190,9 @@ extern void __chk_io_ptr(const volatile void __iomem *);
|
|
|
* ACCESS_ONCE() in different C statements.
|
|
|
*
|
|
|
* This macro does absolutely -nothing- to prevent the CPU from reordering,
|
|
|
- * merging, or refetching absolutely anything at any time.
|
|
|
+ * merging, or refetching absolutely anything at any time. Its main intended
|
|
|
+ * use is to mediate communication between process-level code and irq/NMI
|
|
|
+ * handlers, all running on the same CPU.
|
|
|
*/
|
|
|
#define ACCESS_ONCE(x) (*(volatile typeof(x) *)&(x))
|
|
|
|