hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/powerpc/include/asm/delay.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 #ifndef _ASM_POWERPC_DELAY_H
23 #define _ASM_POWERPC_DELAY_H
34 #ifdef __KERNEL__
....@@ -8,11 +9,6 @@
89 /*
910 * Copyright 1996, Paul Mackerras.
1011 * Copyright (C) 2009 Freescale Semiconductor, Inc. All rights reserved.
11
- *
12
- * This program is free software; you can redistribute it and/or
13
- * modify it under the terms of the GNU General Public License
14
- * as published by the Free Software Foundation; either version
15
- * 2 of the License, or (at your option) any later version.
1612 *
1713 * PPC64 Support added by Dave Engebretsen, Todd Inglett, Mike Corrigan,
1814 * Anton Blanchard.
....@@ -58,7 +54,7 @@
5854 ({ \
5955 typeof(condition) __ret; \
6056 unsigned long __loops = tb_ticks_per_usec * timeout; \
61
- unsigned long __start = get_tbl(); \
57
+ unsigned long __start = mftb(); \
6258 \
6359 if (delay) { \
6460 while (!(__ret = (condition)) && \