2009/6/18 Paul Mundt let...@linux-sh.org:
On Wed, Jun 17, 2009 at 06:58:00PM +0200, Marco wrote:
Jared Hulbert wrote:
Why not just fix flush_tlb_range()?
If an arch has a flush_tlb_kernel_page() that works then it stands to
reason that the flush_tlb_kernel_range() shouldn't work with
Jared Hulbert wrote:
+/* init_mm.page_table_lock must be held before calling! */
+static void pram_page_writeable(unsigned long addr, int rw)
+{
+ ? ? ? pgd_t *pgdp;
+ ? ? ? pud_t *pudp;
+ ? ? ? pmd_t *pmdp;
+ ? ? ? pte_t *ptep;
+
+ ? ? ? pgdp = pgd_offset_k(addr);
+
On Wed, Jun 17, 2009 at 12:58, Marco wrote:
Jared Hulbert wrote:
+#if defined(CONFIG_ARM) || defined(CONFIG_M68K) ||
defined(CONFIG_H8300) || \
+ ? ? ? defined(CONFIG_BLACKFIN)
+ ? ? ? /*
+ ? ? ? ?* FIXME: so far only these archs have flush_tlb_kernel_page(),
+ ? ? ? ?* for the
On Wed, Jun 17, 2009 at 06:58:00PM +0200, Marco wrote:
Jared Hulbert wrote:
Why not just fix flush_tlb_range()?
If an arch has a flush_tlb_kernel_page() that works then it stands to
reason that the flush_tlb_kernel_range() shouldn't work with minimal
effort, no?
+/* init_mm.page_table_lock must be held before calling! */
+static void pram_page_writeable(unsigned long addr, int rw)
+{
+ pgd_t *pgdp;
+ pud_t *pudp;
+ pmd_t *pmdp;
+ pte_t *ptep;
+
+ pgdp = pgd_offset_k(addr);
+ if (!pgd_none(*pgdp)) {
+