forked from luck/tmp_suning_uos_patched
3b0c062267
This reverts commitfa18484d09
. We need the restart trampoline back so that we can revert a related problematic patch6b5c8045ec
("arm: new way of handling ERESTART_RESTARTBLOCK"). Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
15 lines
514 B
C
15 lines
514 B
C
/*
|
|
* linux/arch/arm/kernel/signal.h
|
|
*
|
|
* Copyright (C) 2005-2009 Russell King.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
#define KERN_SIGRETURN_CODE (CONFIG_VECTORS_BASE + 0x00000500)
|
|
#define KERN_RESTART_CODE (KERN_SIGRETURN_CODE + sizeof(sigreturn_codes))
|
|
|
|
extern const unsigned long sigreturn_codes[7];
|
|
extern const unsigned long syscall_restart_code[2];
|