[driver-core:driver-core-testing 2/6] drivers/built-in.o:undefined reference to `process_srcu'

Paul E. McKenney paulmck at linux.vnet.ibm.com
Sun Oct 30 16:21:09 UTC 2016


On Sun, Oct 30, 2016 at 05:11:55PM +0100, Rafael J. Wysocki wrote:
> On Friday, October 28, 2016 02:44:12 AM Greg Kroah-Hartman wrote:
> > On Fri, Oct 28, 2016 at 05:48:34AM +0800, kbuild test robot wrote:
> > > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-testing
> > > head:   ae17f29d0bb84a43b6c5f3e9fac0b124960c53f7
> > > commit: eb6b1b0ba7aa8da0b67bba65764d1258f87b924e [2/6] driver core: Functional dependencies tracking support
> > > config: mips-allnoconfig (attached as .config)
> > > compiler: mips-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
> > > reproduce:
> > >         wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
> > >         chmod +x ~/bin/make.cross
> > >         git checkout eb6b1b0ba7aa8da0b67bba65764d1258f87b924e
> > >         # save the attached .config to linux build tree
> > >         make.cross ARCH=mips 
> > > 
> > > All errors (new ones prefixed by >>):
> > > 
> > >    drivers/built-in.o: In function `__device_link_del':
> > >    core.c:(.text+0x3ae4): undefined reference to `call_srcu'
> > >    drivers/built-in.o: In function `device_links_read_lock':
> > >    (.text+0x3f98): undefined reference to `__srcu_read_lock'
> > >    drivers/built-in.o: In function `device_links_read_unlock':
> > >    (.text+0x3fb4): undefined reference to `__srcu_read_unlock'
> > > >> drivers/built-in.o:(.data+0x3a8): undefined reference to `process_srcu'
> > 
> > Rafael, I've dropped your series from my tree now, with the exception of
> > patch 1.  Can you resend the remaining ones after fixing up this issue?
> 
> I'll do that shortly.
> 
> Some architectures don't select SRCU which I was not aware of and Paul is
> telling me that the "tiny kernel" people don't want it to be selected too
> much, so I've changed the code to fall back to using an rwsem for the
> synchronization if SRCU is not available.

Very good, thank you Rafael!!!

							Thanx, Paul



More information about the devel mailing list