diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-25 03:26:47 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-25 03:26:47 +0100 |
commit | 2162b80fcadf5b0afff08b540bd141f8a5ff5ed1 (patch) | |
tree | 61fa829c78e1850e35946db3f794c9f320c4a906 /include | |
parent | Merge branch 'parisc-4.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
parent | kbuild: Add option to turn incompatible pointer check into error (diff) | |
download | linux-2162b80fcadf5b0afff08b540bd141f8a5ff5ed1.tar.xz linux-2162b80fcadf5b0afff08b540bd141f8a5ff5ed1.zip |
Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
Pull kbuild updates from Michal Marek:
- make dtbs_install fix
- Error handling fix fixdep and link-vmlinux.sh
- __UNIQUE_ID fix for clang
- Fix for if_changed_* to suppress the "is up to date." message
- The kernel is built with -Werror=incompatible-pointer-types
* 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
kbuild: Add option to turn incompatible pointer check into error
kbuild: suppress annoying "... is up to date." message
kbuild: fixdep: Check fstat(2) return value
scripts/link-vmlinux.sh: force error on kallsyms failure
Kbuild: provide a __UNIQUE_ID for clang
dtbsinstall: don't move target directory out of the way
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/compiler-clang.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/compiler-clang.h b/include/linux/compiler-clang.h index d1e49d52b640..de179993e039 100644 --- a/include/linux/compiler-clang.h +++ b/include/linux/compiler-clang.h @@ -10,3 +10,8 @@ #undef uninitialized_var #define uninitialized_var(x) x = *(&(x)) #endif + +/* same as gcc, this was present in clang-2.6 so we can assume it works + * with any version that can compile the kernel + */ +#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) |