Re: [PATCH 2.6.21] cramfs: add cramfs Linear XIP
- From: Alistair John Strachan <s0348365@xxxxxxxxxxxx>
- Date: Wed, 23 May 2007 09:21:32 +0100
On Tuesday 22 May 2007 23:09:39 Richard Griffiths wrote:
Venerable cramfs fs Linear XIP patch originally from MontaVista, used in
the embedded Linux community for years, updated for 2.6.21. Tested on
several systems with NOR Flash. PXA270, TI OMAP2430, ARM Versatile and
Freescale iMX31ADS.
+#else /* CONFIG_CRAMFS_LINEAR */
+ /*
+ * The physical location of the cramfs image is specified as
+ * a mount parameter. This parameter is mandatory for obvious
You've used spaces here instead of tabs, probably worth replacing.
+/*new_page, unsigned long address,
+ * We hold the mm semaphore for reading and vma->vm_mm->page_table_lock
+ */
+static inline void break_cow(struct vm_area_struct * vma, struct page *
+ pte_t *page_table)
+{
+ pte_t entry;
Here again.
+ /*source
+ * Handle COW of XIP memory.
+ * Note that the source memory actually isn't a ram
+ * page so no struct page is associated to the
+ * pte.
+ */
This whole section too.
--
Cheers,
Alistair.
Final year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH 2.6.21] cramfs: add cramfs Linear XIP
- From: Richard Griffiths
- [PATCH 2.6.21] cramfs: add cramfs Linear XIP
- Prev by Date: Re: 2.6.22-rc1-mm1 - s390 vs. md
- Next by Date: Re: 2.6.21.1 fails to suspend/resume to disk (sort of)
- Previous by thread: Re: [PATCH 2.6.21] cramfs: add cramfs Linear XIP
- Next by thread: Re: [PATCH 2.6.21] cramfs: add cramfs Linear XIP
- Index(es):