Re: [RFC PATCH 0/7] sparc32: cleanup irq + smp files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 23, 2011 at 10:39:40PM +0100, Sam Ravnborg wrote:
> I am slowly working towards the goal of migrating
> sparc32 to genirq.
> PArt of the job is to understand the current code-base.
> While reading the code I was constantly distracted
> by all the minor issues in these.
> 
> So I cooked up a few patches to clean up the files.

The patches survied my SPARCclassic config and defconfig.
But allnoconfig bails out with an error.

This is because asm-generic/tlb.h require linux/pagemap.h.
The include happended implicitly before.


Workaround is simple - see below.
I will try to get it fixed in asm-generic for benefit of all users.

	Sam


diff --git a/arch/sparc/include/asm/tlb_32.h b/arch/sparc/include/asm/tlb_32.h
index 6d02d1c..d29b2ea 100644
--- a/arch/sparc/include/asm/tlb_32.h
+++ b/arch/sparc/include/asm/tlb_32.h
@@ -1,6 +1,8 @@
 #ifndef _SPARC_TLB_H
 #define _SPARC_TLB_H
 
+#include <linux/pagemap.h>
+
 #define tlb_start_vma(tlb, vma) \
 do {								\
 	flush_cache_range(vma, vma->vm_start, vma->vm_end);	\

--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux