mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-08-09 06:14:34 +02:00
"struct class" is defined earlier on both cases. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Link: https://patch.msgid.link/6d5937c5-9d41-4cfe-9e42-0946e12dc72d@p183 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
29 lines
627 B
C
29 lines
627 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Definitions and declarations for MIPS MT support that are common between
|
|
* the VSMP, and AP/SP kernel models.
|
|
*/
|
|
#ifndef __ASM_MIPS_MT_H
|
|
#define __ASM_MIPS_MT_H
|
|
|
|
#include <linux/cpumask.h>
|
|
|
|
/*
|
|
* How many VPEs and TCs is Linux allowed to use? 0 means no limit.
|
|
*/
|
|
extern int tclimit;
|
|
extern int vpelimit;
|
|
|
|
extern cpumask_t mt_fpu_cpumask;
|
|
extern unsigned long mt_fpemul_threshold;
|
|
|
|
#ifdef CONFIG_MIPS_MT
|
|
extern void mips_mt_set_cpuoptions(void);
|
|
#else
|
|
static inline void mips_mt_set_cpuoptions(void) { }
|
|
#endif
|
|
|
|
extern const struct class mt_class;
|
|
|
|
#endif /* __ASM_MIPS_MT_H */
|