linux/include/asm-powerpc
David Gibson c91ef59861 [POWERPC] More DCR native fixups
Getting BenH's new EMAC driver working on 440GP, I found some more
problems in the native mode paths of the new DCR code:
	- dcr_map() is supposed to return a dcr_host_t, but the native
version is a macro that doesn't expand to an expression.  With native
DCRs, dcr_host_t is an empty structure, so we just use a constructor
expression instead.
	- dcr_unmap() uses {} instead of the safer do {} while (0)
idiom to implement a no-op

Here's a fix.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-02-16 14:00:19 +11:00
..
2007-02-07 14:03:19 +11:00
2006-11-01 14:52:48 +11:00
2006-12-04 20:39:30 +11:00
2007-02-16 14:00:19 +11:00
2007-01-30 08:39:21 -08:00
2007-02-07 14:03:22 +11:00
2007-01-24 21:13:59 +11:00
2006-12-04 20:40:44 +11:00
2007-02-07 14:03:21 +11:00
2006-12-11 16:35:07 +11:00
2007-02-07 14:03:19 +11:00
2006-07-03 15:27:00 -07:00
2006-12-07 08:39:25 -08:00
2006-09-26 08:48:51 -07:00
2006-06-30 18:20:44 +02:00
2007-02-16 14:00:19 +11:00
2007-01-11 18:18:22 -08:00
2006-11-13 14:44:58 +11:00
2006-12-04 15:59:07 +11:00
2007-02-16 14:00:19 +11:00
2007-02-12 09:48:44 -08:00
2007-02-07 14:03:22 +11:00
2007-02-07 14:03:21 +11:00
2006-06-29 16:58:06 -07:00
2006-12-04 20:40:52 +11:00
2006-10-25 14:20:20 +10:00
2007-02-13 15:35:52 +11:00
2006-12-08 08:28:57 -08:00
2006-10-25 11:54:18 +10:00
2006-12-07 08:39:37 -08:00