aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory_hotplug.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2011-03-31 21:18:15 -0400
committerSteve French <sfrench@us.ibm.com>2011-05-19 14:10:53 +0000
commit460458ce8ec195a1902f0c742b76880fbd01dd96 (patch)
tree00ebdd1ce2f23cf0f0d5359befc3a7715d3dc8a8 /mm/memory_hotplug.c
parent820a803ffac3ef591e597bc107f8e289a823a29c (diff)
downloadkernel_samsung_tuna-460458ce8ec195a1902f0c742b76880fbd01dd96.zip
kernel_samsung_tuna-460458ce8ec195a1902f0c742b76880fbd01dd96.tar.gz
kernel_samsung_tuna-460458ce8ec195a1902f0c742b76880fbd01dd96.tar.bz2
cifs: turn BCC into a static inlined function
It's a bad idea to have macro functions that reference variables more than once, as the arguments could have side effects. Turn BCC() into a static inlined function instead. While we're at it, make it return a void * to discourage anyone from dereferencing it as-is. Reported-and-acked-by: David Howells <dhowells@redhat.com> Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com> Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'mm/memory_hotplug.c')
0 files changed, 0 insertions, 0 deletions