]> git.ipfire.org Git - people/ms/linux.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)
commit97aa4aef532aed6885e887ad6979e5ffb2667c84
tree8a1faa656bcdeb6ffee8664b71435c2f0e8f6179
parent5066743e4c2f702c1da8ba00a1dc217527a0ab7c
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]