aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos
diff options
context:
space:
mode:
authorEspen Fjellvær Olsen <espen@mrfjo.org>2013-01-08 20:54:02 +0100
committerEspen Fjellvær Olsen <espen@mrfjo.org>2013-01-09 18:01:21 +0100
commit5528b5d5c43f0c38903db0e672581ec4176ae523 (patch)
tree60dcbd69fced4f5bb21d41b4780560503d1f29d2 /arch/arm/mach-exynos
parent3698988b7d3542ae549ef3ab93173840d9137f2e (diff)
downloadkernel_samsung_smdk4412-5528b5d5c43f0c38903db0e672581ec4176ae523.zip
kernel_samsung_smdk4412-5528b5d5c43f0c38903db0e672581ec4176ae523.tar.gz
kernel_samsung_smdk4412-5528b5d5c43f0c38903db0e672581ec4176ae523.tar.bz2
Revert "exynos-mem: Fix major security hole"
This reverts commit 9c1d0f487d28417858778d094f2eb98eb47ea2f7.
Diffstat (limited to 'arch/arm/mach-exynos')
-rw-r--r--arch/arm/mach-exynos/mach-midas.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-exynos/mach-midas.c b/arch/arm/mach-exynos/mach-midas.c
index ddc2d14..fc6c224 100644
--- a/arch/arm/mach-exynos/mach-midas.c
+++ b/arch/arm/mach-exynos/mach-midas.c
@@ -58,7 +58,6 @@
#ifdef CONFIG_DMA_CMA
#include <linux/dma-contiguous.h>
-#include <linux/exynos_mem.h>
#endif
#include <asm/mach/arch.h>
@@ -3424,14 +3423,11 @@ static void __init exynos4_reserve(void)
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC1 * SZ_1K, 0x65800000, 0);
if (ret != 0)
panic("alloc failed for FIMC1\n");
- cma_region_descriptor_add(s3c_device_fimc1.name, 0x65800000,
- CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC1 * SZ_1K);
#endif
#if defined(CONFIG_USE_MFC_CMA) && defined(CONFIG_MACH_M0)
ret = dma_declare_contiguous(&s5p_device_mfc.dev,
0x02800000, 0x5C800000, 0);
- cma_region_descriptor_add(s5p_device_mfc.name, 0x5C800000, 0x02800000);
#endif
if (ret != 0)
printk(KERN_ERR "%s Fail\n", __func__);