~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/x86/include/asm/mpspec.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/x86/include/asm/mpspec.h (Architecture m68k) and /arch/i386/include/asm-i386/mpspec.h (Architecture i386)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 
  2 #ifndef _ASM_X86_MPSPEC_H                         
  3 #define _ASM_X86_MPSPEC_H                         
  4                                                   
  5 #include <linux/types.h>                          
  6                                                   
  7 #include <asm/mpspec_def.h>                       
  8 #include <asm/x86_init.h>                         
  9 #include <asm/apicdef.h>                          
 10                                                   
 11 extern int pic_mode;                              
 12                                                   
 13 #ifdef CONFIG_X86_32                              
 14                                                   
 15 /*                                                
 16  * Summit or generic (i.e. installer) kernels     
 17  * Maximum 256 PCI busses, plus 1 ISA bus in e    
 18  */                                               
 19 #ifdef CONFIG_BASE_SMALL                          
 20 # define MAX_MP_BUSSES          32                
 21 #else                                             
 22 # define MAX_MP_BUSSES          260               
 23 #endif                                            
 24                                                   
 25 #define MAX_IRQ_SOURCES         256               
 26                                                   
 27 #else /* CONFIG_X86_64: */                        
 28                                                   
 29 #define MAX_MP_BUSSES           256               
 30 /* Each PCI slot may be a combo card with its     
 31 #define MAX_IRQ_SOURCES         (MAX_MP_BUSSES    
 32                                                   
 33 #endif /* CONFIG_X86_64 */                        
 34                                                   
 35 #ifdef CONFIG_EISA                                
 36 extern int mp_bus_id_to_type[MAX_MP_BUSSES];      
 37 #endif                                            
 38                                                   
 39 extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_B    
 40                                                   
 41 extern u32 boot_cpu_physical_apicid;              
 42 extern u8 boot_cpu_apic_version;                  
 43                                                   
 44 #ifdef CONFIG_X86_LOCAL_APIC                      
 45 extern int smp_found_config;                      
 46 #else                                             
 47 # define smp_found_config 0                       
 48 #endif                                            
 49                                                   
 50 #ifdef CONFIG_X86_MPPARSE                         
 51 extern void e820__memblock_alloc_reserved_mpc_    
 52 extern int enable_update_mptable;                 
 53 extern void mpparse_find_mptable(void);           
 54 extern void mpparse_parse_early_smp_config(voi    
 55 extern void mpparse_parse_smp_config(void);       
 56 #else                                             
 57 static inline void e820__memblock_alloc_reserv    
 58 #define enable_update_mptable           0         
 59 #define mpparse_find_mptable            x86_in    
 60 #define mpparse_parse_early_smp_config  x86_in    
 61 #define mpparse_parse_smp_config        x86_in    
 62 #endif                                            
 63                                                   
 64 extern DECLARE_BITMAP(phys_cpu_present_map, MA    
 65                                                   
 66 static inline void reset_phys_cpu_present_map(    
 67 {                                                 
 68         bitmap_zero(phys_cpu_present_map, MAX_    
 69         set_bit(apicid, phys_cpu_present_map);    
 70 }                                                 
 71                                                   
 72 static inline void copy_phys_cpu_present_map(u    
 73 {                                                 
 74         bitmap_copy(dst, phys_cpu_present_map,    
 75 }                                                 
 76                                                   
 77 #endif /* _ASM_X86_MPSPEC_H */                    
 78                                                   

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php