Re: [PATCH 1/2] kexec: Create a new config option CONFIG_KEXEC_FILE for new syscall

2014-08-14 Thread Shaun Ruffell
On Wed, Aug 13, 2014 at 10:42:59AM -0400, Vivek Goyal wrote: > Currently new system call kexec_file_load() and all the associated code > compiles if CONFIG_KEXEC=y. But new syscall also compiles purgatory code > which currently uses gcc option -mcmodel=large. This option seems to be > available onl

[PATCH 1/2] kexec: Create a new config option CONFIG_KEXEC_FILE for new syscall

2014-08-13 Thread Vivek Goyal
Currently new system call kexec_file_load() and all the associated code compiles if CONFIG_KEXEC=y. But new syscall also compiles purgatory code which currently uses gcc option -mcmodel=large. This option seems to be available only gcc 4.4 onwards. Hiding new functionality behind a new config opti