#!/bin/bash


( cd usr/src/linux-4.4.111/tools/testing/selftests/powerpc/stringloops ; rm -rf memcmp_64.S )
( cd usr/src/linux-4.4.111/tools/testing/selftests/powerpc/stringloops ; ln -sf ../../../../../arch/powerpc/lib/memcmp_64.S memcmp_64.S )
( cd usr/src/linux-4.4.111/tools/testing/selftests/powerpc/primitives ; rm -rf word-at-a-time.h )
( cd usr/src/linux-4.4.111/tools/testing/selftests/powerpc/primitives ; ln -sf ../../../../../arch/powerpc/include/asm/word-at-a-time.h word-at-a-time.h )
( cd usr/src/linux-4.4.111/tools/testing/selftests/powerpc/primitives/asm ; rm -rf asm-compat.h )
( cd usr/src/linux-4.4.111/tools/testing/selftests/powerpc/primitives/asm ; ln -sf ../.././../../../../arch/powerpc/include/asm/asm-compat.h asm-compat.h )
( cd usr/src/linux-4.4.111/tools/testing/selftests/powerpc/vphn ; rm -rf vphn.c )
( cd usr/src/linux-4.4.111/tools/testing/selftests/powerpc/vphn ; ln -sf ../../../../../arch/powerpc/mm/vphn.c vphn.c )
( cd usr/src/linux-4.4.111/tools/testing/selftests/powerpc/vphn ; rm -rf vphn.h )
( cd usr/src/linux-4.4.111/tools/testing/selftests/powerpc/vphn ; ln -sf ../../../../../arch/powerpc/mm/vphn.h vphn.h )
( cd usr/src/linux-4.4.111/tools/testing/selftests/powerpc/copyloops ; rm -rf memcpy_power7.S )
( cd usr/src/linux-4.4.111/tools/testing/selftests/powerpc/copyloops ; ln -sf ../../../../../arch/powerpc/lib/memcpy_power7.S memcpy_power7.S )
( cd usr/src/linux-4.4.111/tools/testing/selftests/powerpc/copyloops ; rm -rf copyuser_power7.S )
( cd usr/src/linux-4.4.111/tools/testing/selftests/powerpc/copyloops ; ln -sf ../../../../../arch/powerpc/lib/copyuser_power7.S copyuser_power7.S )
( cd usr/src/linux-4.4.111/tools/testing/selftests/powerpc/copyloops ; rm -rf memcpy_64.S )
( cd usr/src/linux-4.4.111/tools/testing/selftests/powerpc/copyloops ; ln -sf ../../../../../arch/powerpc/lib/memcpy_64.S memcpy_64.S )
( cd usr/src/linux-4.4.111/tools/testing/selftests/powerpc/copyloops ; rm -rf copyuser_64.S )
( cd usr/src/linux-4.4.111/tools/testing/selftests/powerpc/copyloops ; ln -sf ../../../../../arch/powerpc/lib/copyuser_64.S copyuser_64.S )
( cd usr/src/linux-4.4.111/arch/arm64/boot/dts/arm ; rm -rf vexpress-v2m-rs1.dtsi )
( cd usr/src/linux-4.4.111/arch/arm64/boot/dts/arm ; ln -sf ../../../../arm/boot/dts/vexpress-v2m-rs1.dtsi vexpress-v2m-rs1.dtsi )
( cd usr/src/linux-4.4.111/arch/arm64/boot/dts/include ; rm -rf dt-bindings )
( cd usr/src/linux-4.4.111/arch/arm64/boot/dts/include ; ln -sf ../../../../../include/dt-bindings dt-bindings )
( cd usr/src/linux-4.4.111/arch/metag/boot/dts/include ; rm -rf dt-bindings )
( cd usr/src/linux-4.4.111/arch/metag/boot/dts/include ; ln -sf ../../../../../include/dt-bindings dt-bindings )
( cd usr/src/linux-4.4.111/arch/x86_64/boot ; rm -rf bzImage )
( cd usr/src/linux-4.4.111/arch/x86_64/boot ; ln -sf ../../x86/boot/bzImage bzImage )
( cd usr/src/linux-4.4.111/arch/arm/boot/dts ; rm -rf sun8i-a23-ippo-q8h-v5.dts )
( cd usr/src/linux-4.4.111/arch/arm/boot/dts ; ln -sf sun8i-a23-q8-tablet.dts sun8i-a23-ippo-q8h-v5.dts )
( cd usr/src/linux-4.4.111/arch/arm/boot/dts ; rm -rf sun8i-a23-ippo-q8h-v1.2.dts )
( cd usr/src/linux-4.4.111/arch/arm/boot/dts ; ln -sf sun8i-a23-q8-tablet.dts sun8i-a23-ippo-q8h-v1.2.dts )
( cd usr/src/linux-4.4.111/arch/arm/boot/dts ; rm -rf sun8i-a33-ippo-q8h-v1.2.dts )
( cd usr/src/linux-4.4.111/arch/arm/boot/dts ; ln -sf sun8i-a33-q8-tablet.dts sun8i-a33-ippo-q8h-v1.2.dts )
( cd usr/src/linux-4.4.111/arch/arm/boot/dts/include ; rm -rf dt-bindings )
( cd usr/src/linux-4.4.111/arch/arm/boot/dts/include ; ln -sf ../../../../../include/dt-bindings dt-bindings )
( cd usr/src/linux-4.4.111/arch/arm/boot/dts ; rm -rf sun8i-a33-et-q8-v1.6.dts )
( cd usr/src/linux-4.4.111/arch/arm/boot/dts ; ln -sf sun8i-a33-q8-tablet.dts sun8i-a33-et-q8-v1.6.dts )
( cd usr/src/linux-4.4.111/arch/cris/boot/dts/include ; rm -rf dt-bindings )
( cd usr/src/linux-4.4.111/arch/cris/boot/dts/include ; ln -sf ../../../../../include/dt-bindings dt-bindings )
( cd usr/src/linux-4.4.111/arch/powerpc/boot/dts/include ; rm -rf dt-bindings )
( cd usr/src/linux-4.4.111/arch/powerpc/boot/dts/include ; ln -sf ../../../../../include/dt-bindings dt-bindings )
( cd usr/src/linux-4.4.111/arch/mips/boot/dts/include ; rm -rf dt-bindings )
( cd usr/src/linux-4.4.111/arch/mips/boot/dts/include ; ln -sf ../../../../../include/dt-bindings dt-bindings )
( cd usr/src/linux-4.4.111/include/dt-bindings/input ; rm -rf linux-event-codes.h )
( cd usr/src/linux-4.4.111/include/dt-bindings/input ; ln -sf ../../uapi/linux/input-event-codes.h linux-event-codes.h )
( cd usr/src ; rm -rf linux )
( cd usr/src ; ln -sf linux-4.4.111 linux )
( cd usr/src/build-4.4.111/patches/aufs4-standalone ; rm -rf README )
( cd usr/src/build-4.4.111/patches/aufs4-standalone ; ln -sf ./Documentation/filesystems/aufs/README README )
