UAPI: (Scripted) Disintegrate arch/arm64/include/asm
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm64 / include / asm / unistd.h
index 9a981b2663c44b54b60a7f192ba887007b69ca21..63f853f8b718026a69342ce8bb46ff6fd948066e 100644 (file)
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-
-#include <asm-generic/unistd.h>
-
-#ifdef __KERNEL__
 #ifdef CONFIG_COMPAT
 #define __ARCH_WANT_COMPAT_IPC_PARSE_VERSION
 #define __ARCH_WANT_COMPAT_STAT64
@@ -30,4 +26,4 @@
 #define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND
 #define __ARCH_WANT_COMPAT_SYS_SENDFILE
 #endif
-#endif
+#include <uapi/asm/unistd.h>