[llvmlinux] [GIT PULL] LLVMLinux patches for v3.15

Behan Webster behanw at converseincode.com
Wed Apr 9 21:25:11 UTC 2014


These are some initial updates to support compiling the kernel with clang.
These patches have been through the proper reviews to the best of my 
and have been soaking in linux-next for a few weeks. These patches by
themselves still do not completely allow clang to be used with the 
kernel code,
but lay the foundation for other patches which are still under review.

Several other of the LLVMLinux patches have been already added via 



Behan Webster
behanw at converseincode.com

The following changes since commit 39de65aa2c3eee901db020a4f1396998e09602a3:

   Merge branch 'i2c/for-next' of 
git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux (2014-04-09 
08:45:40 -0700)

are available in the git repository at:


for you to fetch changes up to c4586256f0c440bc2bdb29d2cbb915f0ca785d26:

   x86: LLVMLinux: Fix "incomplete type const struct x86cpu_device_id" 
(2014-04-09 13:44:35 -0700)

LLVMLinux Patches for v3.15

Behan Webster (4):
       kbuild: LLVMLinux: Add Kbuild support for building kernel with Clang
       LLVMLinux: Remove warning about returning an uninitialized variable
       x86, acpi: LLVMLinux: Remove nested functions from Thinkpad ACPI
       x86: LLVMLinux: Fix "incomplete type const struct x86cpu_device_id"

Jan-Simon Möller (4):
       kbuild: LLVMLinux: Adapt warnings for compilation with clang
       Documentation: LLVMLinux: Update Documentation/dontdiff
       kbuild: LLVMLinux: Fix LINUX_COMPILER definition script for 
compilation with clang
       x86 kbuild: LLVMLinux: More cc-options added for clang

Mark Charlebois (1):
       LLVMLinux: Add support for clang to compiler.h and new 

  Documentation/dontdiff               |  3 ++
  Makefile                             | 30 ++++++++++++-
  arch/x86/Makefile                    |  2 +-
  drivers/platform/x86/thinkpad_acpi.c | 86 
  include/asm-generic/cmpxchg-local.h  |  3 +-
  include/linux/compiler-clang.h       | 12 +++++
  include/linux/compiler.h             |  7 +++
  include/linux/mod_devicetable.h      |  5 +++
  scripts/Makefile.build               | 12 ++++-
  scripts/mkcompile_h                  |  2 +-
  10 files changed, 116 insertions(+), 46 deletions(-)
  create mode 100644 include/linux/compiler-clang.h

More information about the LLVMLinux mailing list