2014-09-25 11:46:06 +00:00
|
|
|
From f4700ecb071a3510803e6c68a012d17ea011ada4 Mon Sep 17 00:00:00 2001
|
2013-09-15 11:58:52 +00:00
|
|
|
From: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
|
2014-09-25 11:46:06 +00:00
|
|
|
Date: Thu, 25 Sep 2014 16:33:07 +0530
|
|
|
|
Subject: [PATCH 5/5] Update PRRN location
|
2013-09-15 11:58:52 +00:00
|
|
|
|
|
|
|
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
|
|
|
|
---
|
|
|
|
rtas_errd/Makefile | 4 ++--
|
|
|
|
rtas_errd/prrn.c | 2 +-
|
|
|
|
2 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/rtas_errd/Makefile b/rtas_errd/Makefile
|
2014-09-25 11:46:06 +00:00
|
|
|
index 021fa65..ab1223c 100644
|
2013-09-15 11:58:52 +00:00
|
|
|
--- a/rtas_errd/Makefile
|
|
|
|
+++ b/rtas_errd/Makefile
|
|
|
|
@@ -38,12 +38,12 @@ extract_platdump: $(EXTRACT_PLATDUMP_OBJS)
|
|
|
|
install: all
|
|
|
|
@$(call install_sbin,$(CMDS),$(DESTDIR))
|
|
|
|
@$(call install_files,$(SCRIPTS),744,$(DESTDIR)/etc)
|
|
|
|
- @$(call install_files,$(PRRN_HOTPLUG),744,$(DESTDIR)/etc/ppc64-diag)
|
|
|
|
+ @$(call install_files,$(PRRN_HOTPLUG),744,$(DESTDIR)/usr/libexec/ppc64-diag)
|
|
|
|
|
|
|
|
uninstall:
|
|
|
|
@$(call uninstall_sbin,$(CMDS),$(DESTDIR))
|
|
|
|
@$(call uninstall_files,$(SCRIPTS),$(DESTDIR)/etc)
|
|
|
|
- @$(call uninstall_files,$(PRRN_HOTPLUG),$(DESTDIR)/etc/ppc64-diag)
|
|
|
|
+ @$(call uninstall_files,$(PRRN_HOTPLUG),$(DESTDIR)/usr/libexec/ppc64-diag)
|
|
|
|
|
|
|
|
doc: $(DOXYGEN_CFG)
|
|
|
|
@echo "Creating doxygen docs..."
|
|
|
|
diff --git a/rtas_errd/prrn.c b/rtas_errd/prrn.c
|
2014-09-25 11:46:06 +00:00
|
|
|
index 7a791cb..222e6e5 100644
|
2013-09-15 11:58:52 +00:00
|
|
|
--- a/rtas_errd/prrn.c
|
|
|
|
+++ b/rtas_errd/prrn.c
|
2014-09-25 11:46:06 +00:00
|
|
|
@@ -40,7 +40,7 @@ static int prrn_log_fd = -1;
|
2013-09-15 11:58:52 +00:00
|
|
|
|
|
|
|
#define OFDT_BASE "/proc/device-tree"
|
|
|
|
#define OFDTPATH "/proc/ppc64/ofdt"
|
|
|
|
-#define PRRN_HOTPLUG "/etc/ppc64-diag/prrn_hotplug"
|
|
|
|
+#define PRRN_HOTPLUG "/usr/libexec/ppc64-diag/prrn_hotplug"
|
|
|
|
#define DRCONF_PATH "/proc/device-tree/ibm,dynamic-reconfiguration-memory/ibm,dynamic-memory"
|
|
|
|
|
|
|
|
static int write_prrn_log(const char *buf, int len)
|
|
|
|
--
|
2014-09-25 11:46:06 +00:00
|
|
|
1.8.3.1
|
2013-09-15 11:58:52 +00:00
|
|
|
|