Re: [PATCH 2/2] move apic declarations to mach_apic.h

Yinghai Lu
2008-03-24T22:44:24Z

On Mon, Mar 24, 2008 at 12:52 PM, Glauber Costa <gcosta@redhat.com> wrote:
> take them out of the x86_64-specific asm/mach_apic.h
>
> Signed-off-by: Glauber Costa <gcosta@redhat.com>
> ---
> arch/x86/kernel/apic_64.c | 2 -
> arch/x86/kernel/io_apic_64.c | 2 -
> arch/x86/kernel/setup_64.c | 2 -
> include/asm-x86/mach-default/mach_apic.h | 80 ++++++++++++++++--------------
> include/asm-x86/mach_apic.h | 26 ----------
> 5 files changed, 46 insertions(+), 66 deletions(-)
>
> diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c
> index 206278f..7dd6250 100644
> --- a/arch/x86/kernel/apic_64.c
> +++ b/arch/x86/kernel/apic_64.c
> @@ -34,7 +34,6 @@ #include <asm/mtrr.h>
> #include <asm/mpspec.h>
> #include <asm/hpet.h>
> #include <asm/pgalloc.h>
> -#include <asm/mach_apic.h>
> #include <asm/nmi.h>
> #include <asm/idle.h>
> #include <asm/proto.h>
> @@ -42,6 +41,7 @@ #include <asm/timex.h>
> #include <asm/apic.h>
>
> #include <mach_ipi.h>
> +#include <mach_apic.h>

good. include/asm-x86/mach_apic.h is gone.

YH