Re: [PATCH] move pm_power_off and pm_idle declaration to commoncode
From: Paul Jackson
Date: Mon Dec 12 2005 - 10:58:31 EST
> A key question is how do we handle architectures
> that always want to want to call machine_power_off.
One common way to handle a generic default with possible arch specific
overrides is with #ifdef symbols. Surround the generic definition with
something like "#ifndef ARCH_HAS_PM_POWER_OFF", and let the arch's that
want something other than the default define that preprocessor symbol
as well.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.925.600.0401
-
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/