]> err.no Git - linux-2.6/commit
[PATCH] uml: s390 preparation, checksumming done in arch code
authorBodo Stroesser <bstroesser@fujitsu-siemens.com>
Thu, 5 May 2005 23:15:36 +0000 (16:15 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 5 May 2005 23:36:38 +0000 (16:36 -0700)
commit7d37c6d52fce13008f20344790a81a6a5a0003b3
treeebf98bc32d8c0e29627f7be8a4dd349a32efff1d
parentc52ac046757deebc514483e407dca39a9c774aa3
[PATCH] uml: s390 preparation, checksumming done in arch code

Checksum handling largely depends on the subarch.

Thus, I renamed i386 arch_csum_partial in arch/um/sys-i386/checksum.S back to
csum_partial, removed csum_partial from arch/um/kernel/checksum.c and shifted
EXPORT_SYMBOL(csum_partial) to arch/um/sys-i386/ksyms.c.

Then, csum_partial_copy_to and csum_partial_copy_from were shifted from
arch/um/kernel/checksum.c to arch/um/include/sysdep-i386/checksum.h and
inserted in the calling functions csum_partial_copy_from_user() and
csum_and_copy_to_user().

Now, arch/um/kernel/checksum.c is empty and removed.

Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/include/sysdep-i386/checksum.h
arch/um/kernel/Makefile
arch/um/kernel/checksum.c
arch/um/sys-i386/checksum.S
arch/um/sys-i386/ksyms.c