]> 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)
commitb0c551f18d5c904ed69e95a34f141aeea7637239
tree8a1faa656bcdeb6ffee8664b71435c2f0e8f6179
parentcf3aa59529c265f06ad7f4b33ab46d5753a12ca4
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]