FRV: Missing error defs
PATCH 1/2 FRV: Missing error defs
From: David Howells <[email protected]>
linux/irq.h uses EINVAL but does not #include linux/errno.h. This results in the compiler spitting out errors on some files.
Signed-off-by David Howells <[email protected]>
---
include/linux/irq.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
include/linux/irq.h +1 -0
@@ -18,6 +18,7 @@#include <linux/spinlock.h> #include <linux/cpumask.h> #include <linux/irqreturn.h> +#include <linux/errno.h> #include <asm/irq.h> #include <asm/ptrace.h>
PATCH 2/2 FRV: No ZONE_DMA
From: David Howells <[email protected]>
FRV does not require a ZONE_DMA, so all DMA'able pages that aren't highmem should be in ZONE_NORMAL.
Signed-off-by David Howells <[email protected]>
---
arch/frv/mm/init.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
arch/frv/mm/init.c +1 -2
@@ -126,8 +126,7 @@ void __init paging_init(void)/* distribute the allocatable pages across the various zones and pass them to the allocator */ - zones_size[ZONE_DMA ] = max_low_pfn - min_low_pfn; - zones_size[ZONE_NORMAL ] =0 ; + zones_size[ZONE_NORMAL ] = max_low_pfn - min_low_pfn;#ifdef CONFIG_HIGHMEM zones_size[ZONE_HIGHMEM ] = num_physpages - num_mappedpages;#endif