summaryrefslogtreecommitdiffstats
path: root/ui/common/ui-system.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-02-27 14:22:01 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-04-15 14:54:21 +0800
commit6b842bb2559116a949c6a569ac39f5c56ebc1be1 (patch)
tree6802ad3c3dc4118c37d46acf1e4d42ab3ddb3fe3 /ui/common/ui-system.h
parent6eb39a03bf66d91c37ca5d14dd61a90850a921d3 (diff)
downloadtalos-petitboot-6b842bb2559116a949c6a569ac39f5c56ebc1be1.tar.gz
talos-petitboot-6b842bb2559116a949c6a569ac39f5c56ebc1be1.zip
ui: pb_kexec_data -> pb_boot_data
find ui/ -type f | xargs sed -i -e s/pb_kexec_data/pb_boot_data/g \ -e 's/\<kd\>/bd/g' Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/common/ui-system.h')
-rw-r--r--ui/common/ui-system.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/common/ui-system.h b/ui/common/ui-system.h
index b75c4d1..82f630e 100644
--- a/ui/common/ui-system.h
+++ b/ui/common/ui-system.h
@@ -27,13 +27,13 @@
#include <signal.h>
-struct pb_kexec_data {
+struct pb_boot_data {
char *image;
char *initrd;
char *args;
};
-int pb_run_kexec(const struct pb_kexec_data *kd, int dry_run);
+int pb_run_kexec(const struct pb_boot_data *bd, int dry_run);
int pb_start_daemon(void);
unsigned int pb_elf_hash(const char *str);
@@ -47,7 +47,7 @@ static inline uint32_t pb_opt_hash(const struct device *dev,
struct pb_opt_data {
const char *name;
- struct pb_kexec_data *kd;
+ struct pb_boot_data *bd;
/* optional data */
const struct device *dev;
OpenPOWER on IntegriCloud