[U-Boot] [PATCH 0/2] Consolidate asmlinkage defines

Masahiro Yamada yamada.m at jp.panasonic.com
Wed Dec 3 09:36:56 CET 2014


include/common.h is horribly dirty.

It looks like people tend to put things to include/common.h
without much thought.

When you add something to include/common.h,
I think you should consider if you are doing the right thing.



Masahiro Yamada (2):
  x86: move arch-specific asmlinkage to <asm/linkage.h>
  ARM: remove redundant asmlinkage define

 arch/x86/include/asm/arch-ivybridge/pei_data.h | 2 ++
 arch/x86/include/asm/config.h                  | 1 -
 arch/x86/include/asm/linkage.h                 | 6 ++++++
 arch/x86/lib/bios.c                            | 1 +
 arch/x86/lib/bios.h                            | 2 ++
 include/common.h                               | 6 ------
 include/linux/linkage.h                        | 2 ++
 7 files changed, 13 insertions(+), 7 deletions(-)
 create mode 100644 arch/x86/include/asm/linkage.h

-- 
1.9.1



More information about the U-Boot mailing list