diff options
| author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-18 04:43:56 -0400 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-18 04:43:56 -0400 |
| commit | e19b9137142988bec5a76c5f8bdf12a77ea802b0 (patch) | |
| tree | b36c83fa93da7f18c1331252fb82a87431697443 /include/linux/flex_array.h | |
| parent | 2fae6a860ca9adb0c881f6dcd633df775c2520e9 (diff) | |
| parent | e40d641099213145a034981e646dc2180a488152 (diff) | |
Merge remote-tracking branch 'airlied/drm-next' into drm-intel-next
Conflicts:
drivers/gpu/drm/i915/Makefile
Makefile cleanup in drm-intel-next conflicts with a build-fix to move
intel_opregion under CONFIG_ACPI.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/linux/flex_array.h')
| -rw-r--r-- | include/linux/flex_array.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/flex_array.h b/include/linux/flex_array.h index 6843cf193a44..b6efb0c64408 100644 --- a/include/linux/flex_array.h +++ b/include/linux/flex_array.h | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | #define _FLEX_ARRAY_H | 2 | #define _FLEX_ARRAY_H |
| 3 | 3 | ||
| 4 | #include <linux/types.h> | 4 | #include <linux/types.h> |
| 5 | #include <linux/reciprocal_div.h> | ||
| 5 | #include <asm/page.h> | 6 | #include <asm/page.h> |
| 6 | 7 | ||
| 7 | #define FLEX_ARRAY_PART_SIZE PAGE_SIZE | 8 | #define FLEX_ARRAY_PART_SIZE PAGE_SIZE |
| @@ -22,7 +23,7 @@ struct flex_array { | |||
| 22 | int element_size; | 23 | int element_size; |
| 23 | int total_nr_elements; | 24 | int total_nr_elements; |
| 24 | int elems_per_part; | 25 | int elems_per_part; |
| 25 | u32 reciprocal_elems; | 26 | struct reciprocal_value reciprocal_elems; |
| 26 | struct flex_array_part *parts[]; | 27 | struct flex_array_part *parts[]; |
| 27 | }; | 28 | }; |
| 28 | /* | 29 | /* |
