提交 803d80f6 编写于 作者: A Andi Kleen 提交者: Andi Kleen

[PATCH] x86-64: Some cleanup in time.c

Move prototypes into header files
Remove unneeded includes.
Signed-off-by: NAndi Kleen <ak@suse.de>
上级 d1895183
...@@ -39,13 +39,10 @@ ...@@ -39,13 +39,10 @@
#include <asm/proto.h> #include <asm/proto.h>
#include <asm/hpet.h> #include <asm/hpet.h>
#include <asm/sections.h> #include <asm/sections.h>
#include <linux/cpufreq.h>
#include <linux/hpet.h> #include <linux/hpet.h>
#include <asm/apic.h> #include <asm/apic.h>
#include <asm/hpet.h> #include <asm/hpet.h>
#include <asm/mpspec.h>
extern void i8254_timer_resume(void);
extern int using_apic_timer;
static char *timename = NULL; static char *timename = NULL;
......
...@@ -122,6 +122,8 @@ extern void smp_local_timer_interrupt(void); ...@@ -122,6 +122,8 @@ extern void smp_local_timer_interrupt(void);
long do_arch_prctl(struct task_struct *task, int code, unsigned long addr); long do_arch_prctl(struct task_struct *task, int code, unsigned long addr);
void i8254_timer_resume(void);
#define round_up(x,y) (((x) + (y) - 1) & ~((y)-1)) #define round_up(x,y) (((x) + (y) - 1) & ~((y)-1))
#define round_down(x,y) ((x) & ~((y)-1)) #define round_down(x,y) ((x) & ~((y)-1))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册