RE: [PATCH Resend] - SN: validate smp_affinity mask on intr redirect

From: Luck, Tony
Date: Tue May 08 2007 - 16:14:48 EST


> It had a dopey little bug:
>
> -#define is_affinity_mask_valid() 1
> +#define is_affinity_mask_valid(val) 1

That would fix warnings on non-ia64 systems (which is
a step in the right direction). But on ia64 I have
the

#define is_affinity_mask_valid is_affinity_mask_valid

in play at that point, so I have a real function call
which doesn't have an in-scope declaration, so I get:

kernel/irq/proc.c:49: warning: implicit declaration of function `is_affinity_mask_valid'

-Tony
-
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/