[PATCH v2 0/6] Baby steps toward cleaning up KERNEL_STACK_OFFSET

2015-03-05 Thread Andy Lutomirski
Denys is right that KERNEL_STACK_OFFSET is a mess. Let's start fixing it. This removes all C code that *reads* kernel_stack. It also fixes the KERNEL_STACK_OFFSET abomination in ia32_sysenter_target. It does not fix the KERNEL_STACK_OFFSET abomination in GET_THREAD_INFO and THREAD_INFO. I

[PATCH v2 0/6] Baby steps toward cleaning up KERNEL_STACK_OFFSET

2015-03-05 Thread Andy Lutomirski
Denys is right that KERNEL_STACK_OFFSET is a mess. Let's start fixing it. This removes all C code that *reads* kernel_stack. It also fixes the KERNEL_STACK_OFFSET abomination in ia32_sysenter_target. It does not fix the KERNEL_STACK_OFFSET abomination in GET_THREAD_INFO and THREAD_INFO. I