asmlinkage: Revert "lto: Make asmlinkage __visible"
As requested by Linus, revert adding __visible to asmlinkage.
Instead we add __visible explicitely to all the symbols
that need it.
This reverts commit 128ea04a98.
Link: http://lkml.kernel.org/r/1398984278-29319-2-git-send-email-andi@firstfloor.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
	
	
This commit is contained in:
		
					parent
					
						
							
								ac008fe0a3
							
						
					
				
			
			
				commit
				
					
						3adc1beacd
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -12,9 +12,9 @@
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef __cplusplus
 | 
					#ifdef __cplusplus
 | 
				
			||||||
#define CPP_ASMLINKAGE extern "C" __visible
 | 
					#define CPP_ASMLINKAGE extern "C"
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
#define CPP_ASMLINKAGE __visible
 | 
					#define CPP_ASMLINKAGE
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef asmlinkage
 | 
					#ifndef asmlinkage
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue