File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -138,17 +138,13 @@ static void __init setup_cpu_entry_area(unsigned int cpu)
138
138
pgprot_t tss_prot = PAGE_KERNEL_RO ;
139
139
#else
140
140
/*
141
- * On native 32-bit systems, the GDT cannot be read-only because
141
+ * On 32-bit systems, the GDT cannot be read-only because
142
142
* our double fault handler uses a task gate, and entering through
143
143
* a task gate needs to change an available TSS to busy. If the
144
144
* GDT is read-only, that will triple fault. The TSS cannot be
145
145
* read-only because the CPU writes to it on task switches.
146
- *
147
- * On Xen PV, the GDT must be read-only because the hypervisor
148
- * requires it.
149
146
*/
150
- pgprot_t gdt_prot = boot_cpu_has (X86_FEATURE_XENPV ) ?
151
- PAGE_KERNEL_RO : PAGE_KERNEL ;
147
+ pgprot_t gdt_prot = PAGE_KERNEL ;
152
148
pgprot_t tss_prot = PAGE_KERNEL ;
153
149
#endif
154
150
You can’t perform that action at this time.
0 commit comments