Searched hist:c696b93461f53db89d61450ace7c73babf920b99 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/arm64/kernel/ |
H A D | kgdb.c | diff c696b93461f53db89d61450ace7c73babf920b99 Fri Jul 24 10:37:46 CDT 2015 Dave P Martin <Dave.Martin@arm.com> arm64/debug: Simplify BRK insn opcode declarations
The way the KGDB_DYN_BRK_INS_BYTEx macros are declared is more complex than it needs to be. Also, the macros are only used in one place, which is arch-specific anyway.
This patch refactors the macros to simplify them, and exposes an argument so that we can have a single macro instead of 4.
As a side effect, this patch also fixes some anomalous spellings of "KGDB".
These changes alter the compile types of some integer constants that are harmless but trigger truncation warnings in gcc when assigning to 32-bit variables. This patch adds an explicit cast for the affected cases.
Signed-off-by: Dave Martin <Dave.Martin@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | debug-monitors.h | diff c696b93461f53db89d61450ace7c73babf920b99 Fri Jul 24 10:37:46 CDT 2015 Dave P Martin <Dave.Martin@arm.com> arm64/debug: Simplify BRK insn opcode declarations
The way the KGDB_DYN_BRK_INS_BYTEx macros are declared is more complex than it needs to be. Also, the macros are only used in one place, which is arch-specific anyway.
This patch refactors the macros to simplify them, and exposes an argument so that we can have a single macro instead of 4.
As a side effect, this patch also fixes some anomalous spellings of "KGDB".
These changes alter the compile types of some integer constants that are harmless but trigger truncation warnings in gcc when assigning to 32-bit variables. This patch adds an explicit cast for the affected cases.
Signed-off-by: Dave Martin <Dave.Martin@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
|