[PATCH] h8300: fix PREEMPTION build, TI_PRE_COUNT undefined

2021-02-11 Thread Randy Dunlap
Fix a build error for undefined 'TI_PRE_COUNT' by adding it to asm-offsets.c. h8300-linux-ld: arch/h8300/kernel/entry.o: in function `resume_kernel': (.text+0x29a): undefined reference to `TI_PRE_COUNT' Fixes: df2078b8daa7 ("h8300: Low level entry") Signed-off-by: Randy Dunlap Reported-by: kerne

[PATCH] h8300: fix defconfig for edosk2674

2017-10-01 Thread Waldemar Brodkorb
This patch is required to create an uImage which boot on Hitachi edosk2674 into a shell. (tested with sash) The patch was tested with 4.4/4.9 LTS kernel. It seems >4.13 contains a regression, which does not allow to boot Linux on the device anymore. Signed-off-by: Waldemar Brodkorb --- arch/h830

[PATCH] h8300: Fix build breakage caused by header file change

2017-03-05 Thread Guenter Roeck
Since commit c3edc4010e9d ("sched/headers: Move task_struct::signal and task_struct:: sighand types and accessors into "), h8300 builds fail as follows. arch/h8300/kernel/ptrace_h.c: In function ‘trace_trap’: arch/h8300/kernel/ptrace_h.c:253:3: error: implicit declaration of function ‘forc

[PATCH] h8300: fix syscall restarting

2016-09-26 Thread Mark Rutland
Back in commit f56141e3e2d9aabf ("all arches, signal: move restart_block to struct task_struct"), all architectures and core code were changed to use task_struct::restart_block. However, when h8300 support was subsequently restored in v4.2, it was not updated to account for this, and maintains thre

Re: [PATCH] h8300: Fix build error due to missing word-at-a-time.h

2015-10-08 Thread Guenter Roeck
On 10/08/2015 12:49 AM, Yoshinori Sato wrote: On Tue, 06 Oct 2015 14:32:58 +0900, Guenter Roeck wrote: h8300 builds fail with lib/string.c:31:32: fatal error: asm/word-at-a-time.h: No such file or directory Fixes: 30035e45753b ("string: provide strscpy()") Cc: Chris Metcalf Signed-off-by: Gu

Re: [PATCH] h8300: Fix build error due to missing word-at-a-time.h

2015-10-08 Thread Yoshinori Sato
On Tue, 06 Oct 2015 14:32:58 +0900, Guenter Roeck wrote: > > h8300 builds fail with > > lib/string.c:31:32: fatal error: asm/word-at-a-time.h: No such file or > directory > > Fixes: 30035e45753b ("string: provide strscpy()") > Cc: Chris Metcalf > Signed-off-by: Guenter Roeck > --- > arch/h83

Re: [PATCH] h8300: Fix build error due to missing word-at-a-time.h

2015-10-07 Thread Chris Metcalf
On 10/7/2015 12:35 PM, Guenter Roeck wrote: lib/string.c: In function 'strscpy': lib/string.c:209:4: error: implicit declaration of function 'zero_bytemask' [-Werror=implicit-function-declaration] *(unsigned long *)(dest+res) = c & zero_bytemask(data); Now seen upstream for all powerpc buil

Re: [PATCH] h8300: Fix build error due to missing word-at-a-time.h

2015-10-07 Thread Guenter Roeck
On 10/07/2015 06:41 AM, Chris Metcalf wrote: On 10/06/2015 01:32 AM, Guenter Roeck wrote: h8300 builds fail with lib/string.c:31:32: fatal error: asm/word-at-a-time.h: No such file or directory Fixes: 30035e45753b ("string: provide strscpy()") Cc: Chris Metcalf Signed-off-by: Guenter Roeck -

Re: [PATCH] h8300: Fix build error due to missing word-at-a-time.h

2015-10-07 Thread Chris Metcalf
On 10/06/2015 01:32 AM, Guenter Roeck wrote: h8300 builds fail with lib/string.c:31:32: fatal error: asm/word-at-a-time.h: No such file or directory Fixes: 30035e45753b ("string: provide strscpy()") Cc: Chris Metcalf Signed-off-by: Guenter Roeck --- arch/h8300/include/asm/Kbuild | 1 + 1 f

[PATCH] h8300: Fix build error due to missing word-at-a-time.h

2015-10-05 Thread Guenter Roeck
h8300 builds fail with lib/string.c:31:32: fatal error: asm/word-at-a-time.h: No such file or directory Fixes: 30035e45753b ("string: provide strscpy()") Cc: Chris Metcalf Signed-off-by: Guenter Roeck --- arch/h8300/include/asm/Kbuild | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/h8

Re: [PATCH] h8300: Fix

2013-05-12 Thread Yoshinori Sato
At Tue, 7 May 2013 11:52:52 +0200, Geert Uytterhoeven wrote: > > Ten years ago, a mismerge happened, concatenating two slightly different > versions of the same file. As a consequence, was never > included, leading to a build failure only now: > > kernel/cpu/idle.c: In function 'cpu_idle_loop':

[PATCH] h8300: Fix

2013-05-07 Thread Geert Uytterhoeven
Ten years ago, a mismerge happened, concatenating two slightly different versions of the same file. As a consequence, was never included, leading to a build failure only now: kernel/cpu/idle.c: In function 'cpu_idle_loop': kernel/cpu/idle.c:70:4: error: implicit declaration of function 'check_pg

[PATCH] h8300 fix warning

2005-01-20 Thread Yoshinori Sato
o update argument type Signed-off-by: Yoshinori Sato <[EMAIL PROTECTED]> = include/asm-h8300/bitops.h 1.10 vs edited = --- 1.10/include/asm-h8300/bitops.h 2004-11-12 16:38:42 +09:00 +++ edited/include/asm-h8300/bitops.h 2005-01-20 23:14:39 +09:00 @@ -196,7 +196,7 @@ return r