RE: [PATCH] [IA64] Include kexec.h in arch/ia64/kernel/process.c
- From: "Luck, Tony" <tony.luck@xxxxxxxxx>
- Date: Wed, 7 Feb 2007 09:07:40 -0800
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-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/
- Follow-Ups:
- References:
- Prev by Date: [PATCH] pata_acpi: take two
- Next by Date: Re: Re : [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3
- Previous by thread: [PATCH] [IA64] Include kexec.h in arch/ia64/kernel/process.c
- Next by thread: Re: [PATCH] [IA64] Include kexec.h in arch/ia64/kernel/process.c
- Index(es):
Relevant Pages
|