You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/05/16 17:53:52 UTC
[incubator-nuttx] branch master updated: Fix some very minor
spacing problems.
This is an automated email from the ASF dual-hosted git repository.
aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 54c6431 Fix some very minor spacing problems.
54c6431 is described below
commit 54c643164bffc0c9573ccebdc061406538165cf1
Author: Gregory Nutt <gn...@nuttx.org>
AuthorDate: Sat May 16 11:08:38 2020 -0600
Fix some very minor spacing problems.
---
include/nuttx/sched.h | 4 ++--
sched/sched/sched.h | 8 +++++---
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/include/nuttx/sched.h b/include/nuttx/sched.h
index b59e918..bf6339b 100644
--- a/include/nuttx/sched.h
+++ b/include/nuttx/sched.h
@@ -1162,7 +1162,7 @@ int nxsched_get_scheduler(pid_t pid);
********************************************************************************/
int nxsched_set_scheduler(pid_t pid, int policy,
- FAR const struct sched_param *param);
+ FAR const struct sched_param *param);
/********************************************************************************
* Name: nxsched_get_affinity
@@ -1231,7 +1231,7 @@ int nxsched_get_affinity(pid_t pid, size_t cpusetsize, FAR cpu_set_t *mask);
#ifdef CONFIG_SMP
int nxsched_set_affinity(pid_t pid, size_t cpusetsize,
- FAR const cpu_set_t *mask);
+ FAR const cpu_set_t *mask);
#endif
/********************************************************************************
diff --git a/sched/sched/sched.h b/sched/sched/sched.h
index 4afbaa2..8e5a821 100644
--- a/sched/sched/sched.h
+++ b/sched/sched/sched.h
@@ -404,7 +404,7 @@ void nxsched_reassess_timer(void);
#if CONFIG_RR_INTERVAL > 0
uint32_t nxsched_process_roundrobin(FAR struct tcb_s *tcb, uint32_t ticks,
- bool noswitches);
+ bool noswitches);
#endif
#ifdef CONFIG_SCHED_SPORADIC
@@ -425,7 +425,8 @@ void nxsched_continue(FAR struct tcb_s *tcb);
#endif
#ifdef CONFIG_SMP
-#if defined(CONFIG_ARCH_GLOBAL_IRQDISABLE) || defined(CONFIG_ARCH_HAVE_FETCHADD)
+#if defined(CONFIG_ARCH_GLOBAL_IRQDISABLE) || \
+ defined(CONFIG_ARCH_HAVE_FETCHADD)
FAR struct tcb_s *this_task(void);
#endif
@@ -435,7 +436,8 @@ int nxsched_pause_cpu(FAR struct tcb_s *tcb);
irqstate_t nxsched_lock_tasklist(void);
void nxsched_unlock_tasklist(irqstate_t lock);
-#if defined(CONFIG_ARCH_HAVE_FETCHADD) && !defined(CONFIG_ARCH_GLOBAL_IRQDISABLE)
+#if defined(CONFIG_ARCH_HAVE_FETCHADD) && \
+ !defined(CONFIG_ARCH_GLOBAL_IRQDISABLE)
# define nxsched_islocked_global() \
(spin_islocked(&g_cpu_schedlock) || g_global_lockcount > 0)
#else