diff options
author | Richard Braun <rbraun@sceen.net> | 2017-04-29 22:51:58 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-04-29 22:53:00 +0200 |
commit | fb13a50dca9a526c6a1666fefe123b58524040ff (patch) | |
tree | 5734dbe449fab880fd3cf9bc154645cf2df53049 /kern/spinlock.c | |
parent | a9fedfa33cdcb3a3ea7feae06220609f8f3db0e6 (diff) |
Revert "Remove unneeded quotes when using #error"
This reverts commit b1aa94d0c7dba4138f651e6b081c1a0055ea8d54.
New occurrences of #error are also affected by this commit.
Diffstat (limited to 'kern/spinlock.c')
-rw-r--r-- | kern/spinlock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kern/spinlock.c b/kern/spinlock.c index 0e6f2fa8..8f42e9c2 100644 --- a/kern/spinlock.c +++ b/kern/spinlock.c @@ -92,11 +92,11 @@ #define SPINLOCK_QID_LOCKED SPINLOCK_LOCKED #if SPINLOCK_QID_BITS > SPINLOCK_QID_MAX_BITS -#error spinlock qid too large +#error "spinlock qid too large" #endif #if X15_MAX_CPUS > (1 << SPINLOCK_QID_CPU_BITS) -#error maximum number of supported processors too large +#error "maximum number of supported processors too large" #endif struct spinlock_qnode { @@ -111,11 +111,11 @@ struct spinlock_qnode { #define SPINLOCK_NR_CTXS 4 #if SPINLOCK_CTX_INVALID != 0 -#error the invalid context value must be 0 +#error "the invalid context value must be 0" #endif #if SPINLOCK_NR_CTXS > SPINLOCK_QID_CTX_MAX -#error maximum number of contexts too large +#error "maximum number of contexts too large" #endif struct spinlock_cpu_data { |