]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: fix build error in sigcontext.h
authorMark Salter <msalter@redhat.com>
Wed, 11 Jun 2014 20:14:42 +0000 (21:14 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 18 Jun 2014 11:41:56 +0000 (12:41 +0100)
commit0cc916a9f82f424160a71b9668692dda1315bbb8
tree4a67529e9eeda5e99224ce7b582aaa5b85121ec5
parent654809bf7ddeaa2b5a8513e507c21bb13646d217
arm64: fix build error in sigcontext.h

I'm seeing this build failure for arm64:

    CC [M]  Documentation/filesystems/configfs/configfs_example_macros.o
  In file included from /usr/include/bits/sigcontext.h:27:0,
                   from /usr/include/signal.h:340,
                   from /usr/include/sys/wait.h:30,
                   from Documentation/accounting/getdelays.c:24:
  .../linux/usr/include/asm/sigcontext.h:61:2: error: unknown type name ‘u64’
    u64 esr;
    ^
  make[2]: *** [Documentation/accounting/getdelays] Error 1

This was introduced by commit 889af215b5251b7f:

  arm64: Expose ESR_EL1 information to user when SIGSEGV/SIGBUS

Using __u64 instead of u64 fixes the problem.

Signed-off-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/uapi/asm/sigcontext.h