Re: [s390x][3.4-stable] compiling error: implicit declaration of function ‘io_remap_pfn_range’

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 24, 2013 at 05:57:52AM +0100, Ben Hutchings wrote:
> On Wed, 2013-07-24 at 00:36 -0400, Zhouping Liu wrote:
> > Hi all,
> > 
> > I hit the following compiling error on latest stable tree with linux-3.4.y branch on s390x machine:
> > 
> > ---------------- snip ---------------
> >   CHK     include/linux/version.h
> >   CHK     include/generated/utsrelease.h
> >   CALL    scripts/checksyscalls.sh
> >   CHK     include/generated/compile.h
> >   CC      mm/memory.o
> > mm/memory.c: In function ‘vm_iomap_memory’:
> > mm/memory.c:2375:2: error: implicit declaration of function ‘io_remap_pfn_range’ [-Werror=implicit-function-declaration]
> >   return io_remap_pfn_range(vma, vma->vm_start, pfn, vm_len, vma->vm_page_prot);
> >   ^
> > cc1: some warnings being treated as errors
> > make[1]: *** [mm/memory.o] Error 1
> > make: *** [mm] Error 2
> > 
> > I checked codes, and find the function 'io_remap_pfn_range' in s390x was introduced by commit cd24834130a since 3.8-rc1,
> > but it didn't be backported to 3.4-stable yet, how to deal with this? 
> 
> This is what I used in 3.2; it might work for 3.4 as well.

<snip>

Zhouping, can you test this patch from Ben and let me know if it solves
the problem for you or not?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]