diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2012-09-06 13:19:08 (GMT) |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-09-26 13:45:14 (GMT) |
commit | d978386e79412e45d1aea81eee345dac23d20865 (patch) | |
tree | 78312cbddb4c84f27582fd2cdbc9e649f2a23954 /arch/s390/include | |
parent | a8f6db4d2990d6866ba5d9c699cfc0835b9d8859 (diff) | |
download | linux-fsl-qoriq-d978386e79412e45d1aea81eee345dac23d20865.tar.xz |
s390/kexec: change return value of machine_kexec_prepare
Returning -ENOSYS on kexec_load() is a bad idea since user space cannot
tell if the system call is not implmented or if it failed.
Use -EOPNOTSUPP in case somebody tries a kexec_load on a NSS image based
kernel instead.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include')
0 files changed, 0 insertions, 0 deletions