Skip to content

kernel.h: Move out a couple of macros and constants

Andy Shevchenko lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew 1 of 2 applied

Patches in v1 1 of 2 applied

#Subject and filesSizeRepliesApplied
1/2kernel.h: Move READ/WRITE definitions to <linux/types.h>include/linux/kernel.h include/linux/types.h+4 -40 replies
2/2kernel.h: Move PTR_IF() and u64_to_user_ptr() to util_macros.hinclude/linux/kernel.h include/linux/util_macros.h+67 -90 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.47.2