Re: [PATCH v2] sched: fix build error in kernel/sched_rt.c whenRT_GROUP_SCHED && !SMP

From: Ingo Molnar
Date: Wed Jan 14 2009 - 03:01:41 EST



* Gregory Haskins <ghaskins@xxxxxxxxxx> wrote:

> +#define dec_rt_group(rt_se, rt_rq) do { } while (0)

Please dont _ever_ introduce new CPP macros into core kernel code, and if
you see existing once, please fix them to be proper C inline functions.
(there's a few other new macros in your patchset)

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/