浏览代码

powerpc/cell: Fix the prototype of create_vma_map()

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Stephen Rothwell 16 年之前
父节点
当前提交
9b635642bc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/powerpc/oprofile/cell/pr_util.h

+ 1 - 1
arch/powerpc/oprofile/cell/pr_util.h

@@ -79,7 +79,7 @@ struct spu_buffer {
  * the vma-to-fileoffset map.
  * the vma-to-fileoffset map.
  */
  */
 struct vma_to_fileoffset_map *create_vma_map(const struct spu *spu,
 struct vma_to_fileoffset_map *create_vma_map(const struct spu *spu,
-					     u64 objectid);
+					     unsigned long objectid);
 unsigned int vma_map_lookup(struct vma_to_fileoffset_map *map,
 unsigned int vma_map_lookup(struct vma_to_fileoffset_map *map,
 			    unsigned int vma, const struct spu *aSpu,
 			    unsigned int vma, const struct spu *aSpu,
 			    int *grd_val);
 			    int *grd_val);