Skip to contentSkip to conversation

ia64: fix comment bug of ia64_plt_template

PATCH Superseded Toshiyuki Okajima 1 participant 1 message Nov 19, 2010

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ia64: fix comment bug of ia64_plt_template

From: Toshiyuki Okajima <[email protected]>

This is a patch which fixes a comment bug in arch/ia64/kernel/module.c:

217 static const struct plt_entry ia64_plt_template = {
218 {
219 {

 220                         0x04, 0x00, 0x00, 0x00, 0x01, 0x00, /* [MLX] nop.m 0 */
 221                         0x00, 0x00, 0x00, 0x00, 0x00, 0x20, /*       movl gp=TARGET_GP */
 222                         0x00, 0x00, 0x00, 0x60
 223                 },
 224                 {
 225                         0x05, 0x00, 0x00, 0x00, 0x01, 0x00, /* [MLX] nop.m 0 */
 226                         0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* brl.many gp=TARGET_GP */
                                                                             ^^^^^^^^^^^^

227 0x08, 0x00, 0x00, 0xc0
228 }
229 }
230 };

The correct comment is:
/* brl.many gp=TARGET_GP */ => /* brl.many TARGET_IP */

---
 arch/ia64/kernel/module.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/ia64/kernel/module.c +1 -1
index 1481b0a..de62501 100644
@@ -223,7 +223,7 @@ static const struct plt_entry ia64_plt_template = {
 		},
 		{
 			0x05, 0x00, 0x00, 0x00, 0x01, 0x00, /* [MLX] nop.m 0 */
-			0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /*	     brl.many gp=TARGET_GP */
+			0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /*	     brl.many TARGET_IP */
 			0x08, 0x00, 0x00, 0xc0
 		}
 	}
Signature · 1 line
1.5.5.6