mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
Blackfin: export ip_compute_csum/csum_partial_copy_from_user symbols
All other arches do this, and some places like the net/scsi code will fail as modules without them. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
16aadcb680
commit
aa286ba3ae
1 changed files with 2 additions and 0 deletions
|
@ -116,6 +116,7 @@ __sum16 ip_compute_csum(const void *buff, int len)
|
|||
{
|
||||
return (__force __sum16)~do_csum(buff, len);
|
||||
}
|
||||
EXPORT_SYMBOL(ip_compute_csum);
|
||||
|
||||
/*
|
||||
* copy from fs while checksumming, otherwise like csum_partial
|
||||
|
@ -130,6 +131,7 @@ csum_partial_copy_from_user(const void __user *src, void *dst,
|
|||
memcpy(dst, (__force void *)src, len);
|
||||
return csum_partial(dst, len, sum);
|
||||
}
|
||||
EXPORT_SYMBOL(csum_partial_copy_from_user);
|
||||
|
||||
/*
|
||||
* copy from ds while checksumming, otherwise like csum_partial
|
||||
|
|
Loading…
Reference in a new issue