Re: [PATCH v3 1/1] livepatch: add support on s390

2015-03-25 Thread Jiri Slaby
On 03/25/2015, 01:57 PM, Josh Poimboeuf wrote: >> +#ifdef CONFIG_LIVEPATCH >> +static inline int klp_check_compiler_support(void) >> +{ >> +return 1; >> +} > > This should actually return 0 on success. Deja vu as I fixed this once already. Let me runtime test the patch before I send it in

Re: [PATCH v3 1/1] livepatch: add support on s390

2015-03-25 Thread Josh Poimboeuf
On Tue, Mar 24, 2015 at 05:51:00PM +0100, Jiri Slaby wrote: > This is a trivial port from kGraft. Module relocations are not > supported. > > [v2] return ENOSYS > > Signed-off-by: Jiri Slaby > --- > arch/s390/Kconfig | 3 +++ > arch/s390/include/asm/livepatch.h | 43 >

Re: [PATCH v3 1/1] livepatch: add support on s390

2015-03-25 Thread Josh Poimboeuf
On Tue, Mar 24, 2015 at 05:51:00PM +0100, Jiri Slaby wrote: This is a trivial port from kGraft. Module relocations are not supported. [v2] return ENOSYS Signed-off-by: Jiri Slaby jsl...@suse.cz --- arch/s390/Kconfig | 3 +++ arch/s390/include/asm/livepatch.h | 43

Re: [PATCH v3 1/1] livepatch: add support on s390

2015-03-25 Thread Jiri Slaby
On 03/25/2015, 01:57 PM, Josh Poimboeuf wrote: +#ifdef CONFIG_LIVEPATCH +static inline int klp_check_compiler_support(void) +{ +return 1; +} This should actually return 0 on success. Deja vu as I fixed this once already. Let me runtime test the patch before I send it in the next round

[PATCH v3 1/1] livepatch: add support on s390

2015-03-24 Thread Jiri Slaby
This is a trivial port from kGraft. Module relocations are not supported. [v2] return ENOSYS Signed-off-by: Jiri Slaby --- arch/s390/Kconfig | 3 +++ arch/s390/include/asm/livepatch.h | 43 +++ 2 files changed, 46 insertions(+) create mode

[PATCH v3 1/1] livepatch: add support on s390

2015-03-24 Thread Jiri Slaby
This is a trivial port from kGraft. Module relocations are not supported. [v2] return ENOSYS Signed-off-by: Jiri Slaby jsl...@suse.cz --- arch/s390/Kconfig | 3 +++ arch/s390/include/asm/livepatch.h | 43 +++ 2 files changed, 46 insertions(+)