https://github.com/torvalds/linux
Revision 648f15345add88a7eea724365fe1217a8d8a1e16 authored by Thomas Gleixner on 17 November 2009, 22:50:45 UTC, committed by Paul Mundt on 18 November 2009, 01:50:22 UTC
The typename member of struct irq_chip was kept for migration purposes
and is obsolete since more than 2 years. Fix up the leftovers.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-sh@vger.kernel.org
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
1 parent 68fb2e4
Raw File
Tip revision: 648f15345add88a7eea724365fe1217a8d8a1e16 authored by Thomas Gleixner on 17 November 2009, 22:50:45 UTC
sh: Fixup last users of irq_chip->typename
Tip revision: 648f153
profile2linkerlist.pl
#!/usr/bin/perl

#
# Takes a (sorted) output of readprofile and turns it into a list suitable for
# linker scripts
#
# usage:
#	 readprofile | sort -rn | perl profile2linkerlist.pl > functionlist
#

while (<>) {
  my $line = $_;

  $_ =~ /\W*[0-9]+\W*([a-zA-Z\_0-9]+)\W*[0-9]+/;

  if ( ($line =~ /unknown/) || ($line =~ /total/)) {

  } else {
    print "*(.text.$1)\n";
  }
}
back to top