Skip to content

Commit

Permalink
net/tipc/subscr.c: don't use ___constant_swab32
Browse files Browse the repository at this point in the history
It's an internal implementation detail which we _should_ be free to change. 
So we did, and it promptly broke.

The compiler shold be able to work out when to use the __constant version
anyway.

Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
akpm00 authored and davem330 committed Aug 13, 2008
1 parent 83f36f3 commit 6ced0b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/tipc/subscr.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ static struct top_srv topsrv = { 0 };

static u32 htohl(u32 in, int swap)
{
return swap ? (u32)___constant_swab32(in) : in;
return swap ? swab32(in) : in;
}

/**
Expand Down

0 comments on commit 6ced0b3

Please sign in to comment.