From 1bbe5b099d6c837a5a4ce2b31caa9e019a9c8f34 Mon Sep 17 00:00:00 2001 From: Rebecca Schultz Date: Thu, 24 Jul 2008 11:22:53 -0700 Subject: pmem: Add pmem driver Signed-off-by: Rebecca Schultz pmem: Use the thread group leader insted of the current thread. Instead of keeping track of the current thread, use the thread group leader Signed-off-by: Rebecca Schultz pmem: Add some apis to reference and flush pmem files by file struct The api to refer to pmem files by fd should be depricated, it can cause problems if a processes fd table changes while the kernel is processing data in a pmem file. This change adds the safer api. Signed-off-by: Rebecca Schultz Zavin pmem: Remove unused depricated fd api to pmem. Signed-off-by: Rebecca Schultz Zavin pmem: Remove error message when calling get_pmem_addr This call is used from the mdp driver to determine if the memory is in pmem or in the fb. We will encounter this case during normal operation so this error message should be removed. Signed-off-by: Rebecca Schultz Zavin pmem: Add include sched.h to fix compile errors Signed-off-by: Rebecca Schultz Zavin pmem: remove HW3D_* ioctls Signed-off-by: Dima Zavin pmem: Expose is_pmem_file to the in-kernel users. Signed-off-by: Dima Zavin pmem: Make the exposed functions be noops if CONFIG_ANDROID_PMEM is not set. Signed-off-by: Dima Zavin misc: pmem: don't flush if file was opened with O_SYNC Change-Id: I067218658a0d7f7ecc1fe73e9ff6b0c3b3054653 Signed-off-by: Dima Zavin --- drivers/misc/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/misc/Makefile') diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile index 42eab95cde2a..b9482e961db8 100644 --- a/drivers/misc/Makefile +++ b/drivers/misc/Makefile @@ -16,6 +16,7 @@ obj-$(CONFIG_TIFM_CORE) += tifm_core.o obj-$(CONFIG_TIFM_7XX1) += tifm_7xx1.o obj-$(CONFIG_PHANTOM) += phantom.o obj-$(CONFIG_SENSORS_BH1780) += bh1780gli.o +obj-$(CONFIG_ANDROID_PMEM) += pmem.o obj-$(CONFIG_SGI_IOC4) += ioc4.o obj-$(CONFIG_ENCLOSURE_SERVICES) += enclosure.o obj-$(CONFIG_KGDB_TESTS) += kgdbts.o -- cgit v1.2.3