mirror of
				https://github.com/torvalds/linux.git
				synced 2025-10-31 16:48:26 +02:00 
			
		
		
		
	riscv: Enable BUILDTIME_TABLE_SORT
Enable BUILDTIME_TABLE_SORT to sort the exception table at build time rather than during boot. Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
		
							parent
							
								
									cbba178708
								
							
						
					
					
						commit
						54fed35fd3
					
				
					 2 changed files with 2 additions and 0 deletions
				
			
		|  | @ -41,6 +41,7 @@ config RISCV | ||||||
| 	select ARCH_WANT_FRAME_POINTERS | 	select ARCH_WANT_FRAME_POINTERS | ||||||
| 	select ARCH_WANT_HUGE_PMD_SHARE if 64BIT | 	select ARCH_WANT_HUGE_PMD_SHARE if 64BIT | ||||||
| 	select BINFMT_FLAT_NO_DATA_START_OFFSET if !MMU | 	select BINFMT_FLAT_NO_DATA_START_OFFSET if !MMU | ||||||
|  | 	select BUILDTIME_TABLE_SORT if MMU | ||||||
| 	select CLONE_BACKWARDS | 	select CLONE_BACKWARDS | ||||||
| 	select CLINT_TIMER if !MMU | 	select CLINT_TIMER if !MMU | ||||||
| 	select COMMON_CLK | 	select COMMON_CLK | ||||||
|  |  | ||||||
|  | @ -349,6 +349,7 @@ static int do_file(char const *const fname, void *addr) | ||||||
| 	case EM_ARM: | 	case EM_ARM: | ||||||
| 	case EM_MICROBLAZE: | 	case EM_MICROBLAZE: | ||||||
| 	case EM_MIPS: | 	case EM_MIPS: | ||||||
|  | 	case EM_RISCV: | ||||||
| 	case EM_XTENSA: | 	case EM_XTENSA: | ||||||
| 		break; | 		break; | ||||||
| 	default: | 	default: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Jisheng Zhang
						Jisheng Zhang