]> git.baikalelectronics.ru Git - kernel.git/commit
s390/uprobes: fix compile for !KPROBES
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 2 May 2017 11:20:11 +0000 (13:20 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 3 May 2017 07:08:57 +0000 (09:08 +0200)
commitbb61bb36484359d6e55ec4d592434e8541f74800
treecf8ae1db47a4da8dda6f5831e2362c99547e9ba1
parentaee450d5d35c0354f4d4a49bc64a6a41fc8a2b30
s390/uprobes: fix compile for !KPROBES

Fix the following compile error(s) if CONFIG_KPROBES is disabled:

arch/s390/kernel/uprobes.c:79:14:
 error: implicit declaration of function 'probe_get_fixup_type'
arch/s390/kernel/uprobes.c:87:14:
 error: 'FIXUP_PSW_NORMAL' undeclared (first use in this function)

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/dis.h
arch/s390/include/asm/kprobes.h
arch/s390/lib/probes.c