aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-09-26 04:52:32 -0400
committerAndi Kleen <andi@basil.nowhere.org>2006-09-26 04:52:32 -0400
commit2c8c0e6b8d7700a990da8d24eff767f9ca223b96 (patch)
treeb5477ee2558efff235c483d1619ce892db479d18 /include
parent1a3f239ddf9208f2e52d36fef1c1c4518cbbbabe (diff)
[PATCH] Convert x86-64 to early param
Instead of hackish manual parsing Requires earlier i386 patchkit, but also fixes i386 early_printk again. I removed some obsolete really early parameters which didn't do anything useful. Also made a few parameters that needed it early (mostly oops printing setup) Also removed one panic check that wasn't visible without early console anyways (the early console is now initialized after that panic) This cleans up a lot of code. Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86_64/apic.h4
-rw-r--r--include/asm-x86_64/e820.h3
-rw-r--r--include/asm-x86_64/pgtable.h1
-rw-r--r--include/asm-x86_64/proto.h10
4 files changed, 2 insertions, 16 deletions
diff --git a/include/asm-x86_64/apic.h b/include/asm-x86_64/apic.h
index 8ed0f4d67b8d..29ee735278f2 100644
--- a/include/asm-x86_64/apic.h
+++ b/include/asm-x86_64/apic.h
@@ -17,6 +17,7 @@
17 17
18extern int apic_verbosity; 18extern int apic_verbosity;
19extern int apic_runs_main_timer; 19extern int apic_runs_main_timer;
20extern int ioapic_force;
20 21
21/* 22/*
22 * Define the default level of output to be very little 23 * Define the default level of output to be very little
@@ -93,9 +94,6 @@ extern void setup_APIC_extened_lvt(unsigned char lvt_off, unsigned char vector,
93#define K8_APIC_EXT_INT_MSG_EXT 0x7 94#define K8_APIC_EXT_INT_MSG_EXT 0x7
94#define K8_APIC_EXT_LVT_ENTRY_THRESHOLD 0 95#define K8_APIC_EXT_LVT_ENTRY_THRESHOLD 0
95 96
96extern int disable_timer_pin_1;
97
98
99void smp_send_timer_broadcast_ipi(void); 97void smp_send_timer_broadcast_ipi(void);
100void switch_APIC_timer_to_ipi(void *cpumask); 98void switch_APIC_timer_to_ipi(void *cpumask);
101void switch_ipi_to_APIC_timer(void *cpumask); 99void switch_ipi_to_APIC_timer(void *cpumask);
diff --git a/include/asm-x86_64/e820.h b/include/asm-x86_64/e820.h
index 670a3388e70a..dba012151856 100644
--- a/include/asm-x86_64/e820.h
+++ b/include/asm-x86_64/e820.h
@@ -55,8 +55,7 @@ extern void e820_setup_gap(void);
55extern unsigned long e820_hole_size(unsigned long start_pfn, 55extern unsigned long e820_hole_size(unsigned long start_pfn,
56 unsigned long end_pfn); 56 unsigned long end_pfn);
57 57
58extern void __init parse_memopt(char *p, char **end); 58extern void finish_e820_parsing(void);
59extern void __init parse_memmapopt(char *p, char **end);
60 59
61extern struct e820map e820; 60extern struct e820map e820;
62 61
diff --git a/include/asm-x86_64/pgtable.h b/include/asm-x86_64/pgtable.h
index 0c1e2422400a..d79e7441b513 100644
--- a/include/asm-x86_64/pgtable.h
+++ b/include/asm-x86_64/pgtable.h
@@ -21,7 +21,6 @@ extern unsigned long __supported_pte_mask;
21 21
22#define swapper_pg_dir init_level4_pgt 22#define swapper_pg_dir init_level4_pgt
23 23
24extern int nonx_setup(char *str);
25extern void paging_init(void); 24extern void paging_init(void);
26extern void clear_kernel_mapping(unsigned long addr, unsigned long size); 25extern void clear_kernel_mapping(unsigned long addr, unsigned long size);
27 26
diff --git a/include/asm-x86_64/proto.h b/include/asm-x86_64/proto.h
index 58fec91318e4..151826f8ce69 100644
--- a/include/asm-x86_64/proto.h
+++ b/include/asm-x86_64/proto.h
@@ -53,9 +53,6 @@ extern int nohpet;
53extern unsigned long vxtime_hz; 53extern unsigned long vxtime_hz;
54extern void time_init_gtod(void); 54extern void time_init_gtod(void);
55 55
56extern int numa_setup(char *opt);
57
58extern int setup_early_printk(char *);
59extern void early_printk(const char *fmt, ...) __attribute__((format(printf,1,2))); 56extern void early_printk(const char *fmt, ...) __attribute__((format(printf,1,2)));
60 57
61extern void early_identify_cpu(struct cpuinfo_x86 *c); 58extern void early_identify_cpu(struct cpuinfo_x86 *c);
@@ -104,13 +101,7 @@ extern void select_idle_routine(const struct cpuinfo_x86 *c);
104extern unsigned long table_start, table_end; 101extern unsigned long table_start, table_end;
105 102
106extern int exception_trace; 103extern int exception_trace;
107extern int using_apic_timer;
108extern int disable_apic;
109extern unsigned cpu_khz; 104extern unsigned cpu_khz;
110extern int ioapic_force;
111extern int skip_ioapic_setup;
112extern int acpi_ht;
113extern int acpi_disabled;
114 105
115extern void no_iommu_init(void); 106extern void no_iommu_init(void);
116extern int force_iommu, no_iommu; 107extern int force_iommu, no_iommu;
@@ -132,7 +123,6 @@ extern int fix_aperture;
132 123
133extern int reboot_force; 124extern int reboot_force;
134extern int notsc_setup(char *); 125extern int notsc_setup(char *);
135extern int setup_additional_cpus(char *);
136 126
137extern void smp_local_timer_interrupt(struct pt_regs * regs); 127extern void smp_local_timer_interrupt(struct pt_regs * regs);
138 128