projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
448baf8
)
VPU: fix the code cannot be built in 32bits environment.
author
Alpha Lin
<alpha.lin@rock-chips.com>
Tue, 9 Jun 2015 02:58:57 +0000
(10:58 +0800)
committer
Alpha Lin
<alpha.lin@rock-chips.com>
Tue, 9 Jun 2015 05:44:33 +0000
(13:44 +0800)
compat_uptr_t isn't define under 32bits environment, using
this definition under the CONFIG_COMPAT macro.
Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
arch/arm/mach-rockchip/vcodec_service.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rockchip/vcodec_service.c
b/arch/arm/mach-rockchip/vcodec_service.c
index b9f93242aa7fdf1a25797a122531fbfe6b3dd441..967c3d158d3b6b691be19240642388954396e3f8 100755
(executable)
--- a/
arch/arm/mach-rockchip/vcodec_service.c
+++ b/
arch/arm/mach-rockchip/vcodec_service.c
@@
-540,10
+540,12
@@
struct vpu_request {
u32 size;
};
+#ifdef CONFIG_COMPAT
struct compat_vpu_request {
compat_uptr_t req;
u32 size;
};
+#endif
/* debugfs root directory for all device (vpu, hevc).*/
static struct dentry *parent;