summaryrefslogtreecommitdiffstats
path: root/simple/simple.c
Commit message (Collapse)AuthorAgeFilesLines
* ldd3: get rid of deprecated VM_RESERVED vma flagJavier Martinez Canillas2013-04-261-6/+0
| | | | | | | | | | | | | | commit 314e51b9 ("mm: kill vma flag VM_RESERVED and mm->reserved_vm counter") removed the VM_RESERVED vma flag since it lost original meaning. VM_RESERVED was used on many drivers' mmap function handler to avoid swap this memory area. The same semantic can be specified with VM_IO | VM_DONTDUMP flags but these are already set by remap_pfn_range() so they don't have to be set in drivers mmap function handlers. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* simple: use libfs simple_openJavier Martinez Canillas2013-02-041-8/+0
| | | | | | | libfs now has a simple_open handler functions that is a noop. So, is better to use this instead of a custom implementation. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* simple: Change to new page fault APIJavier Martinez Canillas2011-01-081-6/+5
|
* simple: Change NOPAGE_SIBUS to VM_FAULT_SIGBUSJavier Martinez Canillas2010-12-071-2/+2
|
* simple: Remove <linux/config.h> headerJavier Martinez Canillas2010-12-071-1/+0
|
* Linux Device Drivers 3 examplesJavier Martinez Canillas2010-11-271-0/+235