mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	MIPS: Add missing file for eBPF JIT.
Inexplicably, commitf381bf6d82("MIPS: Add support for eBPF JIT.") lost a file somewhere on its path to Linus' tree. Add back the missing ebpf_jit.c so that we can build with CONFIG_BPF_JIT selected. This version of ebpf_jit.c is identical to the original except for two minor change need to resolve conflicts with changes merged from the BPF branch: A) Set prog->jited_len = image_size; B) Use BPF_TAIL_CALL instead of BPF_CALL | BPF_X Fixes:f381bf6d82("MIPS: Add support for eBPF JIT.") Signed-off-by: David Daney <david.daney@cavium.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
		
							parent
							
								
									7a97325191
								
							
						
					
					
						commit
						b6bd53f9c4
					
				
					 1 changed files with 1950 additions and 0 deletions
				
			
		
							
								
								
									
										1950
									
								
								arch/mips/net/ebpf_jit.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1950
									
								
								arch/mips/net/ebpf_jit.c
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							
		Loading…
	
		Reference in a new issue