• Sam Ravnborg's avatar
    sparc: copy exported sparc64 specific header files to asm-sparc · 09d3e1ba
    Sam Ravnborg authored
    Copy was done using the following simple script:
    
    set -e
    SPARC64="h display7seg.h envctrl.h psrcompat.h pstate.h uctx.h utrap.h watchdog.h"
    for FILE in ${SPARC64}; do
    	if [ -f asm-sparc/$FILE ]; then
    		echo $FILE exist in asm-sparc
    	fi
    	cat asm-sparc64/$FILE > asm-sparc/$FILE
    	printf "#include <asm-sparc/$FILE>\n" > asm-sparc64/$FILE
    done
    
    The name of the copied files are added to asm-sparc/Kbuild
    to keep "make headers_check" functional.
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    09d3e1ba
pstate.h 4.78 KB