[PATCH] Disable /dev/port interface on powerpc systems

Michael Ellerman michael at ellerman.id.au
Fri Jun 8 12:00:42 EST 2012


On Sat, 2012-03-24 at 01:23 -0700, Haren Myneni wrote:
> Ben, Here it is the updated patch based on your suggestions. Please let
> me know if it has any issues.
> 

This breaks the i386 defconfig build with:

drivers/char/mem.c:903:3: error: implicit declaration of function
'arch_has_dev_port' [-Werror=implicit-function-declaration]


I think because that file includes <asm/io.h> directly, not via
include/linux/io.h, so your stub is never seen.

cheers





More information about the Linuxppc-dev mailing list