int midi_synth_ioctl (int dev,
	    unsigned int cmd, void __user * arg);
int midi_synth_kill_note (int dev, int channel, int note, int velocity);
int midi_synth_set_instr (int dev, int channel, int instr_no);
int midi_synth_start_note (int dev, int channel, int note, int volume);
void midi_synth_reset (int dev);
int midi_synth_open (int dev, int mode);
void midi_synth_close (int dev);
void midi_synth_hw_control (int dev, unsigned char *event);
int midi_synth_load_patch (int dev, int format, const char __user * addr,
		 int count, int pmgr_flag);
void midi_synth_panning (int dev, int channel, int pressure);
void midi_synth_aftertouch (int dev, int channel, int pressure);
void midi_synth_controller (int dev, int channel, int ctrl_num, int value);
void midi_synth_bender (int dev, int chn, int value);
void midi_synth_setup_voice (int dev, int voice, int chn);
int midi_synth_send_sysex(int dev, unsigned char *bytes,int len);

#ifndef _MIDI_SYNTH_C_
static struct synth_info std_synth_info =
{MIDI_SYNTH_NAME, 0, SYNTH_TYPE_MIDI, 0, 0, 128, 0, 128, MIDI_SYNTH_CAPS};

static struct synth_operations std_midi_synth =
{
	.owner		= THIS_MODULE,
	.id		= "MIDI",
	.info		= &std_synth_info,
	.midi_dev	= 0,
	.synth_type	= SYNTH_TYPE_MIDI,
	.synth_subtype	= 0,
	.open		= midi_synth_open,
	.close		= midi_synth_close,
	.ioctl		= midi_synth_ioctl,
	.kill_note	= midi_synth_kill_note,
	.start_note	= midi_synth_start_note,
	.set_instr	= midi_synth_set_instr,
	.reset		= midi_synth_reset,
	.hw_control	= midi_synth_hw_control,
	.load_patch	= midi_synth_load_patch,
	.aftertouch	= midi_synth_aftertouch,
	.controller	= midi_synth_controller,
	.panning		= midi_synth_panning,
	.bender		= midi_synth_bender,
	.setup_voice	= midi_synth_setup_voice,
	.send_sysex	= midi_synth_send_sysex
};
#endif
ext.git/tree/net/xfrm/xfrm_replay.c?id=2ad5d52d42810bed95100a3d912679d8864421ec'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/net/xfrm/xfrm_replay.c?id=2ad5d52d42810bed95100a3d912679d8864421ec'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/net/xfrm/xfrm_replay.c?id=2ad5d52d42810bed95100a3d912679d8864421ec'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/net/xfrm/xfrm_replay.c'>
<input type='hidden' name='id' value='2ad5d52d42810bed95100a3d912679d8864421ec'/><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/?id=2ad5d52d42810bed95100a3d912679d8864421ec'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/net?id=2ad5d52d42810bed95100a3d912679d8864421ec'>net</a>/<a href='/cgit.cgi/linux/net-next.git/commit/net/xfrm?id=2ad5d52d42810bed95100a3d912679d8864421ec'>xfrm</a>/<a href='/cgit.cgi/linux/net-next.git/commit/net/xfrm/xfrm_replay.c?id=2ad5d52d42810bed95100a3d912679d8864421ec'>xfrm_replay.c</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='2ad5d52d42810bed95100a3d912679d8864421ec'/><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>Helge Deller &lt;deller@gmx.de&gt;</td><td class='right'>2017-01-28 11:52:02 +0100</td></tr>
<tr><th>committer</th><td>Helge Deller &lt;deller@gmx.de&gt;</td><td class='right'>2017-01-28 21:54:23 +0100</td></tr>
<tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/net/xfrm/xfrm_replay.c?id=2ad5d52d42810bed95100a3d912679d8864421ec'>2ad5d52d42810bed95100a3d912679d8864421ec</a> (<a href='/cgit.cgi/linux/net-next.git/patch/net/xfrm/xfrm_replay.c?id=2ad5d52d42810bed95100a3d912679d8864421ec'>patch</a>)</td></tr>
<tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=2ad5d52d42810bed95100a3d912679d8864421ec'>7f93e2f906b1c86f5b76c0f4c0978d41a8a29861</a> /<a href='/cgit.cgi/linux/net-next.git/tree/net/xfrm/xfrm_replay.c?id=2ad5d52d42810bed95100a3d912679d8864421ec'>net/xfrm/xfrm_replay.c</a></td></tr>
<tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/net/xfrm/xfrm_replay.c?id=83b5d1e3d3013dbf90645a5d07179d018c8243fa'>83b5d1e3d3013dbf90645a5d07179d018c8243fa</a> (<a href='/cgit.cgi/linux/net-next.git/diff/net/xfrm/xfrm_replay.c?id=2ad5d52d42810bed95100a3d912679d8864421ec&amp;id2=83b5d1e3d3013dbf90645a5d07179d018c8243fa'>diff</a>)</td></tr></table>
<div class='commit-subject'>parisc: Don't use BITS_PER_LONG in userspace-exported swab.h header</div><div class='commit-msg'>In swab.h the "#if BITS_PER_LONG &gt; 32" breaks compiling userspace programs if
BITS_PER_LONG is #defined by userspace with the sizeof() compiler builtin.

Solve this problem by using __BITS_PER_LONG instead.  Since we now
#include asm/bitsperlong.h avoid further potential userspace pollution
by moving the #define of SHIFT_PER_LONG to bitops.h which is not
exported to userspace.

This patch unbreaks compiling qemu on hppa/parisc.

Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
Cc: &lt;stable@vger.kernel.org&gt;
</div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=2ad5d52d42810bed95100a3d912679d8864421ec'>Diffstat</a> (limited to 'net/xfrm/xfrm_replay.c')</div><table summary='diffstat' class='diffstat'>