mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl/boot: move load_wait_psw() location
`load_wait_psw` is defined in include/boot/s390.h but is implemented in zipl/boot/libc.c. This results in a dangling definition for s390.h users other than zipl, due to the missing implementation. Since the function is only relevant for zipl, move the definition to the corresponding header file zipl/boot/libc.h Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com> Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
@@ -40,8 +40,6 @@
|
||||
".long (" #_target ")\n" \
|
||||
".previous\n"
|
||||
|
||||
void load_wait_psw(uint64_t, struct psw_t *);
|
||||
|
||||
struct subchannel_id {
|
||||
uint32_t cssid:8;
|
||||
uint32_t:4;
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include <stddef.h>
|
||||
|
||||
#include "lib/zt_common.h"
|
||||
#include "boot/psw.h"
|
||||
|
||||
#define EPERM 1 /* Operation not permitted */
|
||||
#define ENOENT 2 /* No such file or directory */
|
||||
@@ -65,6 +66,7 @@ void __noreturn start(void);
|
||||
void pgm_check_handler(void);
|
||||
void pgm_check_handler_fn(void);
|
||||
void panic_notify(unsigned long reason);
|
||||
void load_wait_psw(uint64_t, struct psw_t *);
|
||||
|
||||
#define panic(reason, ...) \
|
||||
do { \
|
||||
|
||||
Reference in New Issue
Block a user