RE: [PATCH] [IA64] Include kexec.h in arch/ia64/kernel/process.c

From: Luck, Tony <tony.luck_at_intel.com>
Date: 2007-02-08 04:07:40
> kexec.h is needed by arch/ia64/kernel/process.c so for the
> declaration of kexec_disable_iosapic() which is used in machine_shutdown().

> +#include <asm/kexec.h>

I merged this into your earlier change (moving machine_shutdown() into
process.c).  Linus pulled it last night.

I also added a "#ifdef CONFIG_KEXEC" around the call to kexec_disable_iosapic()
(because I first noticed that this was undefined when building non-KEXEC kernels).
But perhaps it might have been better to #define an empty stub for this function
inside kexec.h for the #ifndef CONFIG_KEXEC case?

-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Feb 08 04:11:38 2007

This archive was generated by hypermail 2.1.8 : 2007-02-08 04:12:02 EST