summarylogtreecommitdiffstats
path: root/0003-Disable-address-patch-in-x86.patch
diff options
context:
space:
mode:
Diffstat (limited to '0003-Disable-address-patch-in-x86.patch')
-rw-r--r--0003-Disable-address-patch-in-x86.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/0003-Disable-address-patch-in-x86.patch b/0003-Disable-address-patch-in-x86.patch
deleted file mode 100644
index 1e48a675915b..000000000000
--- a/0003-Disable-address-patch-in-x86.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- a/opal/mca/patcher/overwrite/patcher_overwrite_module.c
-+++ b/opal/mca/patcher/overwrite/patcher_overwrite_module.c
-@@ -312,30 +312,7 @@
-
- static int mca_patcher_overwrite_patch_address (uintptr_t sys_addr, uintptr_t hook_addr)
- {
-- mca_patcher_base_patch_t *patch;
-- int rc;
--
-- patch = OBJ_NEW(mca_patcher_base_patch_t);
-- if (OPAL_UNLIKELY(NULL == patch)) {
-- return OPAL_ERR_OUT_OF_RESOURCE;
-- }
--
-- patch->patch_orig = sys_addr;
-- patch->patch_value = hook_addr;
--
-- opal_mutex_lock (&mca_patcher_overwrite_module.patch_list_mutex);
-- do {
-- rc = mca_patcher_overwrite_apply_patch (patch);
-- if (OPAL_SUCCESS != rc) {
-- break;
-- }
--
-- opal_list_append (&mca_patcher_overwrite_module.patch_list, &patch->super);
-- } while (0);
--
-- opal_mutex_unlock (&mca_patcher_overwrite_module.patch_list_mutex);
--
-- return OPAL_SUCCESS;
-+ return OPAL_ERROR;
- }
-
- static int mca_patcher_overwrite_patch_symbol (const char *func_symbol_name, uintptr_t func_new_addr,