[RFC] arm : ALIGNMENT_TRAP and MTD

Hyok S. Choi hyok.choi at samsung.com
Wed Jun 28 01:04:04 EDT 2006


On Tuesday 27 June 2006 22:30, David Woodhouse wrote:
> On Fri, 2006-06-23 at 21:22 +0200, Thomas Gleixner wrote:
> > 
> > Is there a damn good reason, why the NOMMMU stuff cannot have this
> > active ? If it enables code which is not feasible on NOMMU there are
> > ways to solve such problems quite elegant.
> > 
> > It's not a MTD problem, it's an ARM specific requirement.
> 
> No, it isn't. ARM was just one of the first CPUs where we really _can't_
> fix up alignment faults. FR-V is another. It's often done in the MMU, so
> there's a strong correlation with uCLinux architectures -- and now we've
> merged uCLinux, it's a problem we should really address properly.

I agree on this. I'm doing the uClinux merging for ARM architecture.

How about to make an option for enabling accessing through the get_unaligned() in MTD?
Then ARM uClinux and FR-V could select/deselect the option and will have no problem.

Hyok

-- 
Hyok
ARM Linux 2.6 MPU/noMMU Project http://opensrc.sec.samsung.com/




More information about the linux-mtd mailing list