[PATCH 2/4] Sparc: sparc_cpu_model isn't in asm/system.h any more

From: David Howells
Date: Wed Feb 12 2014 - 10:46:20 EST


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

Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
cc: sparclinux@xxxxxxxxxxxxxxx
---

drivers/sbus/char/jsflash.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/sbus/char/jsflash.c b/drivers/sbus/char/jsflash.c
index 6b4678a..018b64b 100644
--- a/drivers/sbus/char/jsflash.c
+++ b/drivers/sbus/char/jsflash.c
@@ -507,11 +507,9 @@ 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) {
+ if (sparc_cpu_model != sun4m)
/* We must be on sun4m because we use MMU Bypass ASI. */
return -ENXIO;
- }

if (jsf0.base == 0) {
jsf = &jsf0;

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