lkml.org 
[lkml]   [2014]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] M32Rz: FIXME add textlen in function m32r_flat_get_addr_from_rp
Date
This patch adds textlen in this function for case FLAT_M32R_LO16_DATA
in the return statement verus subtracting it in order to fix this
FIXME message.

Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
---
arch/m32r/include/asm/flat.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/m32r/include/asm/flat.h b/arch/m32r/include/asm/flat.h
index 5d711c4..8f0141f 100644
--- a/arch/m32r/include/asm/flat.h
+++ b/arch/m32r/include/asm/flat.h
@@ -83,8 +83,6 @@ static inline unsigned long m32r_flat_get_addr_from_rp (unsigned long *rp,
case FLAT_M32R_LO16:
return htonl(*rp) & 0xFFFF;
case FLAT_M32R_LO16_DATA:
- /* FIXME: The return value will decrease by textlen
- at m32r_flat_put_addr_at_rp () */
textlen_for_m32r_lo16_data = textlen;
return (htonl(*rp) & 0xFFFF) + textlen;
case FLAT_M32R_16:
--
1.9.1


\
 
 \ /
  Last update: 2014-07-03 04:41    [W:0.040 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site