#ifndef _ASM_GENERIC_BITOPS_BUILTIN_FFS_H_
#define _ASM_GENERIC_BITOPS_BUILTIN_FFS_H_

/**
 * ffs - find first bit set
 * @x: the word to search
 *
 * This is defined the same way as
 * the libc and compiler builtin ffs routines, therefore
 * differs in spirit from the above ffz (man ffs).
 */
static __always_inline int ffs(int x)
{
	return __builtin_ffs(x);
}

#endif
t-next.git' title='net-next.git Git repository'/>
<link rel='vcs-git' href='http:///git.distanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
</head>
<body>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/cgit.cgi/'><img src='/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/cgit.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='10fabef5134b02aa5a6f8f894d9943095d9b2ce2'/><select name='h' onchange='this.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=10fabef5134b02aa5a6f8f894d9943095d9b2ce2'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/net/batman-adv/log.h'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/net/batman-adv/log.h?id=10fabef5134b02aa5a6f8f894d9943095d9b2ce2'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/net/batman-adv/log.h?id=10fabef5134b02aa5a6f8f894d9943095d9b2ce2'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/net/batman-adv/log.h?id=10fabef5134b02aa5a6f8f894d9943095d9b2ce2'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/net/batman-adv/log.h'>
<input type='hidden' name='id' value='10fabef5134b02aa5a6f8f894d9943095d9b2ce2'/><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=10fabef5134b02aa5a6f8f894d9943095d9b2ce2'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/net?id=10fabef5134b02aa5a6f8f894d9943095d9b2ce2'>net</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/batman-adv?id=10fabef5134b02aa5a6f8f894d9943095d9b2ce2'>batman-adv</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/batman-adv/log.h?id=10fabef5134b02aa5a6f8f894d9943095d9b2ce2'>log.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/net/batman-adv/log.h?id=10fabef5134b02aa5a6f8f894d9943095d9b2ce2&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>