Whamcloud - gitweb
LU-6245 libcfs: remove userland headers from libcfs.h
[fs/lustre-release.git] / libcfs / include / libcfs / libcfs_cpu.h
index 380be11..00aa9ad 100644 (file)
 
 #ifndef HAVE_LIBCFS_CPT
 
-#ifndef __KERNEL__
-typedef struct nodemask { DECLARE_BITMAP(bits, 1); } nodemask_t;
-typedef struct cpumask  { DECLARE_BITMAP(bits, 1); } cpumask_t;
-
-#define node_set(node, dst) __node_set((node), &(dst))
-static __always_inline void __node_set(int node, nodemask_t *dstp)
-{
-       set_bit(node, dstp->bits);
-}
-#endif /* __KERNEL__ */
-
 struct cfs_cpt_table {
        /* # of CPU partitions */
        int                     ctb_nparts;