LLVMLinux: Add support for clang to compiler.h and new compiler-clang.h
authorMark Charlebois <charlebm@gmail.com>
Tue, 20 Nov 2012 21:13:10 +0000 (22:13 +0100)
committerBehan Webster <behanw@converseincode.com>
Wed, 9 Apr 2014 20:44:35 +0000 (13:44 -0700)
commit565cbdc2fec92ef2ae75995e06e69172ed2edecd
tree5f28a812a1ec430e87827cabd654b8429527bb36
parentaa93685afbefa0e31af3a0a03ff97b37ee92a90b
LLVMLinux: Add support for clang to compiler.h and new compiler-clang.h

Add a compiler-clang.h file to add specific macros needed for compiling the
kernel with clang.

Initially the only override required is the macro for silencing the
compiler for a purposefully uninintialized variable.

Author: Mark Charlebois <charlebm@gmail.com>
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
Signed-off-by: Behan Webster <behanw@converseincode.com>
include/linux/compiler-clang.h [new file with mode: 0644]
include/linux/compiler.h