|
@@ -1860,7 +1860,8 @@ sub process {
|
|
|
# multi-statement macros should be enclosed in a do while loop, grab the
|
|
|
# first statement and ensure its the whole macro if its not enclosed
|
|
|
# in a known good container
|
|
|
- if ($line =~ /^.\s*\#\s*define\s*$Ident(\()?/) {
|
|
|
+ if ($realfile !~ m@/vmlinux.lds.h$@ &&
|
|
|
+ $line =~ /^.\s*\#\s*define\s*$Ident(\()?/) {
|
|
|
my $ln = $linenr;
|
|
|
my $cnt = $realcnt;
|
|
|
my ($off, $dstat, $dcond, $rest);
|