[PATCH] x86: adjust inclusion of asm/fixmap.h
Move inclusion of asm/fixmap.h to where it is really used rather than where it may have been used long ago (requires a few other adjustments to includes due to previous implicit dependencies). Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Andi Kleen <ak@suse.de>
This commit is contained in:
parent
28609f6e49
commit
00f1ea6967
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
#include <asm/smp.h>
|
#include <asm/smp.h>
|
||||||
#include <asm/ipi.h>
|
#include <asm/ipi.h>
|
||||||
|
#include <asm/genapic.h>
|
||||||
|
|
||||||
#ifdef CONFIG_ACPI
|
#ifdef CONFIG_ACPI
|
||||||
#include <acpi/acpi_bus.h>
|
#include <acpi/acpi_bus.h>
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <asm/smp.h>
|
#include <asm/smp.h>
|
||||||
#include <asm/ipi.h>
|
#include <asm/ipi.h>
|
||||||
|
#include <asm/genapic.h>
|
||||||
|
|
||||||
static cpumask_t flat_target_cpus(void)
|
static cpumask_t flat_target_cpus(void)
|
||||||
{
|
{
|
||||||
|
@ -28,8 +28,6 @@
|
|||||||
|
|
||||||
#include <linux/timex.h>
|
#include <linux/timex.h>
|
||||||
|
|
||||||
#include <asm/fixmap.h>
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Documentation on HPET can be found at:
|
* Documentation on HPET can be found at:
|
||||||
* http://www.intel.com/ial/home/sp/pcmmspec.htm
|
* http://www.intel.com/ial/home/sp/pcmmspec.htm
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
#include <asm/fixmap.h>
|
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
#include <asm/string.h>
|
#include <asm/string.h>
|
||||||
|
|
||||||
@ -29,10 +28,6 @@
|
|||||||
* KEXEC_SOURCE_MEMORY_LIMIT maximum page get_free_page can return.
|
* KEXEC_SOURCE_MEMORY_LIMIT maximum page get_free_page can return.
|
||||||
* I.e. Maximum page that is mapped directly into kernel memory,
|
* I.e. Maximum page that is mapped directly into kernel memory,
|
||||||
* and kmap is not required.
|
* and kmap is not required.
|
||||||
*
|
|
||||||
* Someone correct me if FIXADDR_START - PAGEOFFSET is not the correct
|
|
||||||
* calculation for the amount of memory directly mappable into the
|
|
||||||
* kernel memory space.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Maximum physical address we can use pages from */
|
/* Maximum physical address we can use pages from */
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
#ifndef _I386_PGALLOC_H
|
#ifndef _I386_PGALLOC_H
|
||||||
#define _I386_PGALLOC_H
|
#define _I386_PGALLOC_H
|
||||||
|
|
||||||
#include <asm/fixmap.h>
|
|
||||||
#include <linux/threads.h>
|
#include <linux/threads.h>
|
||||||
#include <linux/mm.h> /* for struct page */
|
#include <linux/mm.h> /* for struct page */
|
||||||
|
|
||||||
|
@ -11,16 +11,13 @@
|
|||||||
#include <asm/pda.h>
|
#include <asm/pda.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_X86_LOCAL_APIC
|
#if defined(CONFIG_X86_LOCAL_APIC) && !defined(__ASSEMBLY__)
|
||||||
#ifndef __ASSEMBLY__
|
|
||||||
#include <asm/fixmap.h>
|
|
||||||
#include <asm/bitops.h>
|
#include <asm/bitops.h>
|
||||||
#include <asm/mpspec.h>
|
#include <asm/mpspec.h>
|
||||||
|
#include <asm/apic.h>
|
||||||
#ifdef CONFIG_X86_IO_APIC
|
#ifdef CONFIG_X86_IO_APIC
|
||||||
#include <asm/io_apic.h>
|
#include <asm/io_apic.h>
|
||||||
#endif
|
#endif
|
||||||
#include <asm/apic.h>
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BAD_APICID 0xFFu
|
#define BAD_APICID 0xFFu
|
||||||
|
@ -18,10 +18,8 @@
|
|||||||
* Subject to the GNU Public License, v.2
|
* Subject to the GNU Public License, v.2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <asm/fixmap.h>
|
|
||||||
#include <asm/hw_irq.h>
|
#include <asm/hw_irq.h>
|
||||||
#include <asm/apicdef.h>
|
#include <asm/apic.h>
|
||||||
#include <asm/genapic.h>
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* the following functions deal with sending IPIs between CPUs.
|
* the following functions deal with sending IPIs between CPUs.
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
#ifndef _X86_64_PGALLOC_H
|
#ifndef _X86_64_PGALLOC_H
|
||||||
#define _X86_64_PGALLOC_H
|
#define _X86_64_PGALLOC_H
|
||||||
|
|
||||||
#include <asm/fixmap.h>
|
|
||||||
#include <asm/pda.h>
|
#include <asm/pda.h>
|
||||||
#include <linux/threads.h>
|
#include <linux/threads.h>
|
||||||
#include <linux/mm.h>
|
#include <linux/mm.h>
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
* the x86-64 page table tree.
|
* the x86-64 page table tree.
|
||||||
*/
|
*/
|
||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
#include <asm/fixmap.h>
|
|
||||||
#include <asm/bitops.h>
|
#include <asm/bitops.h>
|
||||||
#include <linux/threads.h>
|
#include <linux/threads.h>
|
||||||
#include <asm/pda.h>
|
#include <asm/pda.h>
|
||||||
|
@ -10,10 +10,9 @@
|
|||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
extern int disable_apic;
|
extern int disable_apic;
|
||||||
|
|
||||||
#include <asm/fixmap.h>
|
|
||||||
#include <asm/mpspec.h>
|
#include <asm/mpspec.h>
|
||||||
#include <asm/io_apic.h>
|
|
||||||
#include <asm/apic.h>
|
#include <asm/apic.h>
|
||||||
|
#include <asm/io_apic.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
|
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
|
Loading…
Reference in New Issue
Block a user