mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-10 15:54:39 +08:00
8235703e10
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
32 lines
697 B
C
32 lines
697 B
C
/*
|
|
* Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef _ASM_ARC_MMU_H
|
|
#define _ASM_ARC_MMU_H
|
|
|
|
#if defined(CONFIG_ARC_MMU_V1)
|
|
#define CONFIG_ARC_MMU_VER 1
|
|
#elif defined(CONFIG_ARC_MMU_V2)
|
|
#define CONFIG_ARC_MMU_VER 2
|
|
#elif defined(CONFIG_ARC_MMU_V3)
|
|
#define CONFIG_ARC_MMU_VER 3
|
|
#endif
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
typedef struct {
|
|
unsigned long asid; /* Pvt Addr-Space ID for mm */
|
|
#ifdef CONFIG_ARC_TLB_DBG
|
|
struct task_struct *tsk;
|
|
#endif
|
|
} mm_context_t;
|
|
|
|
#endif
|
|
|
|
#endif
|