diff options
author | Yinghai Lu <Yinghai.Lu@Sun.COM> | 2007-10-16 03:28:06 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-17 15:39:23 -0400 |
commit | f8bea58b6a6e825662dbd8d408568883cfddef0e (patch) | |
tree | 3e42476a57f1ae0145ac3ffea4e9476925d84808 | |
parent | b381a14288e6e06084206601ee252f8c357e796f (diff) |
kbuild: fix typo SRCARCH in find_sources
otherwise get the two copy file list in SRCARCH
for cscope:
C symbol: start_kernel
File Function Line
0 proto.h <global> 11 extern void start_kernel(void );
1 start_kernel.h <global> 10 extern asmlinkage void __init start_kernel(void );
2 head32.c i386_start_kernel 37 start_kernel();
3 head32.c i386_start_kernel 37 start_kernel();
4 head64.c x86_64_start_kernel 85 start_kernel();
5 head64.c x86_64_start_kernel 85 start_kernel();
6 head_32.S options 199 cmpb $0,%cl #the first CPU calls start_kernel
7 head_32.S options 199 cmpb $0,%cl #the first CPU calls start_kernel
8 enlighten.c xen_start_kernel 1145 start_kernel();
9 enlighten.c xen_start_kernel 1145 start_kernel();
a lguest.c lguest_init 1095 start_kernel();
b main.c start_kernel 513 asmlinkage void __init start_kernel(void )
after the patch:
C symbol: start_kernel
File Function Line
0 proto.h <global> 11 extern void start_kernel(void );
1 start_kernel.h <global> 10 extern asmlinkage void __init start_kernel(void );
2 head32.c i386_start_kernel 37 start_kernel();
3 head64.c x86_64_start_kernel 85 start_kernel();
4 head_32.S options 199 cmpb $0,%cl #the first CPU calls start_kernel
5 enlighten.c xen_start_kernel 1145 start_kernel();
6 lguest.c lguest_init 1095 start_kernel();
7 main.c start_kernel 513 asmlinkage void __init start_kernel(void )
Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1325,8 +1325,8 @@ ALLSOURCE_ARCHS := $(ARCH) $(SRCARCH) | |||
1325 | endif | 1325 | endif |
1326 | 1326 | ||
1327 | define find-sources | 1327 | define find-sources |
1328 | ( for ARCH in $(ALLSOURCE_ARCHS) ; do \ | 1328 | ( for arch in $(ALLSOURCE_ARCHS) ; do \ |
1329 | find $(__srctree)arch/$${SRCARCH} $(RCS_FIND_IGNORE) \ | 1329 | find $(__srctree)arch/$${arch} $(RCS_FIND_IGNORE) \ |
1330 | -name $1 -print; \ | 1330 | -name $1 -print; \ |
1331 | done ; \ | 1331 | done ; \ |
1332 | find $(__srctree)security/selinux/include $(RCS_FIND_IGNORE) \ | 1332 | find $(__srctree)security/selinux/include $(RCS_FIND_IGNORE) \ |
@@ -1334,8 +1334,8 @@ define find-sources | |||
1334 | find $(__srctree)include $(RCS_FIND_IGNORE) \ | 1334 | find $(__srctree)include $(RCS_FIND_IGNORE) \ |
1335 | \( -name config -o -name 'asm-*' \) -prune \ | 1335 | \( -name config -o -name 'asm-*' \) -prune \ |
1336 | -o -name $1 -print; \ | 1336 | -o -name $1 -print; \ |
1337 | for ARCH in $(ALLINCLUDE_ARCHS) ; do \ | 1337 | for arch in $(ALLINCLUDE_ARCHS) ; do \ |
1338 | find $(__srctree)include/asm-$${SRCARCH} $(RCS_FIND_IGNORE) \ | 1338 | find $(__srctree)include/asm-$${arch} $(RCS_FIND_IGNORE) \ |
1339 | -name $1 -print; \ | 1339 | -name $1 -print; \ |
1340 | done ; \ | 1340 | done ; \ |
1341 | find $(__srctree)include/asm-generic $(RCS_FIND_IGNORE) \ | 1341 | find $(__srctree)include/asm-generic $(RCS_FIND_IGNORE) \ |