secure_buffer: Change CONFIG_HYP_ASSIGN_DEBUG checks
Use IS_ENABLED() for checking to see if CONFIG_HYP_ASSIGN_DEBUG instead of using #ifdef CONFIG_HYP_ASSIGN_DEBUG . Change-Id: I92bdb01911c837a80c6fddab1c930ef09930947d Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
This commit is contained in:
parent
e29b6c2e56
commit
b4d3341295
@ -37,7 +37,7 @@ struct hyp_assign_debug_track {
|
||||
u32 refcount;
|
||||
};
|
||||
|
||||
#ifdef CONFIG_HYP_ASSIGN_DEBUG
|
||||
#if IS_ENABLED(CONFIG_HYP_ASSIGN_DEBUG)
|
||||
/*
|
||||
* Contains a pointer to struct hyp_assign_debug_track for each pfn which
|
||||
* is in an assigned state.
|
||||
@ -590,7 +590,7 @@ static struct platform_driver qcom_secure_buffer_driver = {
|
||||
|
||||
static int __init qcom_secure_buffer_init(void)
|
||||
{
|
||||
#ifdef CONFIG_HYP_ASSIGN_DEBUG
|
||||
#if IS_ENABLED(CONFIG_HYP_ASSIGN_DEBUG)
|
||||
failure_handle = create_dummy_stack();
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user