Release 4.7 kernel/bounds.c
/*
* Generate definitions needed by the preprocessor.
* This code generates raw asm output which is post-processed
* to extract and format the required data.
*/
#define __GENERATING_BOUNDS_H
/* Include headers that define the enum constants of interest */
#include <linux/page-flags.h>
#include <linux/mmzone.h>
#include <linux/kbuild.h>
#include <linux/log2.h>
#include <linux/spinlock_types.h>
void foo(void)
{
/* The enum constants to put into include/generated/bounds.h */
DEFINE(NR_PAGEFLAGS, __NR_PAGEFLAGS);
DEFINE(MAX_NR_ZONES, __MAX_NR_ZONES);
#ifdef CONFIG_SMP
DEFINE(NR_CPUS_BITS, ilog2(CONFIG_NR_CPUS));
#endif
DEFINE(SPINLOCK_SIZE, sizeof(spinlock_t));
/* End of constants */
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
peter zijlstra | peter zijlstra | 24 | 50.00% | 2 | 28.57% |
christoph lameter | christoph lameter | 22 | 45.83% | 3 | 42.86% |
sam ravnborg | sam ravnborg | 1 | 2.08% | 1 | 14.29% |
kirill a. shutemov | kirill a. shutemov | 1 | 2.08% | 1 | 14.29% |
| Total | 48 | 100.00% | 7 | 100.00% |
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
christoph lameter | christoph lameter | 36 | 52.94% | 4 | 40.00% |
peter zijlstra | peter zijlstra | 27 | 39.71% | 2 | 20.00% |
kirill a. shutemov | kirill a. shutemov | 2 | 2.94% | 2 | 20.00% |
johannes weiner | johannes weiner | 2 | 2.94% | 1 | 10.00% |
sam ravnborg | sam ravnborg | 1 | 1.47% | 1 | 10.00% |
| Total | 68 | 100.00% | 10 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.