Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 803d80f6 authored by Andi Kleen's avatar Andi Kleen Committed by Andi Kleen
Browse files

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



Move prototypes into header files
Remove unneeded includes.

Signed-off-by: default avatarAndi Kleen <ak@suse.de>
parent d1895183
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -39,13 +39,10 @@
#include <asm/proto.h>
#include <asm/hpet.h>
#include <asm/sections.h>
#include <linux/cpufreq.h>
#include <linux/hpet.h>
#include <asm/apic.h>
#include <asm/hpet.h>

extern void i8254_timer_resume(void);
extern int using_apic_timer;
#include <asm/mpspec.h>

static char *timename = NULL;

+2 −0
Original line number Diff line number Diff line
@@ -122,6 +122,8 @@ extern void smp_local_timer_interrupt(void);

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_down(x,y) ((x) & ~((y)-1))