-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mips: vdso: Use generic VDSO clock mode storage
Switch to the generic VDSO clock mode storage. Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Vincenzo Frascino <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
- Loading branch information
Showing
6 changed files
with
19 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,23 +3,11 @@ | |
* Copyright (C) 2015 Imagination Technologies | ||
* Author: Alex Smith <[email protected]> | ||
*/ | ||
|
||
#ifndef __ASM_CLOCKSOURCE_H | ||
#define __ASM_CLOCKSOURCE_H | ||
|
||
#include <linux/types.h> | ||
|
||
/* VDSO clocksources. */ | ||
#define VDSO_CLOCK_NONE 0 /* No suitable clocksource. */ | ||
#define VDSO_CLOCK_R4K 1 /* Use the coprocessor 0 count. */ | ||
#define VDSO_CLOCK_GIC 2 /* Use the GIC. */ | ||
|
||
/** | ||
* struct arch_clocksource_data - Architecture-specific clocksource information. | ||
* @vdso_clock_mode: Method the VDSO should use to access the clocksource. | ||
*/ | ||
struct arch_clocksource_data { | ||
u8 vdso_clock_mode; | ||
}; | ||
#define VDSO_ARCH_CLOCKMODES \ | ||
VDSO_CLOCKMODE_R4K, \ | ||
VDSO_CLOCKMODE_GIC | ||
|
||
#endif /* __ASM_CLOCKSOURCE_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters