]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
irdma(4): hide tasklet-related definitions to avoid redefines
authorBartosz Sobczak <bartosz.sobczak@intel.com>
Mon, 23 Jan 2023 10:17:53 +0000 (11:17 +0100)
committerEric Joyner <erj@FreeBSD.org>
Wed, 8 Feb 2023 00:24:01 +0000 (16:24 -0800)
commite894da6d9a1d3a96bdac5f330c3c94d75be8f83b
treeaa230d37eede7963d7017c6731ead133753e2c5b
parent3b65af50fc2aefbb5950cc48af0de6753be69762
irdma(4): hide tasklet-related definitions to avoid redefines

checking if either from_tasklet or tasklet_setup
exists before defining irdma's own version.

This is a result of changes introduced in:
f2978460c7fd ("LinuxKPI: tasklet add (*callback) support", 2022-11-08)

The code should be kept until the from_timer and
tasklet_setup is defined in linuxkpi's interrupt.h

This is a direct commit to the stable/13 branch.

Signed-off-by: Bartosz Sobczak <bartosz.sobczak@intel.com>
Signed-off-by: Eric Joyner <erj@FreeBSD.org>
sys/dev/irdma/fbsd_kcompat.h