Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 603472 | Differences between
and this patch

Collapse All | Expand All

(-)a/include/linux/compiler.h (-1 / +12 lines)
Lines 78-83 extern void __chk_io_ptr(const volatile void __iomem *); Link Here
78
#include <linux/compiler-clang.h>
78
#include <linux/compiler-clang.h>
79
#endif
79
#endif
80
80
81
#ifdef __cplusplus
82
/* C++ does not have  __builtin_types_compatible_p, mock one up */
83
template <typename type1, typename type2> struct _types_compatible_p {
84
	static const int result = 0;
85
};
86
87
template <typename type1> struct _types_compatible_p<type1, type1> {
88
	static const int result = 1;
89
};
90
91
#define __builtin_types_compatible_p( type1, type2 ) _types_compatible_p< type1, type2 >::result
92
#endif
81
/*
93
/*
82
 * Generic compiler-dependent macros required for kernel
94
 * Generic compiler-dependent macros required for kernel
83
 * build go below this comment. Actual compiler/compiler version
95
 * build go below this comment. Actual compiler/compiler version
84
- 

Return to bug 603472