#ifndef __ASM_GENERIC_MMU_CONTEXT_H
#define __ASM_GENERIC_MMU_CONTEXT_H

/*
 * Generic hooks for NOMMU architectures, which do not need to do
 * anything special here.
 */

#include <asm-generic/mm_hooks.h>

struct task_struct;
struct mm_struct;

static inline void enter_lazy_tlb(struct mm_struct *mm,
			struct task_struct *tsk)
{
}

static inline int init_new_context(struct task_struct *tsk,
			struct mm_struct *mm)
{
	return 0;
}

static inline void destroy_context(struct mm_struct *mm)
{
}

static inline void deactivate_mm(struct task_struct *task,
			struct mm_struct *mm)
{
}

static inline void switch_mm(struct mm_struct *prev,
			struct mm_struct *next,
			struct task_struct *tsk)
{
}

static inline void activate_mm(struct mm_struct *prev_mm,
			       struct mm_struct *next_mm)
{
}

#endif /* __ASM_GENERIC_MMU_CONTEXT_H */
t.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='0b3589be9b98994ce3d5aeca52445d1f5627c4ba'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master'>master</option>
<option value='nds-private-remove' selected='selected'>nds-private-remove</option>
<option value='packet-loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&amp;id=0b3589be9b98994ce3d5aeca52445d1f5627c4ba'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/include/scsi/iscsi_proto.h?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/scsi/iscsi_proto.h?h=nds-private-remove&amp;id=0b3589be9b98994ce3d5aeca52445d1f5627c4ba'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/include/scsi/iscsi_proto.h?h=nds-private-remove&amp;id=0b3589be9b98994ce3d5aeca52445d1f5627c4ba'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/scsi/iscsi_proto.h?h=nds-private-remove&amp;id=0b3589be9b98994ce3d5aeca52445d1f5627c4ba'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/scsi/iscsi_proto.h'>
<input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='0b3589be9b98994ce3d5aeca52445d1f5627c4ba'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/commit/?h=nds-private-remove&amp;id=0b3589be9b98994ce3d5aeca52445d1f5627c4ba'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include?h=nds-private-remove&amp;id=0b3589be9b98994ce3d5aeca52445d1f5627c4ba'>include</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/scsi?h=nds-private-remove&amp;id=0b3589be9b98994ce3d5aeca52445d1f5627c4ba'>scsi</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/scsi/iscsi_proto.h?h=nds-private-remove&amp;id=0b3589be9b98994ce3d5aeca52445d1f5627c4ba'>iscsi_proto.h</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='0b3589be9b98994ce3d5aeca52445d1f5627c4ba'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><table summary='commit info' class='commit-info'>
<tr><th>author</th><td>Peter Zijlstra &lt;peterz@infradead.org&gt;</td><td class='right'>2017-01-26 23:15:08 +0100</td></tr>
<tr><th>committer</th><td>Ingo Molnar &lt;mingo@kernel.org&gt;</td><td class='right'>2017-01-30 11:41:26 +0100</td></tr>
<tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/scsi/iscsi_proto.h?h=nds-private-remove&amp;id=0b3589be9b98994ce3d5aeca52445d1f5627c4ba'>0b3589be9b98994ce3d5aeca52445d1f5627c4ba</a> (<a href='/cgit.cgi/linux/net-next.git/patch/include/scsi/iscsi_proto.h?id=0b3589be9b98994ce3d5aeca52445d1f5627c4ba'>patch</a>)</td></tr>
<tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?h=nds-private-remove&amp;id=0b3589be9b98994ce3d5aeca52445d1f5627c4ba'>85d0d9b3ac902af2c938b19a566884caf8d00323</a> /<a href='/cgit.cgi/linux/net-next.git/tree/include/scsi/iscsi_proto.h?h=nds-private-remove&amp;id=0b3589be9b98994ce3d5aeca52445d1f5627c4ba'>include/scsi/iscsi_proto.h</a></td></tr>
<tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/scsi/iscsi_proto.h?h=nds-private-remove&amp;id=a76a82a3e38c8d3fb6499e3dfaeb0949241ab588'>a76a82a3e38c8d3fb6499e3dfaeb0949241ab588</a> (<a href='/cgit.cgi/linux/net-next.git/diff/include/scsi/iscsi_proto.h?h=nds-private-remove&amp;id=0b3589be9b98994ce3d5aeca52445d1f5627c4ba&amp;id2=a76a82a3e38c8d3fb6499e3dfaeb0949241ab588'>diff</a>)</td></tr></table>
<div class='commit-subject'>perf/core: Fix PERF_RECORD_MMAP2 prot/flags for anonymous memory</div><div class='commit-msg'>Andres reported that MMAP2 records for anonymous memory always have
their protection field 0.

Turns out, someone daft put the prot/flags generation code in the file
branch, leaving them unset for anonymous memory.

Reported-by: Andres Freund &lt;andres@anarazel.de&gt;
Signed-off-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;
Cc: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;
Cc: Don Zickus &lt;dzickus@redhat.com
Cc: Jiri Olsa &lt;jolsa@redhat.com&gt;
Cc: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Stephane Eranian &lt;eranian@gmail.com&gt;
Cc: Stephane Eranian &lt;eranian@google.com&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: acme@kernel.org
Cc: anton@ozlabs.org
Cc: namhyung@kernel.org
Cc: stable@vger.kernel.org # v3.16+
Fixes: f972eb63b100 ("perf: Pass protection and flags bits through mmap2 interface")
Link: http://lkml.kernel.org/r/20170126221508.GF6536@twins.programming.kicks-ass.net
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
</div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?h=nds-private-remove&amp;id=0b3589be9b98994ce3d5aeca52445d1f5627c4ba'>Diffstat</a> (limited to 'include/scsi/iscsi_proto.h')</div><table summary='diffstat' class='diffstat'>