Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • stable
  • extraversion
  • early-display
  • variant-emmc-nvme-boot
  • 2024-07-19
  • 2024-06-30
  • 2023-10-18
  • 2023-10-10
  • 2023-07-04
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
14 results

compiler.h

Blame
    • Masahiro Yamada's avatar
      059a4809
      bug.h: sync BUILD_BUG stuff with Linux 4.13 · 059a4809
      Masahiro Yamada authored
      
      As commit 84b8bf6d ("bug.h: move BUILD_BUG_* defines to
      include/linux/bug.h") noted, include/linux/bug.h was locally
      modified for U-Boot because the name conflict of error() caused
      build errors at that time.
      
      Now error() is gone, so we can fully sync BUILD_BUG* with Linux.
      These macros are just compile-time utilities.  Nothing depends on
      platform code, so it should make sense to simply copy Linux's ones.
      
      Please note Linux split BUILD_BUG stuff out into <linux/build_bug.h>
      by commit bc6245e5efd7.  Let's follow it.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      059a4809
      History
      bug.h: sync BUILD_BUG stuff with Linux 4.13
      Masahiro Yamada authored
      
      As commit 84b8bf6d ("bug.h: move BUILD_BUG_* defines to
      include/linux/bug.h") noted, include/linux/bug.h was locally
      modified for U-Boot because the name conflict of error() caused
      build errors at that time.
      
      Now error() is gone, so we can fully sync BUILD_BUG* with Linux.
      These macros are just compile-time utilities.  Nothing depends on
      platform code, so it should make sense to simply copy Linux's ones.
      
      Please note Linux split BUILD_BUG stuff out into <linux/build_bug.h>
      by commit bc6245e5efd7.  Let's follow it.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    compiler.h 16.44 KiB