2014-02-20 16:08:25

by David Howells

[permalink] [raw]
Subject: [PATCH 2/4] Sparc: sparc_cpu_model isn't in asm/system.h any more [ver #2]


sparc_cpu_model isn't in asm/system.h any more, so remove a comment about it.

Signed-off-by: David Howells <[email protected]>
cc: "David S. Miller" <[email protected]>
cc: [email protected]
---

drivers/sbus/char/jsflash.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/sbus/char/jsflash.c b/drivers/sbus/char/jsflash.c
index 6b4678a..4ccb5d8 100644
--- a/drivers/sbus/char/jsflash.c
+++ b/drivers/sbus/char/jsflash.c
@@ -507,7 +507,6 @@ static int jsflash_init(void)
}

/* Let us be really paranoid for modifications to probing code. */
- /* extern enum sparc_cpu sparc_cpu_model; */ /* in <asm/system.h> */
if (sparc_cpu_model != sun4m) {
/* We must be on sun4m because we use MMU Bypass ASI. */
return -ENXIO;


2014-02-20 18:34:32

by David Miller

[permalink] [raw]
Subject: Re: [PATCH 2/4] Sparc: sparc_cpu_model isn't in asm/system.h any more [ver #2]

From: David Howells <[email protected]>
Date: Thu, 20 Feb 2014 16:08:12 +0000

> sparc_cpu_model isn't in asm/system.h any more, so remove a comment about it.
>
> Signed-off-by: David Howells <[email protected]>

Applied, thanks David.