#!/bin/bash
#
# gen_kselftest_tar
# Generate kselftest tarball
# Author: Shuah Khan <shuahkh@osg.samsung.com>
# Copyright (C) 2015 Samsung Electronics Co., Ltd.

# This software may be freely redistributed under the terms of the GNU
# General Public License (GPLv2).

# main
main()
{
	if [ "$#" -eq 0 ]; then
		echo "$0: Generating default compression gzip"
		copts="cvzf"
		ext=".tar.gz"
	else
		case "$1" in
			tar)
				copts="cvf"
				ext=".tar"
				;;
			targz)
				copts="cvzf"
				ext=".tar.gz"
				;;
			tarbz2)
				copts="cvjf"
				ext=".tar.bz2"
				;;
			tarxz)
				copts="cvJf"
				ext=".tar.xz"
				;;
			*)
			echo "Unknown tarball format $1"
			exit 1
			;;
	esac
	fi

	install_dir=./kselftest

# Run install using INSTALL_KSFT_PATH override to generate install
# directory
./kselftest_install.sh
tar $copts kselftest${ext} $install_dir
echo "Kselftest archive kselftest${ext} created!"

# clean up install directory
rm -rf kselftest
}

main "$@"
lue='530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f'/><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=530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/include/net/irda?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/net/irda?h=nds-private-remove&amp;id=530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/include/net/irda?h=nds-private-remove&amp;id=530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/net/irda?h=nds-private-remove&amp;id=530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/net/irda'>
<input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f'/><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=530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include?h=nds-private-remove&amp;id=530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f'>include</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/net?h=nds-private-remove&amp;id=530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f'>net</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/net/irda?h=nds-private-remove&amp;id=530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f'>irda</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='530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f'/><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>Thomas Gleixner &lt;tglx@linutronix.de&gt;</td><td class='right'>2016-12-21 20:19:53 +0100</td></tr>
<tr><th>committer</th><td>Thomas Gleixner &lt;tglx@linutronix.de&gt;</td><td class='right'>2016-12-25 10:47:43 +0100</td></tr>
<tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/net/irda?h=nds-private-remove&amp;id=530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f'>530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f</a> (<a href='/cgit.cgi/linux/net-next.git/patch/include/net/irda?id=530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f'>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=530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f'>3f8da3a319b88466effa991910c568d038ecfa4b</a> /<a href='/cgit.cgi/linux/net-next.git/tree/include/net/irda?h=nds-private-remove&amp;id=530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f'>include/net/irda</a></td></tr>
<tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/net/irda?h=nds-private-remove&amp;id=7b737965b33188bd3dbb44e938535c4006d97fbb'>7b737965b33188bd3dbb44e938535c4006d97fbb</a> (<a href='/cgit.cgi/linux/net-next.git/diff/include/net/irda?h=nds-private-remove&amp;id=530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f&amp;id2=7b737965b33188bd3dbb44e938535c4006d97fbb'>diff</a>)</td></tr></table>
<div class='commit-subject'>cpu/hotplug: Remove obsolete cpu hotplug register/unregister functions</div><div class='commit-msg'>hotcpu_notifier(), cpu_notifier(), __hotcpu_notifier(), __cpu_notifier(),
register_hotcpu_notifier(), register_cpu_notifier(),
__register_hotcpu_notifier(), __register_cpu_notifier(),
unregister_hotcpu_notifier(), unregister_cpu_notifier(),
__unregister_hotcpu_notifier(), __unregister_cpu_notifier()

are unused now. Remove them and all related code.

Remove also the now pointless cpu notifier error injection mechanism. The
states can be executed step by step and error rollback is the same as cpu
down, so any state transition can be tested w/o requiring the notifier
error injection.

Some CPU hotplug states are kept as they are (ab)used for hotplug state
tracking.

Signed-off-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: rt@linutronix.de
Link: http://lkml.kernel.org/r/20161221192112.005642358@linutronix.de
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;

</div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?h=nds-private-remove&amp;id=530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f'>Diffstat</a> (limited to 'include/net/irda')</div><table summary='diffstat' class='diffstat'>