page_fault_handler: fix missing increment of in_page_fault on SEGV

This integrates some of the changes of the following commit:
1cf0bd5a ("TO RESET: add debug instruments, map Linux areas for tofu")

Change-Id: Iffd8432d5a7b35f20bd45829a125583a0363dbf0
This commit is contained in:
Masamichi Takagi
2021-02-07 20:26:18 -05:00
parent 4905c8e638
commit 11b9fe0377
2 changed files with 1 additions and 6 deletions

View File

@ -106,9 +106,7 @@ struct cpu_local_var {
ihk_spinlock_t migq_lock;
struct list_head migq;
int in_interrupt;
#ifdef ENABLE_FUGAKU_HACKS
int in_page_fault;
#endif
int no_preempt;
int timer_enabled;
unsigned long nr_ctx_switches;