.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | * OpenRISC Linux |
---|
3 | 4 | * |
---|
.. | .. |
---|
7 | 8 | * |
---|
8 | 9 | * OpenRISC implementation: |
---|
9 | 10 | * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> |
---|
10 | | - * |
---|
11 | | - * This program is free software; you can redistribute it and/or modify |
---|
12 | | - * it under the terms of the GNU General Public License as published by |
---|
13 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
14 | | - * (at your option) any later version. |
---|
15 | 11 | */ |
---|
16 | 12 | |
---|
17 | 13 | #ifndef __ASM_OPENRISC_TIMEX_H |
---|
.. | .. |
---|
27 | 23 | { |
---|
28 | 24 | return mfspr(SPR_TTCR); |
---|
29 | 25 | } |
---|
| 26 | +#define get_cycles get_cycles |
---|
30 | 27 | |
---|
31 | 28 | /* This isn't really used any more */ |
---|
32 | 29 | #define CLOCK_TICK_RATE 1000 |
---|