Remove obsolete patch (upstreamed)

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
David Abdurachmanov 2019-11-05 16:28:59 +02:00
parent 7784e01cb3
commit 0272411058
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
2 changed files with 0 additions and 30 deletions

View File

@ -1,26 +0,0 @@
From 634c24af79a94122e32554e49e5c08b6e3b8036b Mon Sep 17 00:00:00 2001
From: Fedora Kernel Team <kernel-team@fedoraproject.org>
Date: Sat, 19 Oct 2019 20:32:35 +0000
Subject: [PATCH] riscv: make kern_addr_valid available without CONFIG_FLATMEM
---
arch/riscv/include/asm/pgtable.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/riscv/include/asm/pgtable.h b/arch/riscv/include/asm/pgtable.h
index 7255f2d..644532c 100644
--- a/arch/riscv/include/asm/pgtable.h
+++ b/arch/riscv/include/asm/pgtable.h
@@ -428,9 +428,7 @@ static inline int ptep_clear_flush_young(struct vm_area_struct *vma,
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
#define __swp_entry_to_pte(x) ((pte_t) { (x).val })
-#ifdef CONFIG_FLATMEM
#define kern_addr_valid(addr) (1) /* FIXME */
-#endif
extern void *dtb_early_va;
extern void setup_bootmem(void);
--
2.23.0

View File

@ -735,10 +735,6 @@ Patch550: 0001-riscv-add-support-for-SECCOMP.patch
# https://github.com/sifive/riscv-linux/commits/dev/paulw/cpufreq-dt-aloe-v5.3-rc4
Patch552: 0002-SiFive-Unleashed-CPUFreq.patch
# RISC-V
# Not upstream, not posted
Patch553: 0001-riscv-make-kern_addr_valid-available-without-CONFIG_.patch
# END OF PATCH DEFINITIONS
%endif