From 1a1c5b8a527c43f72eb5a3d4b04cd232fd5f0802 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 19 Sep 2008 16:03:33 -0400 Subject: [PATCH] Delete unused parts of .altinstr_replacement sections. Signed-off-by: Anders Kaseorg --- kmodsrc/offsets.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kmodsrc/offsets.c b/kmodsrc/offsets.c index 8a09929..4eff576 100644 --- a/kmodsrc/offsets.c +++ b/kmodsrc/offsets.c @@ -20,6 +20,8 @@ const struct table_section table_sections[] .entry_size = sizeof(struct alt_instr), .entry_align = __alignof__(struct alt_instr), .addr_offset = offsetof(struct alt_instr, instr), + .other_sect = ".altinstr_replacement", + .other_offset = offsetof(struct alt_instr, replacement), }, #endif /* CONFIG_X86 */ { -- 2.11.4.GIT