diff options
author | David Howells <dhowells@redhat.com> | 2012-03-28 13:11:12 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2012-03-28 13:11:12 -0400 |
commit | f05e798ad4c09255f590f5b2c00a7ca6c172f983 (patch) | |
tree | 6b7125d3f086a63a0f571bda568c9b62cc25609d /arch/x86/include/asm/processor.h | |
parent | 778aae84ef694325662447eceba1a5f7d3eebdbb (diff) |
Disintegrate asm/system.h for X86
Disintegrate asm/system.h for X86.
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
cc: x86@kernel.org
Diffstat (limited to 'arch/x86/include/asm/processor.h')
-rw-r--r-- | arch/x86/include/asm/processor.h | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index 95da14f7ee85..78e30ea492b2 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h | |||
@@ -14,13 +14,13 @@ struct mm_struct; | |||
14 | #include <asm/sigcontext.h> | 14 | #include <asm/sigcontext.h> |
15 | #include <asm/current.h> | 15 | #include <asm/current.h> |
16 | #include <asm/cpufeature.h> | 16 | #include <asm/cpufeature.h> |
17 | #include <asm/system.h> | ||
18 | #include <asm/page.h> | 17 | #include <asm/page.h> |
19 | #include <asm/pgtable_types.h> | 18 | #include <asm/pgtable_types.h> |
20 | #include <asm/percpu.h> | 19 | #include <asm/percpu.h> |
21 | #include <asm/msr.h> | 20 | #include <asm/msr.h> |
22 | #include <asm/desc_defs.h> | 21 | #include <asm/desc_defs.h> |
23 | #include <asm/nops.h> | 22 | #include <asm/nops.h> |
23 | #include <asm/special_insns.h> | ||
24 | 24 | ||
25 | #include <linux/personality.h> | 25 | #include <linux/personality.h> |
26 | #include <linux/cpumask.h> | 26 | #include <linux/cpumask.h> |
@@ -29,6 +29,15 @@ struct mm_struct; | |||
29 | #include <linux/math64.h> | 29 | #include <linux/math64.h> |
30 | #include <linux/init.h> | 30 | #include <linux/init.h> |
31 | #include <linux/err.h> | 31 | #include <linux/err.h> |
32 | #include <linux/irqflags.h> | ||
33 | |||
34 | /* | ||
35 | * We handle most unaligned accesses in hardware. On the other hand | ||
36 | * unaligned DMA can be quite expensive on some Nehalem processors. | ||
37 | * | ||
38 | * Based on this we disable the IP header alignment in network drivers. | ||
39 | */ | ||
40 | #define NET_IP_ALIGN 0 | ||
32 | 41 | ||
33 | #define HBP_NUM 4 | 42 | #define HBP_NUM 4 |
34 | /* | 43 | /* |
@@ -1022,4 +1031,24 @@ extern bool cpu_has_amd_erratum(const int *); | |||
1022 | #define cpu_has_amd_erratum(x) (false) | 1031 | #define cpu_has_amd_erratum(x) (false) |
1023 | #endif /* CONFIG_CPU_SUP_AMD */ | 1032 | #endif /* CONFIG_CPU_SUP_AMD */ |
1024 | 1033 | ||
1034 | #ifdef CONFIG_X86_32 | ||
1035 | /* | ||
1036 | * disable hlt during certain critical i/o operations | ||
1037 | */ | ||
1038 | #define HAVE_DISABLE_HLT | ||
1039 | #endif | ||
1040 | |||
1041 | void disable_hlt(void); | ||
1042 | void enable_hlt(void); | ||
1043 | |||
1044 | void cpu_idle_wait(void); | ||
1045 | |||
1046 | extern unsigned long arch_align_stack(unsigned long sp); | ||
1047 | extern void free_init_pages(char *what, unsigned long begin, unsigned long end); | ||
1048 | |||
1049 | void default_idle(void); | ||
1050 | bool set_pm_idle_to_default(void); | ||
1051 | |||
1052 | void stop_this_cpu(void *dummy); | ||
1053 | |||
1025 | #endif /* _ASM_X86_PROCESSOR_H */ | 1054 | #endif /* _ASM_X86_PROCESSOR_H */ |