aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/moduleparam.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-11-22 12:30:25 +1030
committerRusty Russell <rusty@rustcorp.com.au>2012-12-14 13:05:30 +1030
commit6f33d58794ef4cef4b2c706029810f9688bd3026 (patch)
tree9004029454efa12a5d662592bea16c54452130a0 /include/linux/moduleparam.h
parentMODSIGN: Add modules_sign make target (diff)
downloadwireguard-linux-6f33d58794ef4cef4b2c706029810f9688bd3026.tar.xz
wireguard-linux-6f33d58794ef4cef4b2c706029810f9688bd3026.zip
__UNIQUE_ID()
Jan Beulich points out __COUNTER__ (gcc 4.3 and above), so let's use that to create unique ids. This is better than __LINE__ which we use today, so provide a wrapper. Stanislaw Gruszka <sgruszka@redhat.com> reported that some module parameters start with a digit, so we need to prepend when we for the unique id. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Acked-by: Jan Beulich <jbeulich@suse.com>
Diffstat (limited to 'include/linux/moduleparam.h')
0 files changed, 0 insertions, 0 deletions