]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
a439fe51 | 2 | /* include/asm/bugs.h: Sparc probes for various bugs. |
1da177e4 | 3 | * |
145dea00 | 4 | * Copyright (C) 1996, 2007 David S. Miller (davem@davemloft.net) |
1da177e4 LT |
5 | */ |
6 | ||
145dea00 | 7 | #ifdef CONFIG_SPARC32 |
1da177e4 | 8 | #include <asm/cpudata.h> |
145dea00 DM |
9 | #endif |
10 | ||
1da177e4 LT |
11 | extern unsigned long loops_per_jiffy; |
12 | ||
145dea00 | 13 | static void __init check_bugs(void) |
1da177e4 | 14 | { |
145dea00 | 15 | #if defined(CONFIG_SPARC32) && !defined(CONFIG_SMP) |
1da177e4 LT |
16 | cpu_data(0).udelay_val = loops_per_jiffy; |
17 | #endif | |
18 | } |