On Mon, 15 Oct 2018, Paul Burton wrote: > asm/asm.h contains CPRESTORE, CPADD & CPLOAD macros that are intended > for use with position independent code, but are not used anywhere in the > kernel - along with a comment to that effect. Remove the dead code. FYI, this was I believe for consistency with the <sys/asm.h> glibc header and in the days since lost in the mist to time may have actually been used by the userland too. Overall the contents of this header used to be somewhat standardised in a platform-independent way, e.g. the IDT MIPS software manual says[1]: "Many toolchains supply a header file <asm.h>, which provides C-style macros to generate the appropriate directives, as required [...]" and then goes on to use <idtc/asm.h> across the many snippets of code included throughout. References: [1] "IDT MIPS Microprocessor Family Software Reference Manual", Integrated Device Technology, Inc., Version 2.0, October 1996, Chapter 9 "Assembler Language Programming", p. 9-17 [Yes, it did have a chapter on the MIPS assembly language, including the syntax, which some people confuse with the syntax architecture manuals use for the instruction set.] Maciej