aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/headers_check.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/headers_check.pl b/scripts/headers_check.pl
index b62c319611a2..db30fac3083e 100644
--- a/scripts/headers_check.pl
+++ b/scripts/headers_check.pl
@@ -78,6 +78,9 @@ sub check_config
78my $linux_asm_types; 78my $linux_asm_types;
79sub check_asm_types() 79sub check_asm_types()
80{ 80{
81 if ($filename =~ /types.h|int-l64.h|int-ll64.h/o) {
82 return;
83 }
81 if ($lineno == 1) { 84 if ($lineno == 1) {
82 $linux_asm_types = 0; 85 $linux_asm_types = 0;
83 } elsif ($linux_asm_types >= 1) { 86 } elsif ($linux_asm_types >= 1) {
@@ -95,6 +98,9 @@ sub check_asm_types()
95my $linux_types; 98my $linux_types;
96sub check_sizetypes 99sub check_sizetypes
97{ 100{
101 if ($filename =~ /types.h|int-l64.h|int-ll64.h/o) {
102 return;
103 }
98 if ($lineno == 1) { 104 if ($lineno == 1) {
99 $linux_types = 0; 105 $linux_types = 0;
100 } elsif ($linux_types >= 1) { 106 } elsif ($linux_types >= 1) {