From 871480933a1c28f8a9fed4c4d34d06c439a7a422 Mon Sep 17 00:00:00 2001 From: Srikant Patnaik Date: Sun, 11 Jan 2015 12:28:04 +0530 Subject: Moved, renamed, and deleted files The original directory structure was scattered and unorganized. Changes are basically to make it look like kernel structure. --- ANDROID_3.4.5/arch/x86/include/asm/irq_regs.h | 31 --------------------------- 1 file changed, 31 deletions(-) delete mode 100644 ANDROID_3.4.5/arch/x86/include/asm/irq_regs.h (limited to 'ANDROID_3.4.5/arch/x86/include/asm/irq_regs.h') diff --git a/ANDROID_3.4.5/arch/x86/include/asm/irq_regs.h b/ANDROID_3.4.5/arch/x86/include/asm/irq_regs.h deleted file mode 100644 index 77843225..00000000 --- a/ANDROID_3.4.5/arch/x86/include/asm/irq_regs.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Per-cpu current frame pointer - the location of the last exception frame on - * the stack, stored in the per-cpu area. - * - * Jeremy Fitzhardinge - */ -#ifndef _ASM_X86_IRQ_REGS_H -#define _ASM_X86_IRQ_REGS_H - -#include - -#define ARCH_HAS_OWN_IRQ_REGS - -DECLARE_PER_CPU(struct pt_regs *, irq_regs); - -static inline struct pt_regs *get_irq_regs(void) -{ - return percpu_read(irq_regs); -} - -static inline struct pt_regs *set_irq_regs(struct pt_regs *new_regs) -{ - struct pt_regs *old_regs; - - old_regs = get_irq_regs(); - percpu_write(irq_regs, new_regs); - - return old_regs; -} - -#endif /* _ASM_X86_IRQ_REGS_32_H */ -- cgit