]> git.baikalelectronics.ru Git - kernel.git/commit
modpost: import include/linux/list.h
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 1 May 2022 08:40:09 +0000 (17:40 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 7 May 2022 18:17:00 +0000 (03:17 +0900)
commit8a2dc64436a687a26acb49c601b61b02dbd8f881
tree8a1faa656bcdeb6ffee8664b71435c2f0e8f6179
parent379851177c25e827ac1a1046ae9e52d8d2a1d638
modpost: import include/linux/list.h

Import include/linux/list.h to use convenient list macros in modpost.

I dropped kernel-space code such as {WRITE,READ}_ONCE etc. and unneeded
macros.

I also imported container_of() from include/linux/container_of.h and
type definitions from include/linux/types.h.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
scripts/mod/list.h [new file with mode: 0644]