4 * Copyright (C) 2009 - Pierre-Marc Fournier (pierre-marc dot fournier at polymtl dot ca)
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25 #define _LOOSE_KERNEL_NAMES
28 #define CONFIG_SMP 1 /* Needed for urcu, verify it's ok to remove it. */
32 #include <bits/wordsize.h>
34 #define LIBKCOMPAT_X86_32
35 #elif __WORDSIZE == 64
36 #define LIBKCOMPAT_X86_64
41 #ifdef LIBKCOMPAT_X86_32
46 #ifdef LIBKCOMPAT_X86_64
55 /* Taken from userspace-rcu */
56 #include <urcu/arch.h>
59 #include <ust/kcompat/simple.h>
60 #include <ust/kcompat/compiler.h>
61 #include <ust/kcompat/types.h>
62 #include <ust/kcompat/jhash.h>
64 #endif /* KCOMPAT_H */
This page took 0.031224 seconds and 4 git commands to generate.