Patch "csky: change a Kconfig symbol name to fix e1000 build error" has been added to the 5.11-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    csky: change a Kconfig symbol name to fix e1000 build error

to the 5.11-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     csky-change-a-kconfig-symbol-name-to-fix-e1000-build.patch
and it can be found in the queue-5.11 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit ced5e24efb99adb512552b294ab1ba173c0c6b2c
Author: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Date:   Fri Apr 16 15:46:03 2021 -0700

    csky: change a Kconfig symbol name to fix e1000 build error
    
    [ Upstream commit d199161653d612b8fb96ac51bfd5b2d2782ecef3 ]
    
    e1000's #define of CONFIG_RAM_BASE conflicts with a Kconfig symbol in
    arch/csky/Kconfig.
    
    The symbol in e1000 has been around longer, so change arch/csky/ to use
    DRAM_BASE instead of RAM_BASE to remove the conflict.  (although e1000
    is also a 2-line change)
    
    Link: https://lkml.kernel.org/r/20210411055335.7111-1-rdunlap@xxxxxxxxxxxxx
    Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
    Reported-by: kernel test robot <lkp@xxxxxxxxx>
    Acked-by: Guo Ren <guoren@xxxxxxxxxx>
    Cc: Jesse Brandeburg <jesse.brandeburg@xxxxxxxxx>
    Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
    Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/csky/Kconfig b/arch/csky/Kconfig
index 89dd2fcf38fa..3b16d081b4d7 100644
--- a/arch/csky/Kconfig
+++ b/arch/csky/Kconfig
@@ -292,7 +292,7 @@ config FORCE_MAX_ZONEORDER
 	int "Maximum zone order"
 	default "11"
 
-config RAM_BASE
+config DRAM_BASE
 	hex "DRAM start addr (the same with memory-section in dts)"
 	default 0x0
 
diff --git a/arch/csky/include/asm/page.h b/arch/csky/include/asm/page.h
index 9b98bf31d57c..16878240ef9a 100644
--- a/arch/csky/include/asm/page.h
+++ b/arch/csky/include/asm/page.h
@@ -28,7 +28,7 @@
 #define SSEG_SIZE	0x20000000
 #define LOWMEM_LIMIT	(SSEG_SIZE * 2)
 
-#define PHYS_OFFSET_OFFSET (CONFIG_RAM_BASE & (SSEG_SIZE - 1))
+#define PHYS_OFFSET_OFFSET (CONFIG_DRAM_BASE & (SSEG_SIZE - 1))
 
 #ifndef __ASSEMBLY__
 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux