This patch removes definitions and macros that are not used anymore from processor_64.h Signed-off-by: Glauber de Oliveira Costa <[email protected]> --- include/asm-x86/processor_64.h | 14 -------------- 1 files changed, 0 insertions(+), 14 deletions(-) Index: linux-2.6-x86/include/asm-x86/processor_64.h =================================================================== --- linux-2.6-x86.orig/include/asm-x86/processor_64.h +++ linux-2.6-x86/include/asm-x86/processor_64.h @@ -18,8 +18,6 @@ #include <linux/personality.h> #include <asm/desc_defs.h> -extern char ignore_irq13; - extern void identify_cpu(struct cpuinfo_x86 *); /* @@ -68,9 +66,6 @@ DECLARE_PER_CPU(struct orig_ist, orig_is .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); \ @@ -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 */ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- [PATCH 16/21] [PATCH] unify mm_segment_t definition
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 16/21] [PATCH] unify mm_segment_t definition
- References:
- [PATCH 0/21] Integrate processor.h
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 1/21] move tsc definitions to were they belong
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 2/21] [PATCH] get rid of _MASK flags
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 3/21] [PATCH] move desc_empty to where they belong
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 4/21] [PATCH] move load_cr3 to a common place.
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 5/21] [PATCH] unify paravirt pieces of processor.h
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 6/21] [PATCH] move the definition of set_iopl_mask to common header
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 7/21] [PATCH] unify common parts of processor.h
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 8/21] [PATCH] unify current_text_addr
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 9/21] [PATCH] unify tss_struct
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 10/21] [PATCH] provide x86_64 with a load_sp0 function.
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 11/21] [PATCH] unify thread struct.
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 12/21] [PATCH] unify TASK_ALIGN definitions
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 13/21] [PATCH] change bitwise operations to get a void parameter.
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 14/21] [PATCH] unify x86_cpuinfo struct.
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 0/21] Integrate processor.h
- Prev by Date: Re: [PATCH] sata_mv: improve warnings about Highpoint RocketRAID 23xx cards
- Next by Date: [PATCH 13/21] [PATCH] change bitwise operations to get a void parameter.
- Previous by thread: [PATCH 14/21] [PATCH] unify x86_cpuinfo struct.
- Next by thread: [PATCH 16/21] [PATCH] unify mm_segment_t definition
- Index(es):