From: Akinobu Mita Date: Sun, 26 Mar 2006 09:39:53 +0000 (-0800) Subject: [PATCH] bitops: ia64: make partial_page.bitmap an unsigned long X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=55b0f8a68ab475cc68f88d1e7a873490869d022e;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [PATCH] bitops: ia64: make partial_page.bitmap an unsigned long The find_*_bit() routines are defined to work on a pointer to unsigned long. But partial_page.bitmap is unsigned int and it is passed to find_*_bit() in arch/ia64/ia32/sys_ia32.c. So the compiler will print warnings. This patch changes to unsigned long instead. Signed-off-by: Akinobu Mita Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/ia64/ia32/ia32priv.h b/arch/ia64/ia32/ia32priv.h index 68ceb4e690c7..ccb98ed48e58 100644 --- a/arch/ia64/ia32/ia32priv.h +++ b/arch/ia64/ia32/ia32priv.h @@ -29,9 +29,9 @@ struct partial_page { struct partial_page *next; /* linked list, sorted by address */ struct rb_node pp_rb; - /* 64K is the largest "normal" page supported by ia64 ABI. So 4K*32 + /* 64K is the largest "normal" page supported by ia64 ABI. So 4K*64 * should suffice.*/ - unsigned int bitmap; + unsigned long bitmap; unsigned int base; };