1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 3 * Definitions used by low-level trap handlers 4 * 5 * Copyright (C) 2008-2009 Michal Simek <monst 6 * Copyright (C) 2007-2009 PetaLogix 7 * Copyright (C) 2007 John Williams <john.will 8 */ 9 10 #ifndef _ASM_MICROBLAZE_ENTRY_H 11 #define _ASM_MICROBLAZE_ENTRY_H 12 13 #include <asm/percpu.h> 14 #include <asm/ptrace.h> 15 #include <linux/linkage.h> 16 17 /* 18 * These are per-cpu variables required in ent 19 * places 20 */ 21 22 #define PER_CPU(var) var 23 24 # ifndef __ASSEMBLY__ 25 DECLARE_PER_CPU(unsigned int, KSP); /* Saved k 26 DECLARE_PER_CPU(unsigned int, KM); /* Kernel/u 27 DECLARE_PER_CPU(unsigned int, ENTRY_SP); /* Sa 28 DECLARE_PER_CPU(unsigned int, R11_SAVE); /* Te 29 DECLARE_PER_CPU(unsigned int, CURRENT_SAVE); / 30 31 extern asmlinkage void do_notify_resume(struct 32 # endif /* __ASSEMBLY__ */ 33 34 #endif /* _ASM_MICROBLAZE_ENTRY_H */ 35
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.