|
@@ -14,9 +14,12 @@
|
|
/*
|
|
/*
|
|
* We don't use int-l64.h for the kernel anymore but still use it for
|
|
* We don't use int-l64.h for the kernel anymore but still use it for
|
|
* userspace to avoid code changes.
|
|
* userspace to avoid code changes.
|
|
|
|
+ *
|
|
|
|
+ * However, some user programs (e.g. perf) may not want this. They can
|
|
|
|
+ * flag __SANE_USERSPACE_TYPES__ to get int-ll64.h here.
|
|
*/
|
|
*/
|
|
#ifndef __KERNEL__
|
|
#ifndef __KERNEL__
|
|
-# if _MIPS_SZLONG == 64
|
|
|
|
|
|
+# if _MIPS_SZLONG == 64 && !defined(__SANE_USERSPACE_TYPES__)
|
|
# include <asm-generic/int-l64.h>
|
|
# include <asm-generic/int-l64.h>
|
|
# else
|
|
# else
|
|
# include <asm-generic/int-ll64.h>
|
|
# include <asm-generic/int-ll64.h>
|