mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-24 15:52:58 +00:00
Stephen Rothwell reported that the objtool cross-build breaks on non-x86 hosts: > tools/arch/x86/include/asm/asm.h:185:24: error: invalid register name for 'current_stack_pointer' > 185 | register unsigned long current_stack_pointer asm(_ASM_SP); > | ^~~~~~~~~~~~~~~~~~~~~ The PowerPC host obviously doesn't know much about x86 register names. Protect the kernel-specific bits of <asm/asm.h>, so that it can be included by tooling and cross-built. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Reviewed-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> |
||
|---|---|---|
| .. | ||
| asm.h | ||
| atomic.h | ||
| barrier.h | ||
| cmpxchg.h | ||
| cpufeatures.h | ||
| disabled-features.h | ||
| emulate_prefix.h | ||
| inat_types.h | ||
| inat.h | ||
| insn.h | ||
| irq_vectors.h | ||
| msr-index.h | ||
| nops.h | ||
| orc_types.h | ||
| required-features.h | ||
| rmwcc.h | ||
| unistd_32.h | ||
| unistd_64.h | ||