kbuild: simpler generation of assembly constants
authorAlexey Dobriyan <adobriyan@gmail.com>
Sat, 10 Sep 2016 10:34:00 +0000 (20:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sat, 10 Sep 2016 10:34:00 +0000 (20:34 +1000)
commit26a83b37c09401af89349b755f4531f4ceff8e4c
treef1a96e315a3a22430fdb6f6e5996f71d29b06d49
parent07504d2c125c8cdc4de7b96f53b48b777e76976c
kbuild: simpler generation of assembly constants

gcc doesn't really look inside "asm" statements and more or less
directly emits it into assembly. So pretend "#define" is CPU
instruction.

C++ comment can't be used because sparc assembler doesn't understand it.

Link: http://lkml.kernel.org/r/20160713173646.GA1910@p183.telecom.by
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Michal Marek <mmarek@suse.cz>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Kbuild
arch/ia64/kernel/Makefile
arch/um/Makefile
arch/x86/um/shared/sysdep/kernel-offsets.h
arch/x86/um/user-offsets.c
include/linux/kbuild.h
scripts/mod/Makefile
This page took 0.027064 seconds and 5 git commands to generate.