Re: [PATCH] fix unused variable without softlock detection andhighmem

From: Ingo Molnar
Date: Mon Feb 23 2009 - 10:00:02 EST



* Nikanth Karthikesan <knikanth@xxxxxxx> wrote:

> When both CONFIG_DETECT_SOFTLOCKUP and CONFIG_HIGHMEM are not
> defined avoid defining the constant for one fixing the 'define
> but not used' warning.
>
> Signed-off-by: Nikanth Karthikesan <knikanth@xxxxxxx>

A variant of this is already fixed a bit differently in
tip:core/softlockup:

9f8d979: softlockup: move 'one' to the softlockup section in sysctl.c

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