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
				
			
		
							
								
								
									
										44
									
								
								tools/lib/lockdep/uinclude/linux/kernel.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								tools/lib/lockdep/uinclude/linux/kernel.h
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,44 @@ | |||
| #ifndef _LIBLOCKDEP_LINUX_KERNEL_H_ | ||||
| #define _LIBLOCKDEP_LINUX_KERNEL_H_ | ||||
| 
 | ||||
| #include <linux/export.h> | ||||
| #include <linux/types.h> | ||||
| #include <linux/rcu.h> | ||||
| #include <linux/hardirq.h> | ||||
| #include <linux/kern_levels.h> | ||||
| 
 | ||||
| #ifndef container_of | ||||
| #define container_of(ptr, type, member) ({			\ | ||||
| 	const typeof(((type *)0)->member) * __mptr = (ptr);	\ | ||||
| 	(type *)((char *)__mptr - offsetof(type, member)); }) | ||||
| #endif | ||||
| 
 | ||||
| #define max(x, y) ({				\ | ||||
| 	typeof(x) _max1 = (x);			\ | ||||
| 	typeof(y) _max2 = (y);			\ | ||||
| 	(void) (&_max1 == &_max2);		\ | ||||
| 	_max1 > _max2 ? _max1 : _max2; }) | ||||
| 
 | ||||
| #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) | ||||
| #define WARN_ON(x) (x) | ||||
| #define WARN_ON_ONCE(x) (x) | ||||
| #define likely(x) (x) | ||||
| #define WARN(x, y, z) (x) | ||||
| #define uninitialized_var(x) x | ||||
| #define __init | ||||
| #define noinline | ||||
| #define list_add_tail_rcu list_add_tail | ||||
| 
 | ||||
| #ifndef CALLER_ADDR0 | ||||
| #define CALLER_ADDR0 ((unsigned long)__builtin_return_address(0)) | ||||
| #endif | ||||
| 
 | ||||
| #ifndef _RET_IP_ | ||||
| #define _RET_IP_ CALLER_ADDR0 | ||||
| #endif | ||||
| 
 | ||||
| #ifndef _THIS_IP_ | ||||
| #define _THIS_IP_ ({ __label__ __here; __here: (unsigned long)&&__here; }) | ||||
| #endif | ||||
| 
 | ||||
| #endif | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 awab228
						awab228