diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-03-02 17:49:17 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-11 15:30:12 +0530 |
commit | 44ce5b99e97eb0c3695414cdb64c61f07d9a76a4 (patch) | |
tree | bdf1778b00df90d69a76f2ee65fb4456aad81f45 /platform/template | |
parent | 2b945fc180026d8eef701226a9bf0a82976c71c1 (diff) |
include: Remove disabled_hart_mask from sbi_platform
The disabled_hard_mask in sbi_platform is only 64bits wide so we
cannot disable a HART with HARTID > 63. To tackle this, we remove
disabled_hart_mask and replace it with hart_disabled() platform
callback.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'platform/template')
-rw-r--r-- | platform/template/platform.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/template/platform.c b/platform/template/platform.c index f959a11..c98bbff 100644 --- a/platform/template/platform.c +++ b/platform/template/platform.c @@ -223,6 +223,5 @@ const struct sbi_platform platform = { .features = SBI_PLATFORM_DEFAULT_FEATURES, .hart_count = 1, .hart_stack_size = 4096, - .disabled_hart_mask = 0, .platform_ops_addr = (unsigned long)&platform_ops }; |