Commit e6126a58720ed8e53de93883c3f1572ad3d7b7c3
Committed by
Simon Glass
1 parent
ba7b38a529
Exists in
v2017.01-smarct4x
and in
38 other branches
x86: move arch-specific asmlinkage to <asm/linkage.h>
Commit 65dd74a674d6 (x86: ivybridge: Implement SDRAM init) introduced x86-specific asmlinkage into arch/x86/include/asm/config.h. Commit ed0a2fbf14f7 (x86: Add a definition of asmlinkage) added the same macro define again, this time, into include/common.h. (Please do not add arch-specific stuff to include/common.h any more; it is already too cluttered.) The generic asmlinkage is defined in <linux/linkage.h>. If you want to override it with an arch-specific one, the best way is to add it to <asm/linkage.h> like Linux Kernel. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
Showing 7 changed files with 13 additions and 4 deletions Side-by-side Diff
arch/x86/include/asm/arch-ivybridge/pei_data.h
arch/x86/include/asm/config.h
arch/x86/include/asm/linkage.h
arch/x86/lib/bios.c
arch/x86/lib/bios.h
include/common.h