/* atmapi.h - ATM API user space/kernel compatibility */
 
/* Written 1999,2000 by Werner Almesberger, EPFL ICA */
 

#ifndef _LINUX_ATMAPI_H
#define _LINUX_ATMAPI_H

#if defined(__sparc__) || defined(__ia64__)
/* such alignment is not required on 32 bit sparcs, but we can't
   figure that we are on a sparc64 while compiling user-space programs. */
#define __ATM_API_ALIGN	__attribute__((aligned(8)))
#else
#define __ATM_API_ALIGN
#endif


/*
 * Opaque type for kernel pointers. Note that _ is never accessed. We need
 * the struct in order hide the array, so that we can make simple assignments
 * instead of being forced to use memcpy. It also improves error reporting for
 * code that still assumes that we're passing unsigned longs.
 *
 * Convention: NULL pointers are passed as a field of all zeroes.
 */
 
typedef struct { unsigned char _[8]; } __ATM_API_ALIGN atm_kptr_t;

#endif
<form method='get'>
<input type='hidden' name='id' value='8a0b7275268504259cc1a17bae839d23c4f6e2bc'/><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=8a0b7275268504259cc1a17bae839d23c4f6e2bc'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/include/dt-bindings/dma/at91.h?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/dt-bindings/dma/at91.h?h=nds-private-remove&amp;id=8a0b7275268504259cc1a17bae839d23c4f6e2bc'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/include/dt-bindings/dma/at91.h?h=nds-private-remove&amp;id=8a0b7275268504259cc1a17bae839d23c4f6e2bc'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/dt-bindings/dma/at91.h?h=nds-private-remove&amp;id=8a0b7275268504259cc1a17bae839d23c4f6e2bc'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/dt-bindings/dma/at91.h'>
<input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='8a0b7275268504259cc1a17bae839d23c4f6e2bc'/><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/?h=nds-private-remove&amp;id=8a0b7275268504259cc1a17bae839d23c4f6e2bc'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/include?h=nds-private-remove&amp;id=8a0b7275268504259cc1a17bae839d23c4f6e2bc'>include</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/dt-bindings?h=nds-private-remove&amp;id=8a0b7275268504259cc1a17bae839d23c4f6e2bc'>dt-bindings</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/dt-bindings/dma?h=nds-private-remove&amp;id=8a0b7275268504259cc1a17bae839d23c4f6e2bc'>dma</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/dt-bindings/dma/at91.h?h=nds-private-remove&amp;id=8a0b7275268504259cc1a17bae839d23c4f6e2bc'>at91.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/dt-bindings/dma/at91.h?h=nds-private-remove&amp;id=8a0b7275268504259cc1a17bae839d23c4f6e2bc&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>