Re: [PATCH 1/6] openrisc: add Kconfig for l.lwa and l.swa atomic instructions

From: One Thousand Gnomes
Date: Wed Jul 23 2014 - 17:26:32 EST


> +config OPENRISC_HAVE_INST_LWA_SWA
> + bool "Have instruction l.lwa and l.swa"
> + help
> + Select this if your implementation have l.lwa and l.swa atomic
> + instructions.
> +
> endmenu

Please do everyone a favour - sort all these out at runtime, add an
architectural feature bits ROM address or catch the traps and use the
alterntatives logic or something.

Alan

--
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/