UIO: Add alignment warnings for uio-mem
authorHans J. Koch <hjk@linutronix.de>
Thu, 18 Sep 2008 21:53:18 +0000 (23:53 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Oct 2008 16:24:53 +0000 (09:24 -0700)
commite2b39df119712ea5184562a6a14696a5cea8ef18
treeb855a7b4e8893df122c96c69976d37a1a563492e
parent99178b036c97293a65004ff5ec5cff9f833aaecd
UIO: Add alignment warnings for uio-mem

This patch adds an "offset" attribute for UIO mappings. It shows the
difference between the actual start address of the memory and the start
address of the page.

Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/uio/uio.c