Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80041
b: refs/heads/master
c: 2c1c468
h: refs/heads/master
i:
  80039: 2a48c07
v: v3
  • Loading branch information
Glauber de Oliveira Costa authored and Ingo Molnar committed Jan 30, 2008
1 parent 84aef54 commit f246b22
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 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: 5300db887e251276eaab2801af297acf4b53b9eb
refs/heads/master: 2c1c468a382e64afccacdfe03fa4c0615cd4264f
14 changes: 0 additions & 14 deletions trunk/include/asm-x86/processor_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
#include <linux/personality.h>
#include <asm/desc_defs.h>

extern char ignore_irq13;

extern void identify_cpu(struct cpuinfo_x86 *);

/*
Expand Down Expand Up @@ -68,9 +66,6 @@ DECLARE_PER_CPU(struct orig_ist, orig_ist);
.x86_tss.sp0 = (unsigned long)&init_stack + sizeof(init_stack) \
}

#define INIT_MMAP \
{ &init_mm, 0, 0, NULL, PAGE_SHARED, VM_READ | VM_WRITE | VM_EXEC, 1, NULL, NULL }

#define start_thread(regs,new_rip,new_rsp) do { \
asm volatile("movl %0,%%fs; movl %0,%%es; movl %0,%%ds": :"r" (0)); \
load_gs_index(0); \
Expand Down Expand Up @@ -144,13 +139,4 @@ static inline void prefetchw(void *x)
"r" (x));
}


#define stack_current() \
({ \
struct thread_info *ti; \
asm("andq %%rsp,%0; ":"=r" (ti) : "0" (CURRENT_MASK)); \
ti->task; \
})


#endif /* __ASM_X86_64_PROCESSOR_H */

0 comments on commit f246b22

Please sign in to comment.