From ea08eeccae9297f7aabd2ef7f0c2517ac4549acc Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 20 Feb 2024 01:18:26 +0000
Subject: [PATCH] write in 30M
---
kernel/arch/mips/include/asm/mach-ip27/mmzone.h | 15 +++------------
1 files changed, 3 insertions(+), 12 deletions(-)
diff --git a/kernel/arch/mips/include/asm/mach-ip27/mmzone.h b/kernel/arch/mips/include/asm/mach-ip27/mmzone.h
index 2ed3094..08c36e5 100644
--- a/kernel/arch/mips/include/asm/mach-ip27/mmzone.h
+++ b/kernel/arch/mips/include/asm/mach-ip27/mmzone.h
@@ -4,24 +4,15 @@
#include <asm/sn/addrs.h>
#include <asm/sn/arch.h>
-#include <asm/sn/hub.h>
+#include <asm/sn/agent.h>
+#include <asm/sn/klkernvars.h>
-#define pa_to_nid(addr) NASID_TO_COMPACT_NODEID(NASID_GET(addr))
-
-#define LEVELS_PER_SLICE 128
-
-struct slice_data {
- unsigned long irq_enable_mask[2];
- int level_to_irq[LEVELS_PER_SLICE];
-};
+#define pa_to_nid(addr) NASID_GET(addr)
struct hub_data {
kern_vars_t kern_vars;
DECLARE_BITMAP(h_bigwin_used, HUB_NUM_BIG_WINDOW);
cpumask_t h_cpus;
- unsigned long slice_map;
- unsigned long irq_alloc_mask[2];
- struct slice_data slice[2];
};
struct node_data {
--
Gitblit v1.6.2