We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 039daac commit d075723Copy full SHA for d075723
arch/powerpc/platforms/4xx/ocm.c
@@ -179,7 +179,7 @@ static void __init ocm_init_node(int count, struct device_node *node)
179
/* ioremap the non-cached region */
180
if (ocm->nc.memtotal) {
181
ocm->nc.virt = __ioremap(ocm->nc.phys, ocm->nc.memtotal,
182
- _PAGE_EXEC | PAGE_KERNEL_NCG);
+ _PAGE_EXEC | pgprot_val(PAGE_KERNEL_NCG));
183
184
if (!ocm->nc.virt) {
185
printk(KERN_ERR
@@ -194,7 +194,7 @@ static void __init ocm_init_node(int count, struct device_node *node)
194
195
if (ocm->c.memtotal) {
196
ocm->c.virt = __ioremap(ocm->c.phys, ocm->c.memtotal,
197
- _PAGE_EXEC | PAGE_KERNEL);
+ _PAGE_EXEC | pgprot_val(PAGE_KERNEL));
198
199
if (!ocm->c.virt) {
200
0 commit comments