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/x86/include/asm/device.h | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/kernel/arch/x86/include/asm/device.h b/kernel/arch/x86/include/asm/device.h
index a8f6c80..7c0a52c 100644
--- a/kernel/arch/x86/include/asm/device.h
+++ b/kernel/arch/x86/include/asm/device.h
@@ -3,23 +3,7 @@
#define _ASM_X86_DEVICE_H
struct dev_archdata {
-#if defined(CONFIG_INTEL_IOMMU) || defined(CONFIG_AMD_IOMMU)
- void *iommu; /* hook for IOMMU specific extension */
-#endif
-#ifdef CONFIG_STA2X11
- bool is_sta2x11;
-#endif
};
-
-#if defined(CONFIG_X86_DEV_DMA_OPS) && defined(CONFIG_PCI_DOMAINS)
-struct dma_domain {
- struct list_head node;
- const struct dma_map_ops *dma_ops;
- int domain_nr;
-};
-void add_dma_domain(struct dma_domain *domain);
-void del_dma_domain(struct dma_domain *domain);
-#endif
struct pdev_archdata {
};
--
Gitblit v1.6.2