cmake: Deprecate the 2 symbols _SYSCALL_{LIMIT,BAD}

There exist two symbols that became equivalent when PR #9383 was
merged; _SYSCALL_LIMIT and K_SYSCALL_LIMIT. This patch deprecates the
redundant _SYSCALL_LIMIT symbol.

_SYSCALL_LIMIT was initally introduced because before PR #9383 was
merged K_SYSCALL_LIMIT was an enum, which couldn't be included into
assembly files. PR #9383 converted it into a define, which can be
included into assembly files, making _SYSCALL_LIMIT redundant.

Likewise for _SYSCALL_BAD.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
This commit is contained in:
Sebastian Bøe 2018-08-10 15:43:31 +02:00 committed by Anas Nashif
commit 1186f5bb29
6 changed files with 13 additions and 14 deletions

View file

@ -8,11 +8,12 @@
#ifndef _ZEPHYR_SYSCALL_H_
#define _ZEPHYR_SYSCALL_H_
#include <syscall_list.h>
#include <arch/syscall.h>
#ifndef _ASMLANGUAGE
#include <zephyr/types.h>
#include <syscall_list.h>
#include <syscall_macros.h>
#include <arch/syscall.h>
#ifdef __cplusplus
extern "C" {