commit | 76704fb56c7317ae02c3267fc31d215f3a2528ca | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Fri Jan 08 00:03:26 2010 -0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Jan 08 00:03:26 2010 -0800 |
tree | 9175710b17e36663ef32f49ad990d894ca9d1491 | |
parent | 6df1c176994fab993f3112e3e4145a7d2bae64d0 [diff] |
SPARC: use helpers for rlimits Make sure compiler won't do weird things with limits. E.g. fetching them twice may return 2 different values after writable limits are implemented. I.e. either use rlimit helpers added in 3e10e716abf3c71bdb5d86b8f507f9e72236c9cd or ACCESS_ONCE if not applicable. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: David S. Miller <davem@davemloft.net>