Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f81e55c authored by Max Filippov's avatar Max Filippov
Browse files

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: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent 6d0f581d
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -94,13 +94,11 @@ unsigned long __sync_fetch_and_or_4(unsigned long *p, unsigned long v)
}
}
EXPORT_SYMBOL(__sync_fetch_and_or_4);
EXPORT_SYMBOL(__sync_fetch_and_or_4);


#ifdef CONFIG_NET
/*
/*
 * Networking support
 * Networking support
 */
 */
EXPORT_SYMBOL(csum_partial);
EXPORT_SYMBOL(csum_partial);
EXPORT_SYMBOL(csum_partial_copy_generic);
EXPORT_SYMBOL(csum_partial_copy_generic);
#endif /* CONFIG_NET */


/*
/*
 * Architecture-specific symbols
 * Architecture-specific symbols