summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@stericsson.com>2011-10-11 16:03:19 +0200
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:03:42 +0200
commit80bd40bf1f8810d678c834f23d4eb20452c70f0f (patch)
treee39bf777d89793584381fa91545b6896d8058614 /include
parentf0967f15f338138aedf2a820d628441fb05c2539 (diff)
HWMEM: Make user space include linux/types.h
__x32 are defined in linux/types.h which is therefore needed in user space also. This patch also adds the uncached flag when allocating the FB to ensure we don't get a cached FB. Depends-On: I9a45ad54a0cc8a5cdb1e3b9038ad50aeacb3f9c3 ST-Ericsson ID: AP 327001 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10068 Change-Id: I3df94e161be96dd2f55928daab3eb20837b92c1d Signed-off-by: Johan Mossberg <johan.xx.mossberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18551 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/hwmem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/hwmem.h b/include/linux/hwmem.h
index 6756085f72a..a2eb91d9d9a 100644
--- a/include/linux/hwmem.h
+++ b/include/linux/hwmem.h
@@ -12,11 +12,11 @@
#ifndef _HWMEM_H_
#define _HWMEM_H_
+#include <linux/types.h>
+
#if !defined(__KERNEL__) && !defined(_KERNEL)
-#include <stdint.h>
#include <sys/types.h>
#else
-#include <linux/types.h>
#include <linux/mm_types.h>
#endif