blob: 05b8e82ec9f5b66744305de1094df1115fc92798 [file] [log] [blame]
Russell King112f38a42010-12-15 19:23:07 +00001/*
2 * sched_clock.h: support for extending counters to full 64-bit ns counter
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8#ifndef ASM_SCHED_CLOCK
9#define ASM_SCHED_CLOCK
10
Russell King211baa702011-01-11 16:23:04 +000011extern void sched_clock_postinit(void);
Marc Zyngier2f0778af2011-12-15 12:19:23 +010012extern void setup_sched_clock(u32 (*read)(void), int bits, unsigned long rate);
Colin Cross237ec6f2012-08-07 19:05:10 +010013extern void setup_sched_clock_needs_suspend(u32 (*read)(void), int bits,
14 unsigned long rate);
Russell King211baa702011-01-11 16:23:04 +000015
Russell King112f38a42010-12-15 19:23:07 +000016#endif