[PATCH] silence sort(..., swap) warning on ia64

From: Chris Wedgwood
Date: Thu Mar 10 2005 - 13:31:42 EST


Not tested but seems plausible :-)

===== arch/ia64/mm/extable.c 1.11 vs edited =====
--- 1.11/arch/ia64/mm/extable.c 2005-03-07 20:41:46 -08:00
+++ edited/arch/ia64/mm/extable.c 2005-03-10 10:14:55 -08:00
@@ -20,7 +20,7 @@ static int cmp_ex(const void *a, const v
return lip - rip;
}

-static void swap_ex(void *a, void *b)
+static void swap_ex(void *a, void *b, int _unused_size)
{
struct exception_table_entry *l = a, *r = b, tmp;
u64 delta = (u64) r - (u64) l;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/