diff options
author | Marcelo Tosatti <marcelo.tosatti@cyclades.com> | 2005-11-02 14:42:16 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-03 05:57:13 (GMT) |
commit | 3d9e9dc49d9e6d10ad4a2f4ababc899fc527584c (patch) | |
tree | de69ad5cc9d69f0b6f48ee00706b201f56a9d0d0 /arch | |
parent | 38dc16186433ba961ace39c97ac6f7071250f981 (diff) | |
download | linux-3d9e9dc49d9e6d10ad4a2f4ababc899fc527584c.tar.xz |
[PATCH] ppc32 8xx: fix cpm_dpalloc() comment
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ppc/8xx_io/commproc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/ppc/8xx_io/commproc.c b/arch/ppc/8xx_io/commproc.c index b42789f..579cd40 100644 --- a/arch/ppc/8xx_io/commproc.c +++ b/arch/ppc/8xx_io/commproc.c @@ -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) { |