Commit 3914b180 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

cpuinfo: Drop cpu_set_feature from exporting

It's redundant, should be cpu local.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 4ab2a3ec
......@@ -3,10 +3,6 @@
#include "cpu.h"
void cpu_set_feature(unsigned int feature)
{
}
bool cpu_has_feature(unsigned int feature)
{
return false;
......
......@@ -3,10 +3,6 @@
#include "cpu.h"
void cpu_set_feature(unsigned int feature)
{
}
bool cpu_has_feature(unsigned int feature)
{
return false;
......
......@@ -30,7 +30,7 @@ const char * const x86_cap_flags[NCAPINTS_BITS] = {
static DECLARE_BITMAP(cpu_features, NCAPINTS_BITS);
void cpu_set_feature(unsigned int feature)
static void cpu_set_feature(unsigned int feature)
{
if (likely(feature < NCAPINTS_BITS))
set_bit(feature, cpu_features);
......
......@@ -16,7 +16,6 @@
extern const char * const x86_cap_flags[NCAPINTS_BITS];
extern void cpu_set_feature(unsigned int feature);
extern bool cpu_has_feature(unsigned int feature);
extern int cpu_init(void);
......
......@@ -3,7 +3,6 @@
#include "asm/cpu.h"
extern void cpu_set_feature(unsigned int feature);
extern bool cpu_has_feature(unsigned int feature);
extern int cpu_init(void);
......
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