The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v1 0/2] kernel.h: Move out a couple of macros and constants
@ 2025-03-24 10:50 Andy Shevchenko
  2025-03-24 10:50 ` [PATCH v1 1/2] kernel.h: Move READ/WRITE definitions to <linux/types.h> Andy Shevchenko
  2025-03-24 10:50 ` [PATCH v1 2/2] kernel.h: Move PTR_IF() and u64_to_user_ptr() to util_macros.h Andy Shevchenko
  0 siblings, 2 replies; 3+ messages in thread
From: Andy Shevchenko @ 2025-03-24 10:50 UTC (permalink / raw)
  To: Andy Shevchenko, Alexandru Ardelean, linux-kernel; +Cc: Andrew Morton

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-03-24 10:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-24 10:50 [PATCH v1 0/2] kernel.h: Move out a couple of macros and constants Andy Shevchenko
2025-03-24 10:50 ` [PATCH v1 1/2] kernel.h: Move READ/WRITE definitions to <linux/types.h> Andy Shevchenko
2025-03-24 10:50 ` [PATCH v1 2/2] kernel.h: Move PTR_IF() and u64_to_user_ptr() to util_macros.h Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox