aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorAlexander Lobakin <[email protected]>2023-03-13 22:55:51 +0100
committerAlexei Starovoitov <[email protected]>2023-03-14 15:20:04 -0700
commit2c854e5fcd7e243f5a7cf6a6afa0ef83060c903c (patch)
tree15fd2559f6d58c025ea6c7c380f8cca59e6bf62c /include/linux/debugobjects.h
parent487deb3e3393cccff0f148c4703efb185d46e314 (diff)
net: page_pool, skbuff: make skb_mark_for_recycle() always available
skb_mark_for_recycle() is guarded with CONFIG_PAGE_POOL, this creates unneeded complication when using it in the generic code. For now, it's only used in the drivers always selecting Page Pool, so this works. Move the guards so that preprocessor will cut out only the operation itself and the function will still be a noop on !PAGE_POOL systems, but available there as well. No functional changes. Reported-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/oe-kbuild-all/[email protected] Signed-off-by: Alexander Lobakin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions