@@ -293,7 +293,7 @@ static int chsc_ioctl_start(void __user *user_area)
293
293
if (!css_general_characteristics .dynio )
294
294
/* It makes no sense to try. */
295
295
return - EOPNOTSUPP ;
296
- chsc_area = (void * )get_zeroed_page (GFP_DMA | GFP_KERNEL );
296
+ chsc_area = (void * )get_zeroed_page (GFP_KERNEL );
297
297
if (!chsc_area )
298
298
return - ENOMEM ;
299
299
request = kzalloc (sizeof (* request ), GFP_KERNEL );
@@ -341,7 +341,7 @@ static int chsc_ioctl_on_close_set(void __user *user_area)
341
341
ret = - ENOMEM ;
342
342
goto out_unlock ;
343
343
}
344
- on_close_chsc_area = (void * )get_zeroed_page (GFP_DMA | GFP_KERNEL );
344
+ on_close_chsc_area = (void * )get_zeroed_page (GFP_KERNEL );
345
345
if (!on_close_chsc_area ) {
346
346
ret = - ENOMEM ;
347
347
goto out_free_request ;
@@ -393,7 +393,7 @@ static int chsc_ioctl_start_sync(void __user *user_area)
393
393
struct chsc_sync_area * chsc_area ;
394
394
int ret , ccode ;
395
395
396
- chsc_area = (void * )get_zeroed_page (GFP_KERNEL | GFP_DMA );
396
+ chsc_area = (void * )get_zeroed_page (GFP_KERNEL );
397
397
if (!chsc_area )
398
398
return - ENOMEM ;
399
399
if (copy_from_user (chsc_area , user_area , PAGE_SIZE )) {
@@ -439,7 +439,7 @@ static int chsc_ioctl_info_channel_path(void __user *user_cd)
439
439
u8 data [PAGE_SIZE - 20 ];
440
440
} __attribute__ ((packed )) * scpcd_area ;
441
441
442
- scpcd_area = (void * )get_zeroed_page (GFP_KERNEL | GFP_DMA );
442
+ scpcd_area = (void * )get_zeroed_page (GFP_KERNEL );
443
443
if (!scpcd_area )
444
444
return - ENOMEM ;
445
445
cd = kzalloc (sizeof (* cd ), GFP_KERNEL );
@@ -501,7 +501,7 @@ static int chsc_ioctl_info_cu(void __user *user_cd)
501
501
u8 data [PAGE_SIZE - 20 ];
502
502
} __attribute__ ((packed )) * scucd_area ;
503
503
504
- scucd_area = (void * )get_zeroed_page (GFP_KERNEL | GFP_DMA );
504
+ scucd_area = (void * )get_zeroed_page (GFP_KERNEL );
505
505
if (!scucd_area )
506
506
return - ENOMEM ;
507
507
cd = kzalloc (sizeof (* cd ), GFP_KERNEL );
@@ -564,7 +564,7 @@ static int chsc_ioctl_info_sch_cu(void __user *user_cud)
564
564
u8 data [PAGE_SIZE - 20 ];
565
565
} __attribute__ ((packed )) * sscud_area ;
566
566
567
- sscud_area = (void * )get_zeroed_page (GFP_KERNEL | GFP_DMA );
567
+ sscud_area = (void * )get_zeroed_page (GFP_KERNEL );
568
568
if (!sscud_area )
569
569
return - ENOMEM ;
570
570
cud = kzalloc (sizeof (* cud ), GFP_KERNEL );
@@ -626,7 +626,7 @@ static int chsc_ioctl_conf_info(void __user *user_ci)
626
626
u8 data [PAGE_SIZE - 20 ];
627
627
} __attribute__ ((packed )) * sci_area ;
628
628
629
- sci_area = (void * )get_zeroed_page (GFP_KERNEL | GFP_DMA );
629
+ sci_area = (void * )get_zeroed_page (GFP_KERNEL );
630
630
if (!sci_area )
631
631
return - ENOMEM ;
632
632
ci = kzalloc (sizeof (* ci ), GFP_KERNEL );
@@ -697,7 +697,7 @@ static int chsc_ioctl_conf_comp_list(void __user *user_ccl)
697
697
u32 res ;
698
698
} __attribute__ ((packed )) * cssids_parm ;
699
699
700
- sccl_area = (void * )get_zeroed_page (GFP_KERNEL | GFP_DMA );
700
+ sccl_area = (void * )get_zeroed_page (GFP_KERNEL );
701
701
if (!sccl_area )
702
702
return - ENOMEM ;
703
703
ccl = kzalloc (sizeof (* ccl ), GFP_KERNEL );
@@ -757,7 +757,7 @@ static int chsc_ioctl_chpd(void __user *user_chpd)
757
757
int ret ;
758
758
759
759
chpd = kzalloc (sizeof (* chpd ), GFP_KERNEL );
760
- scpd_area = (void * )get_zeroed_page (GFP_KERNEL | GFP_DMA );
760
+ scpd_area = (void * )get_zeroed_page (GFP_KERNEL );
761
761
if (!scpd_area || !chpd ) {
762
762
ret = - ENOMEM ;
763
763
goto out_free ;
@@ -797,7 +797,7 @@ static int chsc_ioctl_dcal(void __user *user_dcal)
797
797
u8 data [PAGE_SIZE - 36 ];
798
798
} __attribute__ ((packed )) * sdcal_area ;
799
799
800
- sdcal_area = (void * )get_zeroed_page (GFP_KERNEL | GFP_DMA );
800
+ sdcal_area = (void * )get_zeroed_page (GFP_KERNEL );
801
801
if (!sdcal_area )
802
802
return - ENOMEM ;
803
803
dcal = kzalloc (sizeof (* dcal ), GFP_KERNEL );
0 commit comments