/* * linux/arch/arm/kernel/time.c * * Copyright (C) 1991, 1992, 1995 Linus Torvalds * Modifications for ARM (C) 1994-2001 Russell King * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This file contains the ARM-specific time handling details: * reading the RTC at bootup, etc... */ #include <linux/clk-provider.h> #include <linux/clocksource.h> #include <linux/errno.h> #include <linux/export.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/irq.h> #include <linux/kernel.h> #include <linux/profile.h> #include <linux/sched.h> #include <linux/sched_clock.h> #include <linux/smp.h> #include <linux/time.h> #include <linux/timex.h> #include <linux/timer.h> #include <asm/mach/arch.h> #include <asm/mach/time.h> #include <asm/stacktrace.h> #include <asm/thread_info.h> #if defined(CONFIG_RTC_DRV_CMOS) || defined(CONFIG_RTC_DRV_CMOS_MODULE) || \ defined(CONFIG_NVRAM) || defined(CONFIG_NVRAM_MODULE) /* this needs a better home */ DEFINE_SPINLOCK(rtc_lock); EXPORT_SYMBOL(rtc_lock); #endif /* pc-style 'CMOS' RTC support */ /* change this if you have some constant time drift */ #define USECS_PER_JIFFY (1000000/HZ) #ifdef CONFIG_SMP
unsigned long profile_pc(struct pt_regs *regs) { struct stackframe frame; if (!in_lock_functions(regs->ARM_pc)) return regs->ARM_pc; arm_get_current_stackframe(regs, &frame); do { int ret = unwind_frame(&frame); if (ret < 0) return 0; } while (in_lock_functions(frame.pc)); return frame.pc; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Catalin Marinas | 46 | 62.16% | 1 | 25.00% |
Zwane Mwaikambo | 20 | 27.03% | 1 | 25.00% |
Nikolay Borisov | 5 | 6.76% | 1 | 25.00% |
Anton Blanchard | 3 | 4.05% | 1 | 25.00% |
Total | 74 | 100.00% | 4 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Martin Schwidefsky | 12 | 38.71% | 1 | 14.29% |
Deepak Saxena | 10 | 32.26% | 1 | 14.29% |
Linus Torvalds | 3 | 9.68% | 1 | 14.29% |
William Lee Irwin III | 2 | 6.45% | 1 | 14.29% |
Russell King | 2 | 6.45% | 1 | 14.29% |
Atsushi Nemoto | 1 | 3.23% | 1 | 14.29% |
Torben Hohn | 1 | 3.23% | 1 | 14.29% |
Total | 31 | 100.00% | 7 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Marc Zyngier | 22 | 95.65% | 1 | 50.00% |
Xunlei Pang | 1 | 4.35% | 1 | 50.00% |
Total | 23 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Marc Zyngier | 13 | 86.67% | 1 | 50.00% |
Xunlei Pang | 2 | 13.33% | 1 | 50.00% |
Total | 15 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Marc Zyngier | 13 | 86.67% | 1 | 50.00% |
Xunlei Pang | 2 | 13.33% | 1 | 50.00% |
Total | 15 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Marc Zyngier | 48 | 100.00% | 1 | 100.00% |
Total | 48 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Sebastian Hesselbarth | 14 | 37.84% | 1 | 14.29% |
Deepak Saxena | 9 | 24.32% | 1 | 14.29% |
Arnd Bergmann | 9 | 24.32% | 1 | 14.29% |
Russell King | 2 | 5.41% | 1 | 14.29% |
Stephen Warren | 1 | 2.70% | 1 | 14.29% |
Marc Zyngier | 1 | 2.70% | 1 | 14.29% |
Linus Torvalds (pre-git) | 1 | 2.70% | 1 | 14.29% |
Total | 37 | 100.00% | 7 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Marc Zyngier | 110 | 29.65% | 2 | 5.71% |
Catalin Marinas | 48 | 12.94% | 1 | 2.86% |
Sebastian Hesselbarth | 34 | 9.16% | 1 | 2.86% |
Zwane Mwaikambo | 32 | 8.63% | 1 | 2.86% |
Linus Torvalds (pre-git) | 23 | 6.20% | 3 | 8.57% |
Russell King | 23 | 6.20% | 8 | 22.86% |
Arnd Bergmann | 22 | 5.93% | 2 | 5.71% |
Deepak Saxena | 21 | 5.66% | 2 | 5.71% |
Martin Schwidefsky | 12 | 3.23% | 1 | 2.86% |
David Brownell | 12 | 3.23% | 1 | 2.86% |
Xunlei Pang | 5 | 1.35% | 1 | 2.86% |
Nikolay Borisov | 5 | 1.35% | 1 | 2.86% |
Kevin Hilman | 5 | 1.35% | 2 | 5.71% |
Thomas Gleixner | 4 | 1.08% | 1 | 2.86% |
Anton Blanchard | 3 | 0.81% | 1 | 2.86% |
Linus Torvalds | 3 | 0.81% | 1 | 2.86% |
Frederik Deweerdt | 2 | 0.54% | 1 | 2.86% |
Alexey Dobriyan | 2 | 0.54% | 1 | 2.86% |
William Lee Irwin III | 2 | 0.54% | 1 | 2.86% |
Torben Hohn | 1 | 0.27% | 1 | 2.86% |
Stephen Warren | 1 | 0.27% | 1 | 2.86% |
Atsushi Nemoto | 1 | 0.27% | 1 | 2.86% |
Total | 371 | 100.00% | 35 | 100.00% |