lkml.org 
[lkml]   [2019]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-next: manual merge of the risc-v-fixes tree with Linus' tree
Hi all,

Today's linux-next merge of the risc-v-fixes tree got a conflict in:

arch/riscv/include/asm/pgtable.h

between commit:

782de70c42930ba ("mm: consolidate pgtable_cache_init() and pgd_cache_init()")

from Linus' tree and commit:

b6f2b2e600a27b7 ("RISC-V: Fix building error when CONFIG_SPARSEMEM_MANUAL=y")

from the risc-v-fixes tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

diff --cc arch/riscv/include/asm/pgtable.h
index c60123f018f50,4f4162d90586d..0000000000000
--- a/arch/riscv/include/asm/pgtable.h
+++ b/arch/riscv/include/asm/pgtable.h
@@@ -424,18 -436,11 +436,6 @@@ extern void *dtb_early_va
extern void setup_bootmem(void);
extern void paging_init(void);

- #define VMALLOC_SIZE (KERN_VIRT_SIZE >> 1)
- #define VMALLOC_END (PAGE_OFFSET - 1)
- #define VMALLOC_START (PAGE_OFFSET - VMALLOC_SIZE)
- #define FIXADDR_TOP VMALLOC_START
- #ifdef CONFIG_64BIT
- #define FIXADDR_SIZE PMD_SIZE
- #else
- #define FIXADDR_SIZE PGDIR_SIZE
- #endif
- #define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE)
-static inline void pgtable_cache_init(void)
-{
- /* No page table caches to initialize */
-}
--
/*
* Task size is 0x4000000000 for RV64 or 0x9fc00000 for RV32.
* Note that PGDIR_SIZE must evenly divide TASK_SIZE.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2019-09-25 19:15    [W:0.022 / U:29.808 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site