arm64: remove EL and mode from secmon_params

Since PSCI dynamically determines which EL to transition
to based on SCR_EL3 there's no need to provide that
information.

BUG=chrome-os-partner:30785
BRANCH=None
TEST=Built and booted into kernel with MP.

Change-Id: I8783b6315dca01464e14c9d2b20d009cf0beeb67
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/218924
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
Aaron Durbin 2014-09-19 16:01:03 -05:00 committed by chrome-internal-fetch
commit 8bc5f7c8a1
2 changed files with 0 additions and 6 deletions

View file

@ -139,10 +139,6 @@ void secmon_run(void (*entry)(void *), void *cb_tables)
runit.bsp_params.entry = entry;
runit.bsp_params.arg = cb_tables;
runit.bsp_params.elx_el = EL2;
runit.bsp_params.elx_mode = SPSR_USE_L;
runit.secondary_params.elx_el = EL2;
runit.secondary_params.elx_mode = SPSR_USE_L;
spin_attrs = spintable_get_attributes();

View file

@ -27,8 +27,6 @@
struct secmon_params {
void (*entry)(void *);
void *arg;
uint8_t elx_el;
uint8_t elx_mode;
};
void secmon_run(void (*entry)(void *), void *arg);