[PATH] No auxio on LEON

Submitted by Kristoffer Glembo on Nov. 13, 2009, 1:28 p.m.

Details

Message ID 4AFD5EEF.4000805@gaisler.com
State Superseded
Delegated to: David Miller
Headers show

Commit Message

Kristoffer Glembo Nov. 13, 2009, 1:28 p.m.
Do not probe for auxio register on SPARC LEON.

Signed-off-by: Kristoffer Glembo <kristoffer@gaisler.com>

---
  arch/sparc/kernel/auxio_32.c |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Josip Rodin Nov. 13, 2009, 1:42 p.m.
On Fri, Nov 13, 2009 at 02:28:15PM +0100, Kristoffer Glembo wrote:
> Do not probe for auxio register on SPARC LEON.
>
> Signed-off-by: Kristoffer Glembo <kristoffer@gaisler.com>
>
> ---
>  arch/sparc/kernel/auxio_32.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/sparc/kernel/auxio_32.c b/arch/sparc/kernel/auxio_32.c
> index 45c4123..40c709d 100644
> --- a/arch/sparc/kernel/auxio_32.c
> +++ b/arch/sparc/kernel/auxio_32.c
> @@ -28,6 +28,7 @@ void __init auxio_probe(void)
>  	struct resource r;
>
>  	switch (sparc_cpu_model) {
> +        case sparc_leon:
>  	case sun4d:
>  	case sun4:
>  		return;

Spaces vs. tabs :)

Patch hide | download patch | download mbox

diff --git a/arch/sparc/kernel/auxio_32.c b/arch/sparc/kernel/auxio_32.c
index 45c4123..40c709d 100644
--- a/arch/sparc/kernel/auxio_32.c
+++ b/arch/sparc/kernel/auxio_32.c
@@ -28,6 +28,7 @@  void __init auxio_probe(void)
  	struct resource r;

  	switch (sparc_cpu_model) {
+        case sparc_leon:
  	case sun4d:
  	case sun4:
  		return;