mirror of
				https://github.com/torvalds/linux.git
				synced 2025-10-31 16:48:26 +02:00 
			
		
		
		
	m68k: Avoid CONFIG_COLDFIRE switch in uapi header
We should not use any CONFIG switches in uapi headers since these only work during kernel compilation. They are not defined for userspace. Let's use the __mcoldfire__ switch from the compiler here instead. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
This commit is contained in:
		
							parent
							
								
									dd5a440a31
								
							
						
					
					
						commit
						a5044ce7d1
					
				
					 2 changed files with 1 additions and 2 deletions
				
			
		|  | @ -39,7 +39,7 @@ struct pt_regs { | ||||||
|   long     d0; |   long     d0; | ||||||
|   long     orig_d0; |   long     orig_d0; | ||||||
|   long     stkadj; |   long     stkadj; | ||||||
| #ifdef CONFIG_COLDFIRE | #ifdef __mcoldfire__ | ||||||
|   unsigned format :  4; /* frame format specifier */ |   unsigned format :  4; /* frame format specifier */ | ||||||
|   unsigned vector : 12; /* vector offset */ |   unsigned vector : 12; /* vector offset */ | ||||||
|   unsigned short sr; |   unsigned short sr; | ||||||
|  |  | ||||||
|  | @ -74,7 +74,6 @@ arch/arc/include/uapi/asm/page.h:CONFIG_ARC_PAGE_SIZE_16K | ||||||
| arch/arc/include/uapi/asm/page.h:CONFIG_ARC_PAGE_SIZE_4K | arch/arc/include/uapi/asm/page.h:CONFIG_ARC_PAGE_SIZE_4K | ||||||
| arch/arc/include/uapi/asm/swab.h:CONFIG_ARC_HAS_SWAPE | arch/arc/include/uapi/asm/swab.h:CONFIG_ARC_HAS_SWAPE | ||||||
| arch/arm/include/uapi/asm/ptrace.h:CONFIG_CPU_ENDIAN_BE8 | arch/arm/include/uapi/asm/ptrace.h:CONFIG_CPU_ENDIAN_BE8 | ||||||
| arch/m68k/include/uapi/asm/ptrace.h:CONFIG_COLDFIRE |  | ||||||
| arch/nios2/include/uapi/asm/swab.h:CONFIG_NIOS2_CI_SWAB_NO | arch/nios2/include/uapi/asm/swab.h:CONFIG_NIOS2_CI_SWAB_NO | ||||||
| arch/nios2/include/uapi/asm/swab.h:CONFIG_NIOS2_CI_SWAB_SUPPORT | arch/nios2/include/uapi/asm/swab.h:CONFIG_NIOS2_CI_SWAB_SUPPORT | ||||||
| arch/x86/include/uapi/asm/auxvec.h:CONFIG_IA32_EMULATION | arch/x86/include/uapi/asm/auxvec.h:CONFIG_IA32_EMULATION | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Thomas Huth
						Thomas Huth