Messages in this thread | | | Date | Mon, 9 Jul 2012 16:49:56 +0100 | From | Alan Cox <> | Subject | Re: [PATCH 00/36] AArch64 Linux kernel port |
| |
> I think the main strategy should be to spot duplicate code early > and make sure we deal with it individually. Examples for this are > probably the implementations for kvm and perf, which largely deal > with the same hardware on both architectures. Those definitely must > not get duplicated into mostly-identical files. In many cases, we're > moving those things into drivers/*, in other cases we might want to > use Makefile logic to include a sub-directory from one arch into another, > as we do for arch/um.
If you want to put a subdir of one arch into another wouldn't it be rather cleaner to use arm/arm/aarch64/ as your architecture base ?
Alan
| |