aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorJohn Kacur <jkacur@redhat.com>2010-01-31 20:38:03 +0100
committerDave Airlie <airlied@redhat.com>2010-02-01 11:19:31 +1000
commit2dea2e29b9fad48c759aa406b5ea426bff4339af (patch)
treedf7ef0a169d7bb96b326595affef6836e9f588d7 /mm/hugetlb.c
parentdrm/kms/radeon/agp: Fix warning, format ‘%d’ expects type ‘int’, but argument 4 has type ‘size_t’ (diff)
downloadwireguard-linux-2dea2e29b9fad48c759aa406b5ea426bff4339af.tar.xz
wireguard-linux-2dea2e29b9fad48c759aa406b5ea426bff4339af.zip
drm/kms/radeon/agp: Move the check of the aper_size after drm_acp_acquire and drm_agp_info
First call drm_agp_acquire to check if agp has been acquired. Second call drm_agp_info to fill in the info data struct, including aper_size. Finally do the check to see if the aper_size makes sense. Signed-off-by: John Kacur <jkacur@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions