UML - 2.6.11 updates
PATCH 1/16 UML - 2.6.11 updates
This patch makes some small changes that parallel changes in 2.6.11:
The csum buffers are now unsigned char.
Got rid of an unused define from pgtable-2level.h.
Signed-off-by Jeff Dike <[email protected]>
arch/um/include/sysdep-x86_64/checksum.h +3 -3
@@ -9,7 +9,7 @@#include "linux/in6.h" #include "asm/uaccess.h" -extern unsigned int csum_partial_copy_from (const char *src,char *dst,int len, +extern unsigned int csum_partial_copy_from (const unsigned char *src,unsigned char *dst,int len,int sum,int *err_ptr);extern unsigned csum_partial (const unsigned char *buff,unsigned len,unsigned sum);
@@ -23,7 +23,7 @@*/ static __inline__ -unsigned int csum_partial_copy_nocheck (const char *src,char *dst, +unsigned int csum_partial_copy_nocheck (const unsigned char *src,unsigned char *dst,int len,int sum) {memcpy (dst, src, len);
@@ -31,7 +31,7 @@ }static __inline__ -unsigned int csum_partial_copy_from_user (const char *src,char *dst, +unsigned int csum_partial_copy_from_user (const unsigned char *src,unsigned char *dst,int len,int sum,int *err_ptr) {return csum_partial_copy_from (src, dst, len, sum, err_ptr);
arch/um/kernel/checksum.c +17 -26
57 lines not on this page · raw message
include/asm-um/pgtable-2level.h +0 -1
@@ -21,7 +21,6 @@* we don't really have any PMD directory physically. */ #define PTRS_PER_PTE 1024 -#define PTRS_PER_PMD 1#define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE)#define PTRS_PER_PGD 1024#define FIRST_USER_PGD_NR 0
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel