Commit 75553fbd authored by Florian Bezdeka's avatar Florian Bezdeka Committed by Jan Kiszka

lib/cobalt: Rename cobalt_check_features to cobalt_arch_check_features

cobalt_check_features is implemented for each architecture. As
further feature initialization will arrive the name of the function
should clarify that.
Signed-off-by: default avatarFlorian Bezdeka <florian.bezdeka@siemens.com>
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 8acdbd71
......@@ -37,7 +37,7 @@ struct __xn_full_tscinfo __xn_tscinfo = {
},
};
void cobalt_check_features(struct cobalt_featinfo *finfo)
void cobalt_arch_check_features(struct cobalt_featinfo *finfo)
{
unsigned long phys_addr;
unsigned page_size;
......
......@@ -37,7 +37,7 @@ struct __xn_full_tscinfo __xn_tscinfo = {
},
};
void cobalt_check_features(struct cobalt_featinfo *finfo)
void cobalt_arch_check_features(struct cobalt_featinfo *finfo)
{
unsigned long phys_addr;
unsigned page_size;
......
......@@ -19,6 +19,6 @@
#include <asm/xenomai/syscall.h>
#include "internal.h"
void cobalt_check_features(struct cobalt_featinfo *finfo)
void cobalt_arch_check_features(struct cobalt_featinfo *finfo)
{
}
......@@ -25,7 +25,7 @@
#include <asm/xenomai/uapi/fptest.h>
#include "internal.h"
void cobalt_check_features(struct cobalt_featinfo *finfo)
void cobalt_arch_check_features(struct cobalt_featinfo *finfo)
{
#if defined(__i386__) && defined(CONFIG_XENO_X86_VSYSCALL)
size_t n = confstr(_CS_GNU_LIBPTHREAD_VERSION, NULL, 0);
......
......@@ -177,7 +177,7 @@ static void low_init(void)
early_panic("mlockall: %s", strerror(errno));
trace_me("memory locked");
cobalt_check_features(f);
cobalt_arch_check_features(f);
cobalt_init_umm(f->vdso_offset);
trace_me("memory heaps mapped");
cobalt_init_current_keys();
......
......@@ -88,7 +88,7 @@ int cobalt_init(void);
struct cobalt_featinfo;
void cobalt_check_features(struct cobalt_featinfo *finfo);
void cobalt_arch_check_features(struct cobalt_featinfo *finfo);
extern struct sigaction __cobalt_orig_sigdebug;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment