Skip to content

Commit

Permalink
[PATCH] ppc32 8xx: fix cpm_dpalloc() comment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marcelo Tosatti authored and Paul Mackerras committed Nov 3, 2005
1 parent 38dc161 commit 3d9e9dc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions arch/ppc/8xx_io/commproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 3d9e9dc

Please sign in to comment.