mirror of
				https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
				synced 2025-10-31 08:08:51 +01:00 
			
		
		
		
	Fixed MTP to work with TWRP
This commit is contained in:
		
						commit
						f6dfaef42e
					
				
					 50820 changed files with 20846062 additions and 0 deletions
				
			
		
							
								
								
									
										24
									
								
								arch/powerpc/kernel/swsusp_64.c
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								arch/powerpc/kernel/swsusp_64.c
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,24 @@ | |||
| /*
 | ||||
|  * PowerPC 64-bit swsusp implementation | ||||
|  * | ||||
|  * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> | ||||
|  * | ||||
|  * GPLv2 | ||||
|  */ | ||||
| 
 | ||||
| #include <asm/iommu.h> | ||||
| #include <linux/irq.h> | ||||
| #include <linux/sched.h> | ||||
| #include <linux/interrupt.h> | ||||
| 
 | ||||
| void do_after_copyback(void) | ||||
| { | ||||
| 	iommu_restore(); | ||||
| 	touch_softlockup_watchdog(); | ||||
| 	mb(); | ||||
| } | ||||
| 
 | ||||
| void _iommu_save(void) | ||||
| { | ||||
| 	iommu_save(); | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 awab228
						awab228