https://github.com/torvalds/linux
Revision 2809e80b8a73d556b2302e273966fb15db16c51e authored by Guan Xuetao on 26 May 2011, 08:43:27 UTC, committed by Guan Xuetao on 09 June 2011, 08:15:24 UTC
The patch moves rtc driver for PKUnity-v3 SoC from arch/unicore32/kernel/
to drivers/rtc/, with renaming it to rtc-puv3.c.
Also, Kconfig, Makefile, and MAINTAINERS are modified correspondingly.

Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Acked-by: Arnd Bergmann <arnd@arndb.de>
1 parent 06e8684
Raw File
Tip revision: 2809e80b8a73d556b2302e273966fb15db16c51e authored by Guan Xuetao on 26 May 2011, 08:43:27 UTC
unicore32: move rtc-puv3.c to drivers/rtc directory
Tip revision: 2809e80
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
#
use strict;

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

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

  print "*(.text.$1)\n"
      unless ($line =~ /unknown/) || ($line =~ /total/);
}
back to top