linux-stable/drivers/mtd/ubi
Adrian Hunter 69423d99fc [MTD] update internal API to support 64-bit device size
MTD internal API presently uses 32-bit values to represent
device size.  This patch updates them to 64-bits but leaves
the external API unchanged.  Extending the external API
is a separate issue for several reasons.  First, no one
needs it at the moment.  Secondly, whether the implementation
is done with IOCTLs, sysfs or both is still debated.  Thirdly
external API changes require the internal API to be accepted
first.

Note that although the MTD API will be able to support 64-bit
device sizes, existing drivers do not and are not required
to do so, although NAND base has been updated.

In general, changing from 32-bit to 64-bit values cause little
or no changes to the majority of the code with the following
exceptions:
    	- printk message formats
    	- division and modulus of 64-bit values
    	- NAND base support
	- 32-bit local variables used by mtdpart and mtdconcat
	- naughtily assuming one structure maps to another
	in MEMERASE ioctl

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2008-12-10 13:37:21 +00:00
..
build.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
cdev.c UBI: remove BKL 2008-09-05 16:29:36 +03:00
debug.c UBI: remove pre-sqnum images support 2008-07-24 13:36:09 +03:00
debug.h UBI: fix and re-work debugging stuff 2008-07-24 13:34:45 +03:00
eba.c UBI: fix EBADMSG handling 2008-11-06 11:13:02 +02:00
gluebi.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
io.c UBI: fix kernel-doc errors and warnings 2008-07-24 13:36:09 +03:00
kapi.c UBI: fix and re-work debugging stuff 2008-07-24 13:34:45 +03:00
Kconfig UBI: improve Kconfig documentation 2008-04-17 11:32:00 +03:00
Kconfig.debug UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
Makefile UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
misc.c UBI: avoid unnecessary division operations 2008-07-24 13:32:54 +03:00
scan.c UBI: fix EBADMSG handling 2008-11-06 11:13:02 +02:00
scan.h UBI: remove pre-sqnum images support 2008-07-24 13:36:09 +03:00
ubi-media.h UBI: remove pre-sqnum images support 2008-07-24 13:36:09 +03:00
ubi.h UBI: fix kernel-doc errors and warnings 2008-07-24 13:36:09 +03:00
upd.c UBI: fix kernel-doc errors and warnings 2008-07-24 13:36:09 +03:00
vmt.c UBI: fix gcc warning 2008-07-24 13:36:10 +03:00
vtbl.c UBI: print reserved_peb when it is too large 2008-10-09 16:19:04 +03:00
wl.c UBI: Don't exit from ubi_thread until kthread_should_stop() is true 2008-11-06 11:13:04 +02:00