]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
update queue-4.19/xtensa-use-config_use_of-instead-of-config_of.patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Nov 2021 13:14:16 +0000 (14:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Nov 2021 13:14:16 +0000 (14:14 +0100)
queue-4.19/xtensa-use-config_use_of-instead-of-config_of.patch

index 9acae80e07f883b1e4a72c19dbacf94457291a96..6c87cd8d340dc4b2cba9d97d4942c2547af2e603 100644 (file)
@@ -42,10 +42,22 @@ Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
 Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 ---
- arch/xtensa/kernel/setup.c |   12 ++++++------
- arch/xtensa/mm/mmu.c       |    2 +-
- 2 files changed, 7 insertions(+), 7 deletions(-)
+ arch/xtensa/include/asm/vectors.h |    2 +-
+ arch/xtensa/kernel/setup.c        |   12 ++++++------
+ arch/xtensa/mm/mmu.c              |    2 +-
+ 3 files changed, 8 insertions(+), 8 deletions(-)
 
+--- a/arch/xtensa/include/asm/vectors.h
++++ b/arch/xtensa/include/asm/vectors.h
+@@ -31,7 +31,7 @@
+ #endif
+ #define XCHAL_KIO_SIZE                        0x10000000
+-#if (!XCHAL_HAVE_PTP_MMU || XCHAL_HAVE_SPANNING_WAY) && defined(CONFIG_OF)
++#if (!XCHAL_HAVE_PTP_MMU || XCHAL_HAVE_SPANNING_WAY) && defined(CONFIG_USE_OF)
+ #define XCHAL_KIO_PADDR                       xtensa_get_kio_paddr()
+ #ifndef __ASSEMBLY__
+ extern unsigned long xtensa_kio_paddr;
 --- a/arch/xtensa/kernel/setup.c
 +++ b/arch/xtensa/kernel/setup.c
 @@ -65,7 +65,7 @@ int initrd_is_mapped = 0;