|
@@ -17,12 +17,12 @@
|
|
# define AT_VECTOR_SIZE_ARCH 1
|
|
# define AT_VECTOR_SIZE_ARCH 1
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#ifdef CONFIG_X86_32
|
|
|
|
-
|
|
|
|
struct task_struct; /* one of the stranger aspects of C forward declarations */
|
|
struct task_struct; /* one of the stranger aspects of C forward declarations */
|
|
struct task_struct *__switch_to(struct task_struct *prev,
|
|
struct task_struct *__switch_to(struct task_struct *prev,
|
|
struct task_struct *next);
|
|
struct task_struct *next);
|
|
|
|
|
|
|
|
+#ifdef CONFIG_X86_32
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* Saving eflags is important. It switches not only IOPL between tasks,
|
|
* Saving eflags is important. It switches not only IOPL between tasks,
|
|
* it also protects other tasks from NT leaking through sysenter etc.
|
|
* it also protects other tasks from NT leaking through sysenter etc.
|