i386: move PIT function declarations and constants to correct header file
setup_pit_timer is declared in asm-i386/timer.h. Move it to the pit header file, so it can be used by x86_64 as well. Move also the PIT constants. Signed-off-by:Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: john stultz <johnstul@us.ibm.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Andi Kleen <ak@suse.de> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/i386/kernel/i8253.c 0 additions, 2 deletionsarch/i386/kernel/i8253.c
- arch/i386/kernel/vmiclock.c 1 addition, 0 deletionsarch/i386/kernel/vmiclock.c
- include/asm-i386/i8253.h 7 additions, 0 deletionsinclude/asm-i386/i8253.h
- include/asm-i386/mach-default/io_ports.h 0 additions, 5 deletionsinclude/asm-i386/mach-default/io_ports.h
- include/asm-i386/timer.h 0 additions, 1 deletioninclude/asm-i386/timer.h
Loading
Please register or sign in to comment