forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/arch/mips/include/asm/mach-ip27/kernel-entry-init.h
....@@ -10,18 +10,8 @@
1010 #define __ASM_MACH_IP27_KERNEL_ENTRY_H
1111
1212 #include <asm/sn/addrs.h>
13
-#include <asm/sn/sn0/hubni.h>
13
+#include <asm/sn/agent.h>
1414 #include <asm/sn/klkernvars.h>
15
-
16
-/*
17
- * Returns the local nasid into res.
18
- */
19
- .macro GET_NASID_ASM res
20
- dli \res, LOCAL_HUB_ADDR(NI_STATUS_REV_ID)
21
- ld \res, (\res)
22
- and \res, NSRI_NODEID_MASK
23
- dsrl \res, NSRI_NODEID_SHFT
24
- .endm
2515
2616 /*
2717 * TLB bits