undefined reference to `__put_user_bad' in `mtdblock_ioctl', arch=ARM

David Woodhouse dwmw2 at infradead.org
Wed Sep 26 14:00:34 EDT 2001

ldoolitt at recycle.lbl.gov said:
> It appears as if mtdblock_ioctl() in drivers/mtd/mtdblock.c, faced
> with the case BLKGETSIZE64, does a put_user() of a 64-bit number.
> Eight-byte put_user()'s are not supported on ARM or x86.
>     (ref: include/asm-{arm,i386}/uaccess.h, macro __put_user_size)

> Whazzup?

We don't have 64-bit put_user support for ARM yet. Comment out the
BLKGETSIZE64 case for now.


More information about the linux-mtd mailing list