]> Git Repo - linux.git/blob - arch/sparc/include/asm/bugs.h
Merge tag 'arc-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
[linux.git] / arch / sparc / include / asm / bugs.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* include/asm/bugs.h:  Sparc probes for various bugs.
3  *
4  * Copyright (C) 1996, 2007 David S. Miller ([email protected])
5  */
6
7 #ifdef CONFIG_SPARC32
8 #include <asm/cpudata.h>
9 #endif
10
11 extern unsigned long loops_per_jiffy;
12
13 static void __init check_bugs(void)
14 {
15 #if defined(CONFIG_SPARC32) && !defined(CONFIG_SMP)
16         cpu_data(0).udelay_val = loops_per_jiffy;
17 #endif
18 }
This page took 0.033318 seconds and 4 git commands to generate.