Searched hist:ffa47aa678cfaa9b88e8a26cfb115b4768325121 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/arch/arm/mm/ |
H A D | proc-macros.S | diff ffa47aa678cfaa9b88e8a26cfb115b4768325121 Fri Jun 30 11:03:59 CDT 2017 Arnd Bergmann <arnd@arndb.de> ARM: Prepare for randomized task_struct
With the new task struct randomization, we can run into a build failure for certain random seeds, which will place fields beyond the allow immediate size in the assembly:
arch/arm/kernel/entry-armv.S: Assembler messages: arch/arm/kernel/entry-armv.S:803: Error: bad immediate value for offset (4096)
Only two constants in asm-offset.h are affected, and I'm changing both of them here to work correctly in all configurations.
One more macro has the problem, but is currently unused, so this removes it instead of adding complexity.
Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de> [kees: Adjust commit log slightly] Signed-off-by: Kees Cook <keescook@chromium.org>
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | assembler.h | diff ffa47aa678cfaa9b88e8a26cfb115b4768325121 Fri Jun 30 11:03:59 CDT 2017 Arnd Bergmann <arnd@arndb.de> ARM: Prepare for randomized task_struct
With the new task struct randomization, we can run into a build failure for certain random seeds, which will place fields beyond the allow immediate size in the assembly:
arch/arm/kernel/entry-armv.S: Assembler messages: arch/arm/kernel/entry-armv.S:803: Error: bad immediate value for offset (4096)
Only two constants in asm-offset.h are affected, and I'm changing both of them here to work correctly in all configurations.
One more macro has the problem, but is currently unused, so this removes it instead of adding complexity.
Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de> [kees: Adjust commit log slightly] Signed-off-by: Kees Cook <keescook@chromium.org>
|
/openbmc/linux/arch/arm/kernel/ |
H A D | entry-armv.S | diff ffa47aa678cfaa9b88e8a26cfb115b4768325121 Fri Jun 30 11:03:59 CDT 2017 Arnd Bergmann <arnd@arndb.de> ARM: Prepare for randomized task_struct
With the new task struct randomization, we can run into a build failure for certain random seeds, which will place fields beyond the allow immediate size in the assembly:
arch/arm/kernel/entry-armv.S: Assembler messages: arch/arm/kernel/entry-armv.S:803: Error: bad immediate value for offset (4096)
Only two constants in asm-offset.h are affected, and I'm changing both of them here to work correctly in all configurations.
One more macro has the problem, but is currently unused, so this removes it instead of adding complexity.
Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de> [kees: Adjust commit log slightly] Signed-off-by: Kees Cook <keescook@chromium.org>
|