diff options
author | Jiri Slaby <jslaby@suse.cz> | 2010-01-08 00:03:26 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-08 00:03:26 -0800 |
commit | 76704fb56c7317ae02c3267fc31d215f3a2528ca (patch) | |
tree | 9175710b17e36663ef32f49ad990d894ca9d1491 /arch/sparc/kernel/sun4m_smp.c | |
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>
Diffstat (limited to 'arch/sparc/kernel/sun4m_smp.c')
0 files changed, 0 insertions, 0 deletions