Revert "Revert "Revert "[COMMON] media: fimc-is2: Implement 'fimc_is_kernel_neon_begi...
authorJeongtae Park <jtp.park@samsung.com>
Fri, 1 Jun 2018 00:22:49 +0000 (09:22 +0900)
committerEunyoung Lee <ey470.lee@samsung.com>
Tue, 19 Jun 2018 08:43:23 +0000 (17:43 +0900)
This reverts commit 4f180fec6449325996e0c355bc9d80c3d123dc32.

Change-Id: I832280b4dee4392e08da2015fa5d6da157c8ec63

drivers/media/platform/exynos/fimc-is2/include/fimc-is-fpsimd.h [deleted file]
drivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v6_0_0/fimc-is-hw-chain.c

diff --git a/drivers/media/platform/exynos/fimc-is2/include/fimc-is-fpsimd.h b/drivers/media/platform/exynos/fimc-is2/include/fimc-is-fpsimd.h
deleted file mode 100644 (file)
index 97b817d..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Samsung Exynos5 SoC series FIMC-IS driver
- *
- *
- * Copyright (c) 2018 Samsung Electronics Co., Ltd
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-
-#ifndef FIMC_IS_FPSIMD_H
-#define FIMC_IS_FPSIMD_H
-
-#include <asm/fpsimd.h>
-
-#ifdef CONFIG_KERNEL_MODE_NEON
-
-void fimc_is_kernel_neon_begin(void)
-{
-       fpsimd_save_state(&current->thread.fpsimd_state);
-}
-
-void fimc_is_kernel_neon_end(void)
-{
-       fpsimd_load_state(&current->thread.fpsimd_state);
-}
-
-#endif /* CONFIG_KERNEL_MODE_NEON */
-#endif
index f8e484d21624c66ca3d1ecea71cfbc0477cbb529..b77665d8730070d57efa61f7948010a5084f03d0 100644 (file)
@@ -32,7 +32,6 @@
 #include "fimc-is-device-sensor.h"
 #include "fimc-is-device-csi.h"
 #include "fimc-is-device-ischain.h"
-#include "fimc-is-fpsimd.h"
 
 #include "../../interface/fimc-is-interface-ischain.h"
 #include "../../hardware/fimc-is-hw-control.h"
@@ -355,12 +354,12 @@ void __iomem *reg_cip2_clk;
 
 void fimc_is_enter_lib_isr(void)
 {
-       fimc_is_kernel_neon_begin();
+       kernel_neon_begin();
 }
 
 void fimc_is_exit_lib_isr(void)
 {
-       fimc_is_kernel_neon_end();
+       kernel_neon_end();
 }
 
 void fimc_is_hw_group_init(struct fimc_is_group *group)