Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.13 /include/asm-i386/smp.h

Filename:/include/asm-i386/smp.h
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.4.13-pre6  2.4.13-pre5  2.4.13-pre4  2.4.13-pre3  2.4.13-pre2  2.4.12-ac6 
(Following) 2.4.17-pre5  2.4.17-pre6  2.4.17-pre7  2.4.17-pre8  2.4.17-rc1  2.4.17-rc2 

Location
[  2.4.13
  [  include
    [  asm-i386
       o  smp.h

Patch

diff -u --recursive --new-file v2.4.12/linux/include/asm-i386/smp.h linux/include/asm-i386/smp.h
--- v2.4.12/linux/include/asm-i386/smp.h   Thu Oct 18 13:47:38 2001
+++ linux/include/asm-i386/smp.h   Tue Oct 23 21:59:06 2001
@@ -109,7 +109,7 @@
    return GET_APIC_ID(*(unsigned long *)(APIC_BASE+APIC_ID));
 }
 
-extern __inline int logical_smp_processor_id(void)
+static __inline int logical_smp_processor_id(void)
 {
    /* we don't want to mark this access volatile - bad code generation */
    return GET_APIC_LOGICAL_ID(*(unsigned long *)(APIC_BASE+APIC_LDR));


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.