From: Thomas Gleixner Date: Wed, 30 Jan 2008 12:30:19 +0000 (+0100) Subject: x86: remove obsolte declarations from proto.h X-Git-Tag: v2.6.25-rc1~1143^2~818 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84c873ed2a00eab3e8ac49dc7889d7aad142ce22;p=linux-2.6 x86: remove obsolte declarations from proto.h Nuke duplicate and obsolete crap from this ugly dump bin. There are still some entries left which need to be sorted out, but I'm tired of that puzzle game right now. Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- diff --git a/include/asm-x86/proto.h b/include/asm-x86/proto.h index 5a45478b5d..3c6fb89f11 100644 --- a/include/asm-x86/proto.h +++ b/include/asm-x86/proto.h @@ -5,44 +5,27 @@ /* misc architecture specific prototypes */ -struct cpuinfo_x86; -struct pt_regs; - extern void early_idt_handler(void); extern void init_memory_mapping(unsigned long start, unsigned long end); -extern void system_call(void); -extern int kernel_syscall(void); +extern void system_call(void); extern void syscall_init(void); extern void ia32_syscall(void); -extern void ia32_cstar_target(void); -extern void ia32_sysenter_target(void); - -extern void config_acpi_tables(void); -extern void ia32_syscall(void); +extern void ia32_cstar_target(void); +extern void ia32_sysenter_target(void); extern void reserve_bootmem_generic(unsigned long phys, unsigned len); -extern void load_gs_index(unsigned gs); - -extern void exception_table_check(void); - -extern void swap_low_mappings(void); - extern void syscall32_cpu_init(void); extern void check_efer(void); extern unsigned long table_start, table_end; -extern int exception_trace; - extern int reboot_force; -extern int gsi_irq_sharing(int gsi); - long do_arch_prctl(struct task_struct *task, int code, unsigned long addr); #define round_up(x,y) (((x) + (y) - 1) & ~((y)-1))