1/* 2 * Copyright (C) 2015 Imagination Technologies 3 * Author: Alex Smith <alex.smith@imgtec.com> 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License as published by the 7 * Free Software Foundation; either version 2 of the License, or (at your 8 * option) any later version. 9 */ 10 11#ifndef __ASM_CLOCKSOURCE_H 12#define __ASM_CLOCKSOURCE_H 13 14#include <linux/types.h> 15 16/* VDSO clocksources. */ 17#define VDSO_CLOCK_NONE 0 /* No suitable clocksource. */ 18#define VDSO_CLOCK_R4K 1 /* Use the coprocessor 0 count. */ 19#define VDSO_CLOCK_GIC 2 /* Use the GIC. */ 20 21/** 22 * struct arch_clocksource_data - Architecture-specific clocksource information. 23 * @vdso_clock_mode: Method the VDSO should use to access the clocksource. 24 */ 25struct arch_clocksource_data { 26 u8 vdso_clock_mode; 27}; 28 29#endif /* __ASM_CLOCKSOURCE_H */ 30