]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xtensa: don't limit csum_partial export by CONFIG_NET
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 1 Aug 2017 18:02:46 +0000 (11:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Aug 2017 20:46:49 +0000 (13:46 -0700)
commit0af6995672cb78c527661f4c5f6ce9931d96e100
tree478ea7148dd945d8aa1f082c47a8a70273faaa25
parent094849d602a0e8bbe90464b209521159cbd8ecea
xtensa: don't limit csum_partial export by CONFIG_NET

commit 7f81e55c737a8fa82c71f290945d729a4902f8d2 upstream.

csum_partial and csum_partial_copy_generic are defined unconditionally
and are available even when CONFIG_NET is disabled. They are used not
only by the network drivers, but also by scsi and media.
Don't limit these functions export by CONFIG_NET.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/xtensa/kernel/xtensa_ksyms.c