X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=libcfs%2Finclude%2Flibcfs%2Fposix%2Fposix-wordsize.h;h=b826d36b3da3ecba007ec14a9e7d81f39623d6d0;hb=0f97aec231f76ffb91ba445bd6326645e35da5b9;hp=4c80923aa4b60a213483d0f10ff3ee123a7722c7;hpb=3684de257a7e8932936a27d0fdb3ecb39653e624;p=fs%2Flustre-release.git diff --git a/libcfs/include/libcfs/posix/posix-wordsize.h b/libcfs/include/libcfs/posix/posix-wordsize.h index 4c80923..b826d36 100644 --- a/libcfs/include/libcfs/posix/posix-wordsize.h +++ b/libcfs/include/libcfs/posix/posix-wordsize.h @@ -1,6 +1,4 @@ -/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*- - * vim:expandtab:shiftwidth=8:tabstop=8: - * +/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -28,6 +26,8 @@ /* * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. + * + * Copyright (c) 2011, Intel Corporation. */ /* * This file is part of Lustre, http://www.lustre.org/ @@ -43,8 +43,6 @@ #ifndef __LIBCFS_LINUX_KP30_H__ #define __LIBCFS_LINUX_KP30_H__ - - #if defined(__CYGWIN__) # include #endif @@ -56,9 +54,8 @@ #endif # define CFS_MODULE_PARM(name, t, type, perm, desc) -#define PORTAL_SYMBOL_GET(x) inter_module_get(#x) -#define PORTAL_SYMBOL_PUT(x) inter_module_put(#x) - +#define symbol_get(x) inter_module_get(#x) +#define symbol_put(x) inter_module_put(#x) #ifdef __CYGWIN__ # ifndef BITS_PER_LONG @@ -72,36 +69,8 @@ # define BITS_PER_LONG __WORDSIZE #endif - -/******************************************************************************/ -/* Light-weight trace - * Support for temporary event tracing with minimal Heisenberg effect. */ -#define LWT_SUPPORT 0 - -#define LWT_MEMORY (16<<20) - -typedef struct { - long long lwte_when; - char *lwte_where; - void *lwte_task; - long lwte_p1; - long lwte_p2; - long lwte_p3; - long lwte_p4; -# if BITS_PER_LONG > 32 - long lwte_pad; -# endif -} lwt_event_t; - -#if LWT_SUPPORT -#define LWT_EVENT(p1,p2,p3,p4) /* no userland implementation yet */ -#endif /* LWT_SUPPORT */ - -/* ------------------------------------------------------------------ */ - #define IOCTL_LIBCFS_TYPE long - #if BITS_PER_LONG > 32 # define LI_POISON ((int)0x5a5a5a5a5a5a5a5a) # define LL_POISON ((long)0x5a5a5a5a5a5a5a5a)