diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2014-09-10 10:38:10 +0530 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2014-10-13 14:46:17 +0530 |
commit | 435abb6daf310b4c1d681097887ea7239c310732 (patch) | |
tree | 764863e7c06fcdf8f1e917b5ce55c7ec3dcc4176 /arch/arc | |
parent | c4aa49df4dca6d41d3a7488cf582a0ab778ad06d (diff) | |
download | op-kernel-dev-435abb6daf310b4c1d681097887ea7239c310732.zip op-kernel-dev-435abb6daf310b4c1d681097887ea7239c310732.tar.gz |
ARC: RIP @running_on_hw
* No active users of this flag anymore
* flag itself was no longer usable with new simualtor which acts just like
hardware, not providing the special chip-id = 0xffff which good old
ISS used to do.
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc')
-rw-r--r-- | arch/arc/include/asm/setup.h | 1 | ||||
-rw-r--r-- | arch/arc/kernel/head.S | 10 | ||||
-rw-r--r-- | arch/arc/kernel/setup.c | 2 |
3 files changed, 0 insertions, 13 deletions
diff --git a/arch/arc/include/asm/setup.h b/arch/arc/include/asm/setup.h index e10f8ce..6e3ef5b 100644 --- a/arch/arc/include/asm/setup.h +++ b/arch/arc/include/asm/setup.h @@ -29,7 +29,6 @@ struct cpuinfo_data { }; extern int root_mountflags, end_mem; -extern int running_on_hw; void setup_processor(void); void __init setup_arch_memory(void); diff --git a/arch/arc/kernel/head.S b/arch/arc/kernel/head.S index 4d2481b..b0e8666 100644 --- a/arch/arc/kernel/head.S +++ b/arch/arc/kernel/head.S @@ -91,16 +91,6 @@ stext: st r0, [@uboot_tag] st r2, [@uboot_arg] - ; Identify if running on ISS vs Silicon - ; IDENTITY Reg [ 3 2 1 0 ] - ; (chip-id) ^^^^^ ==> 0xffff for ISS - lr r0, [identity] - lsr r3, r0, 16 - cmp r3, 0xffff - mov.z r4, 0 - mov.nz r4, 1 - st r4, [@running_on_hw] - ; setup "current" tsk and optionally cache it in dedicated r25 mov r9, @init_task SET_CURR_TASK_ON_CPU r9, r0 ; r9 = tsk, r0 = scratch diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c index 686e3fa..8fccf03 100644 --- a/arch/arc/kernel/setup.c +++ b/arch/arc/kernel/setup.c @@ -30,8 +30,6 @@ #define FIX_PTR(x) __asm__ __volatile__(";" : "+r"(x)) -int running_on_hw = 1; /* vs. on ISS */ - /* Part of U-boot ABI: see head.S */ int __initdata uboot_tag; char __initdata *uboot_arg; |