mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 23:51:39 +00:00
s390/sysinfo: allow response buffer in normal memory
As provided with commit cd4386a931
("s390/cpcmd,vmcp: avoid GFP_DMA
allocations") the Diagnose Code 8 response buffer does not have to be
below 2GB.
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
This commit is contained in:
parent
b0546776ad
commit
4dc890df63
@ -397,7 +397,7 @@ static void service_level_vm_print(struct seq_file *m,
|
||||
{
|
||||
char *query_buffer, *str;
|
||||
|
||||
query_buffer = kmalloc(1024, GFP_KERNEL | GFP_DMA);
|
||||
query_buffer = kmalloc(1024, GFP_KERNEL);
|
||||
if (!query_buffer)
|
||||
return;
|
||||
cpcmd("QUERY CPLEVEL", query_buffer, 1024, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user