aboutsummaryrefslogtreecommitdiffstats
path: root/net/atm/atm_sysfs.c
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2010-11-16 11:13:10 -0500
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2010-11-16 11:22:45 -0500
commitd922f5eb1c375ab0445240110656c1d793eaad04 (patch)
treeb690dc794494a454468698c8e15c8f7d9ffad1fb /net/atm/atm_sysfs.c
parent6fbc3b495cccf2e4ab7d4ab674b5c576e9946bed (diff)
Make TRACE() buffer size configurable
Let the user choose an appropriate buffer size (instead of scaling with NR_CPUS). The kfifo api requires the buffer to be a power of two, so enforce this constraint in the configuration. This fixes a previously-existing compile-time error for values of NR_CPU that are not a power of two. Based on a patch by Mac Mollison <mollison@cs.unc.edu>.
Diffstat (limited to 'net/atm/atm_sysfs.c')
0 files changed, 0 insertions, 0 deletions