1. 22 Jan, 2013 1 commit
  2. 19 Nov, 2012 1 commit
    • David Howells's avatar
      perf: Make perf build for x86 with UAPI disintegration applied · d2709c7c
      David Howells authored
      
      
      Make perf build for x86 once the UAPI disintegration patches for that arch
      have been applied by adding the appropriate -I flags - in the right order -
      and then converting some #includes that use ../.. notation to find main kernel
      headerfiles to use <asm/foo.h> and <linux/foo.h> instead.
      
      Note that -Iarch/foo/include/uapi is present _before_ -Iarch/foo/include.
      This makes sure we get the userspace version of the pt_regs struct.  Ideally,
      we wouldn't have the latter -I flag at all, but unfortunately we want
      asm/svm.h and asm/vmx.h in builtin-kvm.c and these aren't part of the UAPI -
      at least not for x86.  I wonder if the bits outside of the __KERNEL__ guards
      *should* be transferred there.
      
      I note also that perf seems to do its dependency handling manually by listing
      all the header files it might want to use in LIB_H in the Makefile.  Can this
      be changed to use -MD?
      
      Note that to do make this work, we need to export and UAPI disintegrate
      linux/hw_breakpoint.h, which I think should've been exported previously so that
      perf can access the bits.  We have to do this in the same patch to maintain
      bisectability.
      
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      d2709c7c
  3. 14 Nov, 2012 14 commits
  4. 08 Nov, 2012 1 commit
  5. 01 Nov, 2012 1 commit
  6. 31 Oct, 2012 4 commits
  7. 29 Oct, 2012 2 commits
  8. 26 Oct, 2012 3 commits
  9. 24 Oct, 2012 3 commits
  10. 20 Oct, 2012 1 commit
  11. 14 Oct, 2012 1 commit
  12. 13 Oct, 2012 1 commit
  13. 08 Oct, 2012 2 commits
  14. 06 Oct, 2012 1 commit
  15. 03 Oct, 2012 1 commit
    • Jean Delvare's avatar
      kbuild: Fix gcc -x syntax · b1e0d8b7
      Jean Delvare authored
      
      
      The correct syntax for gcc -x is "gcc -x assembler", not
      "gcc -xassembler". Even though the latter happens to work, the former
      is what is documented in the manual page and thus what gcc wrappers
      such as icecream do expect.
      
      This isn't a cosmetic change. The missing space prevents icecream from
      recognizing compilation tasks it can't handle, leading to silent kernel
      miscompilations.
      
      Besides me, credits go to Michael Matz and Dirk Mueller for
      investigating the miscompilation issue and tracking it down to this
      incorrect -x parameter syntax.
      
      Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
      Acked-by: default avatarIngo Molnar <mingo@kernel.org>
      Cc: stable@vger.kernel.org
      Cc: Bernhard Walle <bernhard@bwalle.de>
      Cc: Michal Marek <mmarek@suse.cz>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      b1e0d8b7
  16. 02 Oct, 2012 3 commits