On Monday 12 November 2012, [email protected] wrote:
> +
> +config ARC_MISALIGN_ACCESS
> + bool "Emulate unaligned memory access (userspace only)"
> + default N
> + help
> + This enables misaligned 16 & 32 bit memory access from user space.
> + Use ONLY-IF-ABS-NECESSARY as it will be very slow and also can hide
> + potential bugs in code
parisc and ia64 both have the same feature, and they use sysctl to configure
it at run-time. Maybe you should pick one of the two sysctl implementations
and hook that up to your implementation as well.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/