From: Nicolai Stange
Date: Mon, 22 Jun 2015 15:47:12 +0200
> Richard Weinberger writes:
>> While riding the bus to my office I've materialized that idea.
>> Nicolai, can you please give the attached patch a try?
> W/o my test_bpf patch applied, w/ your patch applied:
> - linux mainline: um comp
From: Nicolai Stange
Date: Sun, 21 Jun 2015 21:41:03 +0200
> Fix compilation failer with allmodconfig on ARCH=um:
> lib/test_bpf.c:50:0: warning: "R8" redefined
>#define R8 BPF_REG_8
>^
> In file included from arch/um/include/asm/ptrace-generic.h:11:0,
>from arch/
Richard Weinberger writes:
> While riding the bus to my office I've materialized that idea.
> Nicolai, can you please give the attached patch a try?
W/o my test_bpf patch applied, w/ your patch applied:
- linux mainline: um compiles
- linux-next: um compiles up to this mfd/syscon issue communica
Am 22.06.2015 um 08:52 schrieb Richard Weinberger:
> Am 22.06.2015 um 08:05 schrieb Alexei Starovoitov:
>> to get rid of warning you proposing to do 1k line renames?!
>> Just add:
>> +#undef R8
>> +#undef R9
>> +#undef R10
>> #define R0 BPF_REG_0
>
> This would be also just another ha
Am 22.06.2015 um 08:05 schrieb Alexei Starovoitov:
> to get rid of warning you proposing to do 1k line renames?!
> Just add:
> +#undef R8
> +#undef R9
> +#undef R10
> #define R0 BPF_REG_0
This would be also just another hack.
> Though I think the better fix woud be to clean up:
> arc
On Sun, Jun 21, 2015 at 09:41:03PM +0200, Nicolai Stange wrote:
> Fix compilation failer with allmodconfig on ARCH=um:
> lib/test_bpf.c:50:0: warning: "R8" redefined
>#define R8 BPF_REG_8
>^
> In file included from arch/um/include/asm/ptrace-generic.h:11:0,
>from ar
Fix compilation failer with allmodconfig on ARCH=um:
lib/test_bpf.c:50:0: warning: "R8" redefined
#define R8 BPF_REG_8
^
In file included from arch/um/include/asm/ptrace-generic.h:11:0,
from arch/x86/um/asm/ptrace.h:8,
from arch/x86/include/asm/alter