]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[PATCH] ppc32 8xx: fix cpm_dpalloc() comment
authorMarcelo Tosatti <marcelo.tosatti@cyclades.com>
Wed, 2 Nov 2005 14:42:16 +0000 (12:42 -0200)
committerPaul Mackerras <paulus@samba.org>
Thu, 3 Nov 2005 05:57:13 +0000 (16:57 +1100)
Current comment on top of m8xx_cpm_dpinit is wrong.

Signed-off-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc/8xx_io/commproc.c

index b42789f8eb7633853016f7a9bd64130bc6b1bf1a..579cd40258b97750d61413246af840bc75c4ad6b 100644 (file)
@@ -388,9 +388,8 @@ void m8xx_cpm_dpinit(void)
 
 /*
  * Allocate the requested size worth of DP memory.
- * This function used to return an index into the DPRAM area.
- * Now it returns the actuall physical address of that area.
- * use m8xx_cpm_dpram_offset() to get the index
+ * This function returns an offset into the DPRAM area.
+ * Use cpm_dpram_addr() to get the virtual address of the area.
  */
 uint cpm_dpalloc(uint size, uint align)
 {