diff options
author | Len Brown <len.brown@intel.com> | 2012-06-04 00:35:19 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-06-04 00:35:19 -0400 |
commit | 7e1bd6e38b1f30860ce25a014c6d6adfb0079f4a (patch) | |
tree | 65c5898ba93007d4399150c7a127a670bcfbc30d /include/linux/hugetlb.h | |
parent | 301f33fbcf4ced53b3de114846ecece5d6aafeeb (diff) | |
parent | f8f5701bdaf9134b1f90e5044a82c66324d2073f (diff) |
Merge branch 'upstream' into bugfix-video
Update bugfix-video branch to 2.5-rc1
so I don't have to again resolve the
conflict in these patches vs. upstream.
Conflicts:
drivers/gpu/drm/gma500/psb_drv.c
text conflict: add comment vs delete neighboring line
keep just this:
/* igd_opregion_init(&dev_priv->opregion_dev); */
/* acpi_video_register(); */
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/hugetlb.h')
-rw-r--r-- | include/linux/hugetlb.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h index 000837e126e6..d5d6bbe2259e 100644 --- a/include/linux/hugetlb.h +++ b/include/linux/hugetlb.h | |||
@@ -284,6 +284,14 @@ static inline unsigned int blocks_per_huge_page(struct hstate *h) | |||
284 | 284 | ||
285 | #include <asm/hugetlb.h> | 285 | #include <asm/hugetlb.h> |
286 | 286 | ||
287 | #ifndef arch_make_huge_pte | ||
288 | static inline pte_t arch_make_huge_pte(pte_t entry, struct vm_area_struct *vma, | ||
289 | struct page *page, int writable) | ||
290 | { | ||
291 | return entry; | ||
292 | } | ||
293 | #endif | ||
294 | |||
287 | static inline struct hstate *page_hstate(struct page *page) | 295 | static inline struct hstate *page_hstate(struct page *page) |
288 | { | 296 | { |
289 | return size_to_hstate(PAGE_SIZE << compound_order(page)); | 297 | return size_to_hstate(PAGE_SIZE << compound_order(page)); |