]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NET]: Make illegal_highdma more anal
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 27 Jun 2006 20:33:10 +0000 (13:33 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 29 Jun 2006 23:57:59 +0000 (16:57 -0700)
commit3d3a85337937bb5e3db676eeb4f3bf7f02533b44
tree76cbcd89528bbefa0d586be55b15aeed322b8738
parent47da8ee681d04e68ca1b1812c10e28162150d453
[NET]: Make illegal_highdma more anal

Rather than having illegal_highdma as a macro when HIGHMEM is off, we
can turn it into an inline function that returns zero.  This will catch
callers that give it bad arguments.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c