Skip to content

Commit 3bb48a8

Browse files
committed
Merge branch 'parisc-5.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
Pull parisc fixes from Helge Deller: "Two small parisc architecture fixes: fix a linking failure reported by the kernel test robot and remove a duplicate include" * 'parisc-5.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux: arch/parisc/kernel: remove duplicate include in ptrace parisc: Enable -mlong-calls gcc option with CONFIG_COMPILE_TEST
2 parents fbda790 + 460c9f1 commit 3bb48a8

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

arch/parisc/Kconfig

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,12 @@ config PREFETCH
203203
def_bool y
204204
depends on PA8X00 || PA7200
205205

206+
config PARISC_HUGE_KERNEL
207+
def_bool y if !MODULES || UBSAN || FTRACE || COMPILE_TEST
208+
206209
config MLONGCALLS
207-
def_bool y if !MODULES || UBSAN || FTRACE
208-
bool "Enable the -mlong-calls compiler option for big kernels" if MODULES && !UBSAN && !FTRACE
210+
def_bool y if PARISC_HUGE_KERNEL
211+
bool "Enable the -mlong-calls compiler option for big kernels" if !PARISC_HUGE_KERNEL
209212
depends on PA8X00
210213
help
211214
If you configure the kernel to include many drivers built-in instead

arch/parisc/kernel/ptrace.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,8 +567,6 @@ static const struct user_regset_view user_parisc_native_view = {
567567
};
568568

569569
#ifdef CONFIG_64BIT
570-
#include <linux/compat.h>
571-
572570
static int gpr32_get(struct task_struct *target,
573571
const struct user_regset *regset,
574572
struct membuf to)

0 commit comments

Comments
 (0)