diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2015-10-01 01:35:55 +0100 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2017-08-29 12:02:00 -0700 |
commit | cec80d82142ab25c71eee24b529cfeaf17c43062 (patch) | |
tree | 946a832013951fa7f8d4e1c935d720ea43974a71 /arch/alpha/include/asm | |
parent | 7817cedce04325bed7b618386a245fb461233746 (diff) | |
download | linux-cec80d82142ab25c71eee24b529cfeaf17c43062.tar.gz linux-cec80d82142ab25c71eee24b529cfeaf17c43062.tar.bz2 linux-cec80d82142ab25c71eee24b529cfeaf17c43062.zip |
alpha: uapi: Add support for __SANE_USERSPACE_TYPES__
This fixes compiler errors in perf such as:
tests/attr.c: In function 'store_event':
tests/attr.c:66:27: error: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type '__u64 {aka long unsigned int}' [-Werror=format=]
snprintf(path, PATH_MAX, "%s/event-%d-%llu-%d", dir,
^
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Tested-by: Michael Cree <mcree@orcon.net.nz>
Cc: stable@vger.kernel.org
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha/include/asm')
-rw-r--r-- | arch/alpha/include/asm/types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/include/asm/types.h b/arch/alpha/include/asm/types.h index 4cb4b6d3452c..0bc66e1d3a7e 100644 --- a/arch/alpha/include/asm/types.h +++ b/arch/alpha/include/asm/types.h @@ -1,6 +1,6 @@ #ifndef _ALPHA_TYPES_H #define _ALPHA_TYPES_H -#include <asm-generic/int-ll64.h> +#include <uapi/asm/types.h> #endif /* _ALPHA_TYPES_H */ |