Commit 6c5821ab authored by Michael Quigley's avatar Michael Quigley
Browse files

minor changes

parent 90da0187
......@@ -3,7 +3,7 @@
#define _INCL_GUARD
#include <linux/types.h>
#include <../ring-chan/ring-channel.h>
#include "../ring-chan/ring-channel.h"
#define CHAR_BITS 8
......
......@@ -17,7 +17,7 @@
#include <linux/string.h>
#include <linux/types.h>
#include "ipc.h"
#include "../IPC/ipc.h"
struct ttd_buf {
/* PRODUCER */
......
obj-m := rpc_testing.o
#ccflags-y += -O2 -I/users/mquigley/fast-ipc-module/current/IPC
ccflags-y += -O2 -I/users/mquigley/fast-ipc-module/current/IPC
#-I/local/sda4/async/xcap-capability-linux/include
ccflags-y += -O2 -I/users/mquigley/fast-ipc-module/current/IPC
INC_DIR = ../../IPC
CFLAGS_ipc.o = -O2 -DPOLL
CFLAGS_ring-channel.o = -I$(INC_DIR)
DEPS= $(INC_DIR)/ipc.h
......
#include <linux/kernel.h>
#include "ipc.h"
#include "../../IPC/ipc.h"
typedef enum {NULL_INVOCATION, ADD_CONSTANT, ADD_NUMS, ADD_3_NUMS,
ADD_4_NUMS, ADD_5_NUMS, ADD_6_NUMS} fn_types;
......
......@@ -63,13 +63,12 @@ static void setup_tests(void)
static int __init rpc_init(void)
{
int ret = 0;
if (!this_cpu_has(X86_FEATURE_MWAIT))
return -EPERM;
setup_tests();
return ret;
return 0;
}
static int __exit rpc_rmmod(void)
{
......
Supports Markdown
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