Logo
Explore Help
Register Sign In
leandrof/linux
1
0
Fork 0
You've already forked linux
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
a5fc7aa901b6818c67cc7e5cef8201fbaab8fa1b
linux/arch/nds32/include/asm/vdso_timer_info.h

15 lines
357 B
C
Raw Normal View History

nds32: Use the correct style for SPDX License Identifier This patch corrects the SPDX License Identifier style in the nds32 Hardware Architecture related files. Suggested-by: Joe Perches <joe@perches.com> Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com> Acked-by: Greentime Hu <greentime@andestech.com> Signed-off-by: Greentime Hu <greentime@andestech.com>
2019-04-16 20:54:35 +05:30
/* SPDX-License-Identifier: GPL-2.0 */
nds32: VDSO support This patch adds VDSO support. The VDSO code is currently used for sys_rt_sigreturn() and optimised gettimeofday() (using the SoC timer counter). Signed-off-by: Vincent Chen <vincentc@andestech.com> Signed-off-by: Greentime Hu <greentime@andestech.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
2017-10-25 11:16:56 +08:00
// Copyright (C) 2005-2017 Andes Technology Corporation
extern struct timer_info_t timer_info;
#define EMPTY_VALUE ~(0UL)
#define EMPTY_TIMER_MAPPING EMPTY_VALUE
#define EMPTY_REG_OFFSET EMPTY_VALUE
struct timer_info_t
{
bool cycle_count_down;
unsigned long mapping_base;
unsigned long cycle_count_reg_offset;
};
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 730ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API