treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / sparc / include / asm / bugs.h
blob02fa369b9c21f440c9a792055cd76ddc1eaa53df
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* include/asm/bugs.h: Sparc probes for various bugs.
4 * Copyright (C) 1996, 2007 David S. Miller (davem@davemloft.net)
5 */
7 #ifdef CONFIG_SPARC32
8 #include <asm/cpudata.h>
9 #endif
11 extern unsigned long loops_per_jiffy;
13 static void __init check_bugs(void)
15 #if defined(CONFIG_SPARC32) && !defined(CONFIG_SMP)
16 cpu_data(0).udelay_val = loops_per_jiffy;
17 #endif