Skip to content
Snippets Groups Projects
Forked from drm / msm
Source project has a limited visibility.
  • Al Viro's avatar
    5f60d5f6
    move asm/unaligned.h to linux/unaligned.h · 5f60d5f6
    Al Viro authored
    asm/unaligned.h is always an include of asm-generic/unaligned.h;
    might as well move that thing to linux/unaligned.h and include
    that - there's nothing arch-specific in that header.
    
    auto-generated by the following:
    
    for i in `git grep -l -w asm/unaligned.h`; do
    	sed -i -e "s/asm\/unaligned.h/linux\/unaligned.h/" $i
    done
    for i in `git grep -l -w asm-generic/unaligned.h`; do
    	sed -i -e "s/asm-generic\/unaligned.h/linux\/unaligned.h/" $i
    done
    git mv include/asm-generic/unaligned.h include/linux/unaligned.h
    git mv tools/include/asm-generic/unaligned.h tools/include/linux/unaligned.h
    sed -i -e "/unaligned.h/d" include/asm-generic/Kbuild
    sed -i -e "s/__ASM_GENERIC/__LINUX/" include/linux/unaligned.h tools/include/linux/unaligned.h
    5f60d5f6
    History
    move asm/unaligned.h to linux/unaligned.h
    Al Viro authored
    asm/unaligned.h is always an include of asm-generic/unaligned.h;
    might as well move that thing to linux/unaligned.h and include
    that - there's nothing arch-specific in that header.
    
    auto-generated by the following:
    
    for i in `git grep -l -w asm/unaligned.h`; do
    	sed -i -e "s/asm\/unaligned.h/linux\/unaligned.h/" $i
    done
    for i in `git grep -l -w asm-generic/unaligned.h`; do
    	sed -i -e "s/asm-generic\/unaligned.h/linux\/unaligned.h/" $i
    done
    git mv include/asm-generic/unaligned.h include/linux/unaligned.h
    git mv tools/include/asm-generic/unaligned.h tools/include/linux/unaligned.h
    sed -i -e "/unaligned.h/d" include/asm-generic/Kbuild
    sed -i -e "s/__ASM_GENERIC/__LINUX/" include/linux/unaligned.h tools/include/linux/unaligned.h