- * vim:expandtab:shiftwidth=8:tabstop=8:
- *
+/*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
* CA 95054 USA or visit www.sun.com if you need additional information or
* have any questions.
- *
- * GPL HEADER END
*/
/*
* Copyright (c) 2007, 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/
#define LPU64 "%llu"
#define LPD64 "%lld"
#define LPX64 "%llx"
+#define LPO64 "%llo"
#endif
struct obd_ioctl_data;
sigmask(SIGTERM) | sigmask(SIGQUIT) | \
sigmask(SIGALRM) | sigmask(SIGHUP))
-#ifdef __KERNEL__
-static inline sigset_t l_w_e_set_sigs(sigset_t sigs)
-{
- sigset_t old = 0;
-
- /* XXX Liang: how to change sigmask in Darwin8.x?
- * there is syscall like pthread_sigmask() but we cannot
- * use in kernel */
-#if !defined(__DARWIN8__)
- struct proc *p = current_proc();
- extern int block_procsigmask(struct proc *p, int bit);
- old = cfs_current()->uu_sigmask;
- block_procsigmask(p, ~sigs);
-#endif
-
- return old;
-}
-#endif
-
#endif