aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohan Mossberg <johan.xx.mossberg@stericsson.com>2011-03-17 12:55:00 +0100
committerPhilippe Langlais <philippe.langlais@linaro.org>2011-07-22 15:42:29 +0200
commit69728bd4cf6d4b036f76c9f4d0b0acbedf54dbab (patch)
tree7ba129d42bef420a5b84b557f9f80c6723c1daab /include
parentab3c723f30a5b8eb2d06a11194bd822ec940bcdb (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