mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
f1f3347da9
ARC700 MMU provides for tagging TLB entries with a 8-bit ASID to avoid having to flush the TLB every task switch. It also allows for a quick way to invalidate all the TLB entries for task useful for: * COW sementics during fork() * task exit()ing Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
24 lines
505 B
C
24 lines
505 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
|
|
|
|
#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
|