Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=190a4408ecb577391ea5fbd1f90148a6992a5756
Commit:     190a4408ecb577391ea5fbd1f90148a6992a5756
Parent:     e5c465f5d957ab581bc79d3ce981281fe73021a3
Author:     Jean-Christophe Dubois <[EMAIL PROTECTED]>
AuthorDate: Wed Mar 28 11:07:41 2007 +0100
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Thu Mar 29 09:49:23 2007 +1000

    [POWERPC] Fix dcr_unmap()
    
    Fix a bug in dcr_unmap().
    
    At unmap time the DCR offset need to be added instead of substracted.
    
    Signed-off-by: Jean-Christophe Dubois <[EMAIL PROTECTED]>
    Acked-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/powerpc/sysdev/dcr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/sysdev/dcr.c b/arch/powerpc/sysdev/dcr.c
index dffeeae..1fc5819 100644
--- a/arch/powerpc/sysdev/dcr.c
+++ b/arch/powerpc/sysdev/dcr.c
@@ -129,7 +129,7 @@ void dcr_unmap(dcr_host_t host, unsigned int dcr_n, 
unsigned int dcr_c)
 
        if (h.token == NULL)
                return;
-       h.token -= dcr_n * h.stride;
+       h.token += dcr_n * h.stride;
        iounmap(h.token);
        h.token = NULL;
 }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to