Skip to content

Commit c057f91

Browse files
cfriedtkartben
authored andcommitted
arch: x86: add missing semicolon for z_x86_kpti_is_access_ok()
The function prototype / extern declaration for z_x86_kpti_is_access_ok() in x86_mmu.h was missing a semicolon. Add it to avoid being surprised by compile errors in certain circumstances. Signed-off-by: Chris Friedt <[email protected]>
1 parent fb98387 commit c057f91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/include/x86_mmu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ extern uint8_t z_shared_kernel_page_start;
139139
/* Called from page fault handler. ptables here is the ptage tables for the
140140
* faulting user thread and not the current set of page tables
141141
*/
142-
extern bool z_x86_kpti_is_access_ok(void *virt, pentry_t *ptables)
142+
extern bool z_x86_kpti_is_access_ok(void *virt, pentry_t *ptables);
143143
#endif /* CONFIG_DEMAND_PAGING */
144144
#endif /* CONFIG_X86_KPTI */
145145
#endif /* CONFIG_USERSPACE */

0 commit comments

Comments
 (0)