linux/drivers
Andrew G. Harvey 02683ffdf6 UIO: Fix mapping of logical and virtual memory
mmap() doesn't work as expected for UIO_MEM_LOGICAL or UIO_MEM_VIRTUAL
mappings. The offset into the memory needs to be added, otherwise
uio_vma_fault always returns the first page only. Note that for UIO
userspace calls mmap() with offset = N * getpagesize() to access
mapping N. This must be compensated when calculating the offset. A
comment was added to explain this since it is not obvious.

Signed-off-by: Andrew G. Harvey <agh@cisco.com>
Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-10-16 09:24:54 -07:00
..
accessibility braille_console: only register notifiers when the braille console is used 2008-10-02 15:53:13 -07:00
acpi rtc-cmos: move wake setup from ACPI glue into RTC driver 2008-10-14 16:08:21 -07:00
amba
ata Merge commit 'origin' 2008-10-15 11:31:54 +11:00
atm Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-10-11 12:39:35 -07:00
auxdisplay
base Driver core: add bus_sort_breadthfirst() function 2008-10-16 09:24:52 -07:00
block device create: block: convert device_create_drvdata to device_create 2008-10-16 09:24:41 -07:00
bluetooth Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6 2008-10-13 14:12:40 -07:00
cdrom gdrom: change to use __blk_end_request() 2008-10-09 08:56:21 +02:00
char device create: char: convert device_create_drvdata to device_create 2008-10-16 09:24:42 -07:00
clocksource clocksource, acpi_pm.c: fix check for monotonicity 2008-09-11 11:14:29 +02:00
connector
cpufreq [CPUFREQ] Fix BUG: using smp_processor_id() in preemptible code 2008-10-09 13:52:44 -04:00
cpuidle
crypto crypto: talitos - Avoid consecutive packets going out with same IV 2008-09-14 13:41:19 -07:00
dca device create: misc: convert device_create_drvdata to device_create 2008-10-16 09:24:43 -07:00
dio
dma dw_dmac: fix copy/paste bug in tasklet 2008-10-03 18:22:18 -07:00
edac
eisa
firewire
firmware drivers/firmware/iscsi_ibft.c: make 3 functions static 2008-10-16 09:24:48 -07:00
gpio
gpu
hid device create: misc: convert device_create_drvdata to device_create 2008-10-16 09:24:43 -07:00
hwmon device create: misc: convert device_create_drvdata to device_create 2008-10-16 09:24:43 -07:00
i2c device create: misc: convert device_create_drvdata to device_create 2008-10-16 09:24:43 -07:00
ide device create: ide: convert device_create_drvdata to device_create 2008-10-16 09:24:45 -07:00
ieee1394 device create: ieee1394: convert device_create_drvdata to device_create 2008-10-16 09:24:42 -07:00
infiniband device create: infiniband: convert device_create_drvdata to device_create 2008-10-16 09:24:42 -07:00
input Merge commit 'origin' 2008-10-15 11:31:54 +11:00
isdn device create: misc: convert device_create_drvdata to device_create 2008-10-16 09:24:43 -07:00
leds device create: misc: convert device_create_drvdata to device_create 2008-10-16 09:24:43 -07:00
lguest
macintosh device create: misc: convert device_create_drvdata to device_create 2008-10-16 09:24:43 -07:00
mca
md raid, fastboot: hide RAID autodetect option if MD is compiled as a module 2008-10-12 08:25:14 -07:00
media device create: misc: convert device_create_drvdata to device_create 2008-10-16 09:24:43 -07:00
memstick memstick: change to use __blk_end_request() 2008-10-09 08:56:20 +02:00
message
mfd mfd: Fix warning in WM8350 2008-10-13 21:51:57 +01:00
misc device create: misc: convert device_create_drvdata to device_create 2008-10-16 09:24:43 -07:00
mmc Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-10-13 17:13:56 +01:00
mtd device create: misc: convert device_create_drvdata to device_create 2008-10-16 09:24:43 -07:00
net NET: convert the phy_device file to use bus_find_device_by_name 2008-10-16 09:24:52 -07:00
nubus
of Merge commit 'gcl/gcl-next' 2008-10-14 10:11:27 +11:00
oprofile Merge branch 'linus' into oprofile-v2 2008-10-13 11:05:51 +02:00
parisc
parport Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6 2008-10-13 14:12:40 -07:00
pci Driver core: add bus_sort_breadthfirst() function 2008-10-16 09:24:52 -07:00
pcmcia Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6 2008-10-13 14:12:40 -07:00
pnp PNP: create device attributes via default device attributes 2008-10-16 09:24:51 -07:00
power device create: misc: convert device_create_drvdata to device_create 2008-10-16 09:24:43 -07:00
ps3
rapidio
regulator da903x: add regulator support for DA9030/DA9034 2008-10-13 21:51:57 +01:00
rtc RTC: M48T35: new RTC driver 2008-10-15 12:46:51 +01:00
s390 device create: s390: convert device_create_drvdata to device_create 2008-10-16 09:24:44 -07:00
sbus
scsi device create: scsi: convert device_create_drvdata to device_create 2008-10-16 09:24:44 -07:00
serial Merge commit 'origin' 2008-10-15 11:31:54 +11:00
sh
sn
spi device create: misc: convert device_create_drvdata to device_create 2008-10-16 09:24:43 -07:00
ssb Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6 2008-10-13 14:12:40 -07:00
tc
telephony
thermal
uio UIO: Fix mapping of logical and virtual memory 2008-10-16 09:24:54 -07:00
usb usb: turn dev_warn+WARN_ON combos into dev_WARN 2008-10-16 09:24:50 -07:00
video device create: video: convert device_create_drvdata to device_create 2008-10-16 09:24:45 -07:00
virtio
w1
watchdog Merge git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog 2008-10-12 11:51:32 -07:00
xen xen: remove unused balloon.h 2008-10-03 10:04:10 +02:00
zorro
Kconfig
Makefile