diff options
Diffstat (limited to 'arch/tile/mm/migrate.h')
-rw-r--r-- | arch/tile/mm/migrate.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/tile/mm/migrate.h b/arch/tile/mm/migrate.h index cd45a0837fa6..91683d97917e 100644 --- a/arch/tile/mm/migrate.h +++ b/arch/tile/mm/migrate.h | |||
@@ -24,6 +24,9 @@ | |||
24 | /* | 24 | /* |
25 | * This function is used as a helper when setting up the initial | 25 | * This function is used as a helper when setting up the initial |
26 | * page table (swapper_pg_dir). | 26 | * page table (swapper_pg_dir). |
27 | * | ||
28 | * You must mask ALL interrupts prior to invoking this code, since | ||
29 | * you can't legally touch the stack during the cache flush. | ||
27 | */ | 30 | */ |
28 | extern int flush_and_install_context(HV_PhysAddr page_table, HV_PTE access, | 31 | extern int flush_and_install_context(HV_PhysAddr page_table, HV_PTE access, |
29 | HV_ASID asid, | 32 | HV_ASID asid, |
@@ -39,6 +42,9 @@ extern int flush_and_install_context(HV_PhysAddr page_table, HV_PTE access, | |||
39 | * | 42 | * |
40 | * Note that any non-NULL pointers must not point to the page that | 43 | * Note that any non-NULL pointers must not point to the page that |
41 | * is handled by the stack_pte itself. | 44 | * is handled by the stack_pte itself. |
45 | * | ||
46 | * You must mask ALL interrupts prior to invoking this code, since | ||
47 | * you can't legally touch the stack during the cache flush. | ||
42 | */ | 48 | */ |
43 | extern int homecache_migrate_stack_and_flush(pte_t stack_pte, unsigned long va, | 49 | extern int homecache_migrate_stack_and_flush(pte_t stack_pte, unsigned long va, |
44 | size_t length, pte_t *stack_ptep, | 50 | size_t length, pte_t *stack_ptep, |