Skip to contentSkip to conversation

ppc32 8xx: fix cpm_dpalloc() comment

PATCH New Marcelo Tosatti 1 participant 1 message Nov 2, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc32 8xx: fix cpm_dpalloc() comment

Current comment on top of m8xx_cpm_dpinit is wrong.

arch/ppc/8xx_io/commproc.c +2 -3
index 18fa51c..4306deb 100644
@@ -390,9 +390,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)
 {