14 Apr, 2020

2 commits

  • To pick up the changes in these csets:

    295bcca84916 ("linux/bits.h: add compile time sanity check of GENMASK inputs")
    3945ff37d2f4 ("linux/bits.h: Extract common header for vDSO")

    To address this tools/perf build warning:

    Warning: Kernel ABI header at 'tools/include/linux/bits.h' differs from latest version at 'include/linux/bits.h'
    diff -u tools/include/linux/bits.h include/linux/bits.h

    This clashes with usage of userspace's static_assert(), that, at least
    on glibc, is guarded by a ifnded/endif pair, do the same to our copy of
    build_bug.h and avoid that diff in check_headers.sh so that we continue
    checking for drifts with the kernel sources master copy.

    This will all be tested with the set of build containers that includes
    uCLibc, musl libc, lots of glibc versions in lots of distros and cross
    build environments.

    The tools/objtool, tools/bpf, etc were tested as well.

    Cc: Adrian Hunter
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Rikard Falkeborn
    Cc: Thomas Gleixner
    Cc: Vincenzo Frascino
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • To get in line with:

    8165b57bca21 ("linux/const.h: Extract common header for vDSO")

    And silence this tools/perf/ build warning:

    Warning: Kernel ABI header at 'tools/include/linux/const.h' differs from latest version at 'include/linux/const.h'
    diff -u tools/include/linux/const.h include/linux/const.h

    Cc: Adrian Hunter
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Thomas Gleixner
    Cc: Vincenzo Frascino
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo