Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

microblaze_mmu_v2: Add CURRENT_TASK for entry.S

Signed-off-by: Michal Simek <monstr@monstr.eu>

+8
+8
arch/microblaze/include/asm/current.h
··· 1 1 /* 2 + * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> 3 + * Copyright (C) 2008-2009 PetaLogix 2 4 * Copyright (C) 2006 Atmark Techno, Inc. 3 5 * 4 6 * This file is subject to the terms and conditions of the GNU General Public ··· 11 9 #ifndef _ASM_MICROBLAZE_CURRENT_H 12 10 #define _ASM_MICROBLAZE_CURRENT_H 13 11 12 + /* 13 + * Register used to hold the current task pointer while in the kernel. 14 + * Any `call clobbered' register without a special meaning should be OK, 15 + * but check asm/microblaze/kernel/entry.S to be sure. 16 + */ 17 + #define CURRENT_TASK r31 14 18 # ifndef __ASSEMBLY__ 15 19 /* 16 20 * Dedicate r31 to keeping the current task pointer