mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-30 23:50:07 +00:00 
			
		
		
		
	 96ae6ea0be
			
		
	
	
		96ae6ea0be
		
	
	
	
	
		
			
			Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
		
			
				
	
	
		
			16 lines
		
	
	
		
			388 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			388 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * code16gcc.h
 | |
|  *
 | |
|  * This file is -include'd when compiling 16-bit C code.
 | |
|  * Note: this asm() needs to be emitted before gcc emits any code.
 | |
|  * Depending on gcc version, this requires -fno-unit-at-a-time or
 | |
|  * -fno-toplevel-reorder.
 | |
|  *
 | |
|  * Hopefully gcc will eventually have a real -m16 option so we can
 | |
|  * drop this hack long term.
 | |
|  */
 | |
| 
 | |
| #ifndef __ASSEMBLY__
 | |
| asm(".code16gcc");
 | |
| #endif
 |