Root/
Source at commit 2604e7f9a98c27be50a0c3ff7503b6a5ea8f6cfe created 12 years 7 months ago. By Maarten ter Huurne, cpufreq_stats: Support runtime changes to frequency table | |
---|---|
1 | /* |
2 | * Generate definitions needed by the preprocessor. |
3 | * This code generates raw asm output which is post-processed |
4 | * to extract and format the required data. |
5 | */ |
6 | |
7 | #define __GENERATING_BOUNDS_H |
8 | /* Include headers that define the enum constants of interest */ |
9 | #include <linux/page-flags.h> |
10 | #include <linux/mmzone.h> |
11 | #include <linux/kbuild.h> |
12 | #include <linux/page_cgroup.h> |
13 | |
14 | void foo(void) |
15 | { |
16 | /* The enum constants to put into include/generated/bounds.h */ |
17 | DEFINE(NR_PAGEFLAGS, __NR_PAGEFLAGS); |
18 | DEFINE(MAX_NR_ZONES, __MAX_NR_ZONES); |
19 | DEFINE(NR_PCG_FLAGS, __NR_PCG_FLAGS); |
20 | /* End of constants */ |
21 | } |
22 |
Branches:
ben-wpan
ben-wpan-stefan
javiroman/ks7010
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9