Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323952
b: refs/heads/master
c: 6eebdda
h: refs/heads/master
v: v3
  • Loading branch information
Ian Campbell authored and Ingo Molnar committed Sep 13, 2012
1 parent 123c334 commit d64c0a5
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 816afe4ff98ee10b1d30fd66361be132a0a5cee6
refs/heads/master: 6eebdda35e6b18d0dddb2a44e34211bd94f0cad6
1 change: 0 additions & 1 deletion trunk/arch/x86/include/asm/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,6 @@ DECLARE_INIT_PER_CPU(irq_stack_union);

DECLARE_PER_CPU(char *, irq_stack_ptr);
DECLARE_PER_CPU(unsigned int, irq_count);
extern unsigned long kernel_eflags;
extern asmlinkage void ignore_sysret(void);
#else /* X86_64 */
#ifdef CONFIG_CC_STACKPROTECTOR
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/x86/kernel/cpu/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -1116,8 +1116,6 @@ void syscall_init(void)
X86_EFLAGS_TF|X86_EFLAGS_DF|X86_EFLAGS_IF|X86_EFLAGS_IOPL);
}

unsigned long kernel_eflags;

/*
* Copies of the original ist values from the tss are only accessed during
* debugging, no special alignment required.
Expand Down Expand Up @@ -1299,8 +1297,6 @@ void __cpuinit cpu_init(void)
fpu_init();
xsave_init();

raw_local_save_flags(kernel_eflags);

if (is_uv_system())
uv_cpu_init();
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/entry_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ ENTRY(ret_from_fork)

LOCK ; btr $TIF_FORK,TI_flags(%r8)

pushq_cfi kernel_eflags(%rip)
pushq_cfi $0x0002
popfq_cfi # reset kernel eflags

call schedule_tail # rdi: 'prev' task parameter
Expand Down

0 comments on commit d64c0a5

Please sign in to comment.