You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Fix 64bit SMP TLB handler and stack frame handling, optimize 32bit SMP
TLB handlers a bit, match definitions in pgtable-{32,64}.h better.
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
committed by
Ralf Baechle
parent
7c2740f1c1
commit
1b3a6e975c
@@ -30,7 +30,7 @@ extern unsigned long pgd_current[];
|
||||
|
||||
#ifdef CONFIG_32BIT
|
||||
#define TLBMISS_HANDLER_SETUP() \
|
||||
write_c0_context((unsigned long) smp_processor_id() << 23); \
|
||||
write_c0_context((unsigned long) smp_processor_id() << 25); \
|
||||
TLBMISS_HANDLER_SETUP_PGD(swapper_pg_dir)
|
||||
#endif
|
||||
#if defined(CONFIG_64BIT) && !defined(CONFIG_BUILD_ELF64)
|
||||
@@ -40,7 +40,7 @@ extern unsigned long pgd_current[];
|
||||
#endif
|
||||
#if defined(CONFIG_64BIT) && defined(CONFIG_BUILD_ELF64)
|
||||
#define TLBMISS_HANDLER_SETUP() \
|
||||
write_c0_context((unsigned long) smp_processor_id() << 23); \
|
||||
write_c0_context((unsigned long) smp_processor_id() << 26); \
|
||||
TLBMISS_HANDLER_SETUP_PGD(swapper_pg_dir)
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user