mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:12:45 +00:00 
			
		
		
		
	AK: Don't compile the 64-bit division helpers in userland builds.
This commit is contained in:
		
							parent
							
								
									31871557e4
								
							
						
					
					
						commit
						db6084538f
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -52,6 +52,8 @@ void* mmx_memcpy(void* dest, const void* src, size_t len) | |||
|     return dest; | ||||
| } | ||||
| 
 | ||||
| #ifdef KERNEL | ||||
| 
 | ||||
| static inline uint32_t divq(uint64_t n, uint32_t d) | ||||
| { | ||||
|     uint32_t n1 = n >> 32; | ||||
|  | @ -145,4 +147,6 @@ uint64_t __udivmoddi4(uint64_t n, uint64_t d, uint64_t* r) | |||
|     return q; | ||||
| } | ||||
| 
 | ||||
| #endif | ||||
| 
 | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling