Re: [PATCH] include/asm-generic/io.h: add dummy fuctions to support 'COMPILE_TEST' in 'asm-generic'.
From: Greg KH <gregkh@linuxfoundation.org>
Date: 2013-07-04 06:11:15
Also in:
linux-um, lkml
From: Greg KH <gregkh@linuxfoundation.org>
Date: 2013-07-04 06:11:15
Also in:
linux-um, lkml
On Thu, Jul 04, 2013 at 12:50:31PM +0800, Chen Gang wrote:
On 07/04/2013 12:08 PM, Greg KH wrote:quoted
quoted
quoted
config COMPILE_TEST bool "Compile also drivers which will not load" default nThis has _nothing_ to do with asm-generic, sorry. Please don't confuse the issue.But when I choose allmodconfig, then "COMPILE_TEST=y". this may allow a module to compile under the architectures which no related HW support. When cause compiling issue (HW not support), it is not module's issue, we can not 'fix' module by force, and it is not architecture's issue, either. So we have to look for who has duty for this issue. At least now, it seems only 'asm-generic' can be qualified to play this unlucky role.
You seem to not understand what asm-generic is, or does, or I still do not understand what you are proposing. Please send a patch showing what you are trying to do here, so that we can properly understand. greg k-h