[PATCH v2 0/9] nds32: fix allmodconfig build

From: Greentime Hu
Date: Fri Apr 20 2018 - 09:33:05 EST


Hi,
This patchset is used to fix the allmodconfig building errors.

Changes in v2:
- To fix the endian mismatch issue.
- Use EXPORT_SYMBOL(save_stack_trace) like other architectures.

Greentime Hu (9):
nds32: lib: To use generic lib instead of libgcc to prevent the symbol
undefined issue.
nds32: Fix building error when CONFIG_FREEZE is enabled.
nds32: Fix building error of crypto/xor.c by adding xor.h
nds32: Fix drivers/gpu/drm/udl/udl_fb.c building error by defining
PAGE_SHARED
nds32: Fix xfs_buf built failed by export invalidate_kernel_vmap_range
and flush_kernel_vmap_range
nds32: Fix the symbols undefined issue by exporting them.
nds32: Fix the unknown type u8 issue.
nds32: Fix build failed because arch_trace_hardirqs_off is changed to
trace_hardirqs_off.
nds32: Fix the allmodconfig build. To make sure
CONFIG_CPU_LITTLE_ENDIAN is default y

arch/nds32/Kconfig | 7 +++++++
arch/nds32/Kconfig.cpu | 5 +++--
arch/nds32/Makefile | 7 ++++---
arch/nds32/include/asm/Kbuild | 2 ++
arch/nds32/include/asm/cacheflush.h | 2 ++
arch/nds32/include/asm/io.h | 2 ++
arch/nds32/include/asm/page.h | 3 +++
arch/nds32/include/asm/pgtable.h | 1 +
arch/nds32/kernel/ex-entry.S | 2 +-
arch/nds32/kernel/stacktrace.c | 2 ++
arch/nds32/lib/copy_page.S | 3 +++
arch/nds32/mm/cacheflush.c | 40 +++++++++++++++++++++++++++++++++++++
arch/nds32/mm/init.c | 1 +
13 files changed, 71 insertions(+), 6 deletions(-)

--
1.9.5