/* Generic task switch macro wrapper, based on MN10300 definitions. * * It should be possible to use these on really simple architectures, * but it serves more as a starting point for new ports. * * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public Licence * as published by the Free Software Foundation; either version * 2 of the Licence, or (at your option) any later version. */ #ifndef __ASM_GENERIC_SWITCH_TO_H #define __ASM_GENERIC_SWITCH_TO_H #include <linux/thread_info.h> /* * Context switching is now performed out-of-line in switch_to.S */ extern struct task_struct *__switch_to(struct task_struct *, struct task_struct *); #define switch_to(prev, next, last) \ do { \ ((last) = __switch_to((prev), (next))); \ } while (0) #endif /* __ASM_GENERIC_SWITCH_TO_H */ form.submit();'> <option value='emaclite-cleanup'>emaclite-cleanup</option> <option value='master' selected='selected'>master</option> <option value='nds-private-remove'>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/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=10ecc728fe12dbd206e2d4d8b6e96082632b969c'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/include/uapi/asm-generic/kvm_para.h'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/uapi/asm-generic/kvm_para.h?id=10ecc728fe12dbd206e2d4d8b6e96082632b969c'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/include/uapi/asm-generic/kvm_para.h?id=10ecc728fe12dbd206e2d4d8b6e96082632b969c'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/uapi/asm-generic/kvm_para.h?id=10ecc728fe12dbd206e2d4d8b6e96082632b969c'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/uapi/asm-generic/kvm_para.h'> <input type='hidden' name='id' value='10ecc728fe12dbd206e2d4d8b6e96082632b969c'/><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/log/?id=10ecc728fe12dbd206e2d4d8b6e96082632b969c'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/include?id=10ecc728fe12dbd206e2d4d8b6e96082632b969c'>include</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/uapi?id=10ecc728fe12dbd206e2d4d8b6e96082632b969c'>uapi</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/uapi/asm-generic?id=10ecc728fe12dbd206e2d4d8b6e96082632b969c'>asm-generic</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/uapi/asm-generic/kvm_para.h?id=10ecc728fe12dbd206e2d4d8b6e96082632b969c'>kvm_para.h</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/include/uapi/asm-generic/kvm_para.h?id=10ecc728fe12dbd206e2d4d8b6e96082632b969c&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>