diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2017-08-01 20:02:46 +0200 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2017-08-01 20:17:30 +0200 |
commit | 7f81e55c737a8fa82c71f290945d729a4902f8d2 (patch) | |
tree | 1b37429fea22426b68017bb6ec9630b716763e47 /arch/xtensa/kernel | |
parent | xtensa: fix cache aliasing handling code for WT cache (diff) | |
download | linux-7f81e55c737a8fa82c71f290945d729a4902f8d2.tar.xz linux-7f81e55c737a8fa82c71f290945d729a4902f8d2.zip |
xtensa: don't limit csum_partial export by CONFIG_NET
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.
Cc: stable@vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/kernel')
-rw-r--r-- | arch/xtensa/kernel/xtensa_ksyms.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/xtensa/kernel/xtensa_ksyms.c b/arch/xtensa/kernel/xtensa_ksyms.c index d159e9b9c018..672391003e40 100644 --- a/arch/xtensa/kernel/xtensa_ksyms.c +++ b/arch/xtensa/kernel/xtensa_ksyms.c @@ -94,13 +94,11 @@ unsigned long __sync_fetch_and_or_4(unsigned long *p, unsigned long v) } EXPORT_SYMBOL(__sync_fetch_and_or_4); -#ifdef CONFIG_NET /* * Networking support */ EXPORT_SYMBOL(csum_partial); EXPORT_SYMBOL(csum_partial_copy_generic); -#endif /* CONFIG_NET */ /* * Architecture-specific symbols |