mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
41e486f4f6
The fp_mode_switching field in struct mm_context_t was left unused by
commit 8c8d953c28
("MIPS: Schedule on CPUs we need to lose FPU for a
mode switch") in v4.19, with nothing modifying its value & nothing
waiting on it having any particular value after that commit. Remove the
unused field & the one remaining reference to it.
Signed-off-by: Paul Burton <paul.burton@mips.com>
22 lines
521 B
C
22 lines
521 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __ASM_MMU_H
|
|
#define __ASM_MMU_H
|
|
|
|
#include <linux/atomic.h>
|
|
#include <linux/spinlock.h>
|
|
#include <linux/wait.h>
|
|
|
|
typedef struct {
|
|
u64 asid[NR_CPUS];
|
|
void *vdso;
|
|
|
|
/* lock to be held whilst modifying fp_bd_emupage_allocmap */
|
|
spinlock_t bd_emupage_lock;
|
|
/* bitmap tracking allocation of fp_bd_emupage */
|
|
unsigned long *bd_emupage_allocmap;
|
|
/* wait queue for threads requiring an emuframe */
|
|
wait_queue_head_t bd_emupage_queue;
|
|
} mm_context_t;
|
|
|
|
#endif /* __ASM_MMU_H */
|