tweak
This commit is contained in:
		
							parent
							
								
									b02e13f0f6
								
							
						
					
					
						commit
						e936743429
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		
							
								
								
									
										1
									
								
								trap.c
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								trap.c
									
										
									
									
									
								
							|  | @ -43,6 +43,7 @@ trap(struct trapframe *tf) | ||||||
|     return; |     return; | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|  |   // PAGEBREAK: 10
 | ||||||
|   // Increment nlock to make sure interrupts stay off
 |   // Increment nlock to make sure interrupts stay off
 | ||||||
|   // during interrupt handler.  Decrement before returning.
 |   // during interrupt handler.  Decrement before returning.
 | ||||||
|   cpus[cpu()].nlock++; |   cpus[cpu()].nlock++; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue