#ifndef __LIBCFS_LINUX_KP30_H__
#define __LIBCFS_LINUX_KP30_H__
-
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/string.h>
#include <linux/moduleparam.h>
#include <linux/scatterlist.h>
-#include <linux/libcfs/linux/portals_compat25.h>
+#include "portals_compat25.h"
/* this is a bit chunky */
# define LPD64 "%lld"
# define LPX64 "%#llx"
# define LPX64i "%llx"
-# define LPO64 "%#llo"
-# define LPF64 "L"
-
-/*
- * long_ptr_t & ulong_ptr_t, same to "long" for gcc
- */
-# define LPLU "%lu"
-# define LPLD "%ld"
-# define LPLX "%#lx"
-
-/*
- * pid_t
- */
-# define LPPID "%d"
#endif