x86: clean up declarations and variables
authorJaswinder Singh Rajput <jaswinder@kernel.org>
Fri, 10 Apr 2009 18:33:10 +0000 (00:03 +0530)
committerIngo Molnar <mingo@elte.hu>
Sun, 12 Apr 2009 13:20:16 +0000 (15:20 +0200)
commit2c1b284e4fa260fd922b9a65c99169e2630c6862
treeca3d6283a18e592cff5e74526969a29a6d218c52
parent2de1f33e99cec5fd79542a1d0e26efb9c36a98bb
x86: clean up declarations and variables

Impact: cleanup, no code changed

 - syscalls.h       update declarations due to unifications
 - irq.c            declare smp_generic_interrupt() before it gets used
 - process.c        declare sys_fork() and sys_vfork() before they get used
 - tsc.c            rename tsc_khz shadowed variable
 - apic/probe_32.c  declare apic_default before it gets used
 - apic/nmi.c       prev_nmi_count should be unsigned
 - apic/io_apic.c   declare smp_irq_move_cleanup_interrupt() before it gets used
 - mm/init.c        declare direct_gbpages and free_initrd_mem before they get used

Signed-off-by: Jaswinder Singh Rajput <jaswinder@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
12 files changed:
arch/x86/include/asm/apic.h
arch/x86/include/asm/hw_irq.h
arch/x86/include/asm/pgtable.h
arch/x86/include/asm/pgtable_64.h
arch/x86/include/asm/syscalls.h
arch/x86/kernel/apic/io_apic.c
arch/x86/kernel/apic/nmi.c
arch/x86/kernel/apic/probe_32.c
arch/x86/kernel/irq.c
arch/x86/kernel/process.c
arch/x86/kernel/tsc.c
arch/x86/mm/init.c