diff options
Diffstat (limited to 'arch/tile/include/asm/setup.h')
-rw-r--r-- | arch/tile/include/asm/setup.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/tile/include/asm/setup.h b/arch/tile/include/asm/setup.h index e58613e0752f..c67eb70ea78e 100644 --- a/arch/tile/include/asm/setup.h +++ b/arch/tile/include/asm/setup.h | |||
@@ -41,15 +41,15 @@ void restrict_dma_mpls(void); | |||
41 | #ifdef CONFIG_HARDWALL | 41 | #ifdef CONFIG_HARDWALL |
42 | /* User-level network management functions */ | 42 | /* User-level network management functions */ |
43 | void reset_network_state(void); | 43 | void reset_network_state(void); |
44 | void grant_network_mpls(void); | ||
45 | void restrict_network_mpls(void); | ||
46 | struct task_struct; | 44 | struct task_struct; |
47 | int hardwall_deactivate(struct task_struct *task); | 45 | void hardwall_switch_tasks(struct task_struct *prev, struct task_struct *next); |
46 | void hardwall_deactivate_all(struct task_struct *task); | ||
47 | int hardwall_ipi_valid(int cpu); | ||
48 | 48 | ||
49 | /* Hook hardwall code into changes in affinity. */ | 49 | /* Hook hardwall code into changes in affinity. */ |
50 | #define arch_set_cpus_allowed(p, new_mask) do { \ | 50 | #define arch_set_cpus_allowed(p, new_mask) do { \ |
51 | if (p->thread.hardwall && !cpumask_equal(&p->cpus_allowed, new_mask)) \ | 51 | if (!cpumask_equal(&p->cpus_allowed, new_mask)) \ |
52 | hardwall_deactivate(p); \ | 52 | hardwall_deactivate_all(p); \ |
53 | } while (0) | 53 | } while (0) |
54 | #endif | 54 | #endif |
55 | 55 | ||