[PATCH v1 0/2] kernel.h: Move out a couple of macros and constants

Andy Shevchenko posted 2 patches 8 months, 3 weeks ago
include/linux/kernel.h      | 14 +-------
include/linux/types.h       |  4 +++
include/linux/util_macros.h | 66 +++++++++++++++++++++++++++++++++++++
3 files changed, 71 insertions(+), 13 deletions(-)
[PATCH v1 0/2] kernel.h: Move out a couple of macros and constants
Posted by Andy Shevchenko 8 months, 3 weeks ago
The kernel.h hosts a couple of macros and constants that may have been put
to a better place. Do that. Also add missing documentation.
No functional changes intended.

Andy Shevchenko (1):
  kernel.h: Move PTR_IF() and u64_to_user_ptr() to util_macros.h

Ingo Molnar (1):
  kernel.h: Move READ/WRITE definitions to <linux/types.h>

 include/linux/kernel.h      | 14 +-------
 include/linux/types.h       |  4 +++
 include/linux/util_macros.h | 66 +++++++++++++++++++++++++++++++++++++
 3 files changed, 71 insertions(+), 13 deletions(-)

-- 
2.47.2