From b22da3d8526a935aa31e086e63f60ff3246cb61c Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Sat, 09 Dec 2023 07:24:11 +0000
Subject: [PATCH] add stmac read mac form eeprom

---
 kernel/arch/mips/include/asm/mmu.h |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/kernel/arch/mips/include/asm/mmu.h b/kernel/arch/mips/include/asm/mmu.h
index 24d6b42..5df0238 100644
--- a/kernel/arch/mips/include/asm/mmu.h
+++ b/kernel/arch/mips/include/asm/mmu.h
@@ -7,9 +7,12 @@
 #include <linux/wait.h>
 
 typedef struct {
-	u64 asid[NR_CPUS];
+	union {
+		u64 asid[NR_CPUS];
+		atomic64_t mmid;
+	};
+
 	void *vdso;
-	atomic_t fp_mode_switching;
 
 	/* lock to be held whilst modifying fp_bd_emupage_allocmap */
 	spinlock_t bd_emupage_lock;

--
Gitblit v1.6.2