]> err.no Git - linux-2.6/blobdiff - include/asm-x86_64/smp.h
[PATCH] mm: add a note about partially hardcoded VM_* flags
[linux-2.6] / include / asm-x86_64 / smp.h
index 18ac762e1ab8e3411626ca54e59af82182b15632..24e32611f0bf3d93bc0a41f15fa3678d3006f598 100644 (file)
@@ -49,6 +49,9 @@ extern int smp_num_siblings;
 extern void smp_send_reschedule(int cpu);
 extern void zap_low_mappings(void);
 void smp_stop_cpu(void);
+extern int smp_call_function_single(int cpuid, void (*func) (void *info),
+                               void *info, int retry, int wait);
+
 extern cpumask_t cpu_sibling_map[NR_CPUS];
 extern cpumask_t cpu_core_map[NR_CPUS];
 extern u8 phys_proc_id[NR_CPUS];
@@ -69,7 +72,7 @@ static inline int num_booting_cpus(void)
 
 #define raw_smp_processor_id() read_pda(cpunumber)
 
-extern __inline int hard_smp_processor_id(void)
+static inline int hard_smp_processor_id(void)
 {
        /* we don't want to mark this access volatile - bad code generation */
        return GET_APIC_ID(*(unsigned int *)(APIC_BASE+APIC_ID));