time.c (ba3e88acfbb0ba52ea9ae522e5ea74ac3927fc9c) | time.c (6905a65879b51d326396e63dfea40861a30bc17f) |
---|---|
1/* 2 * linux/arch/arm/kernel/time.c 3 * 4 * Copyright (C) 1991, 1992, 1995 Linus Torvalds 5 * Modifications for ARM (C) 1994-2001 Russell King 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 11 unchanged lines hidden (view full) --- 20#include <linux/smp.h> 21#include <linux/timex.h> 22#include <linux/errno.h> 23#include <linux/profile.h> 24#include <linux/syscore_ops.h> 25#include <linux/timer.h> 26#include <linux/irq.h> 27 | 1/* 2 * linux/arch/arm/kernel/time.c 3 * 4 * Copyright (C) 1991, 1992, 1995 Linus Torvalds 5 * Modifications for ARM (C) 1994-2001 Russell King 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 11 unchanged lines hidden (view full) --- 20#include <linux/smp.h> 21#include <linux/timex.h> 22#include <linux/errno.h> 23#include <linux/profile.h> 24#include <linux/syscore_ops.h> 25#include <linux/timer.h> 26#include <linux/irq.h> 27 |
28#include <linux/mc146818rtc.h> 29 |
|
28#include <asm/leds.h> 29#include <asm/thread_info.h> 30#include <asm/sched_clock.h> 31#include <asm/stacktrace.h> 32#include <asm/mach/arch.h> 33#include <asm/mach/time.h> 34 35/* --- 106 unchanged lines hidden (view full) --- 142} 143 144device_initcall(timer_init_syscore_ops); 145 146void __init time_init(void) 147{ 148 system_timer = machine_desc->timer; 149 system_timer->init(); | 30#include <asm/leds.h> 31#include <asm/thread_info.h> 32#include <asm/sched_clock.h> 33#include <asm/stacktrace.h> 34#include <asm/mach/arch.h> 35#include <asm/mach/time.h> 36 37/* --- 106 unchanged lines hidden (view full) --- 144} 145 146device_initcall(timer_init_syscore_ops); 147 148void __init time_init(void) 149{ 150 system_timer = machine_desc->timer; 151 system_timer->init(); |
150#ifdef CONFIG_HAVE_SCHED_CLOCK | |
151 sched_clock_postinit(); | 152 sched_clock_postinit(); |
152#endif | |
153} 154 | 153} 154 |