linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hal Rosenstock <hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
To: Alex Netes <alexne-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Cc: "linux-rdma
	(linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: [PATCH][TRIVIAL] opensm/complib/cl_spinlock.h: Remove some unimplemented routines
Date: Tue, 18 Sep 2012 14:53:21 -0400	[thread overview]
Message-ID: <5058C321.3000003@dev.mellanox.co.il> (raw)


Remove cl_spinlock_acquire_irq and cl_spinlock_release_irq

Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
 include/complib/cl_spinlock.h |   61 ++---------------------------------------
 1 files changed, 3 insertions(+), 58 deletions(-)

diff --git a/include/complib/cl_spinlock.h b/include/complib/cl_spinlock.h
index 1a04b56..4de6f26 100644
--- a/include/complib/cl_spinlock.h
+++ b/include/complib/cl_spinlock.h
@@ -73,7 +73,6 @@ BEGIN_C_DECLS
 *
 *	Manipulation
 *		cl_spinlock_acquire, cl_spinlock_release
-*		cl_spinlock_acquire_irq, cl_spinlock_release_irq
 *********/
 /****f* Component Library: Spinlock/cl_spinlock_construct
 * NAME
@@ -133,9 +132,7 @@ cl_status_t cl_spinlock_init(IN cl_spinlock_t * const p_spinlock);
 *
 * SEE ALSO
 *	Spinlock, cl_spinlock_construct, cl_spinlock_destroy,
-*	cl_spinlock_acquire, cl_spinlock_acquire_irq,
-*	cl_spinlock_release, cl_spinlock_release
-*	cl_spinlock_release_irq, cl_spinlock_release_irq
+*	cl_spinlock_acquire, cl_spinlock_release
 *********/
 
 /****f* Component Library: Spinlock/cl_spinlock_destroy
@@ -174,8 +171,7 @@ void cl_spinlock_destroy(IN cl_spinlock_t * const p_spinlock);
 *	The cl_spinlock_acquire function acquires a spin lock.
 *	This version of lock does not prevent an interrupt from
 *	occuring on the processor on which the code is being
-*	executed. To protect from an interrupt level resource
-*	use the cl_spinlock_acquire_irq function.
+*	executed.
 *
 * SYNOPSIS
 */
@@ -189,33 +185,7 @@ void cl_spinlock_acquire(IN cl_spinlock_t * const p_spinlock);
 *	This function does not return a value.
 *
 * SEE ALSO
-*	Spinlock, cl_spinlock_acquire_irq, cl_spinlock_release
-*	cl_spinlock_release_irq
-*********/
-
-/****f* Component Library: Spinlock/cl_spinlock_acquire_irq
-* NAME
-*	cl_spinlock_acquire_irq
-*
-* DESCRIPTION
-*	The cl_spinlock_acquire_irq function acquires a spin lock and protects
-*	the current processor from taking interrupts. If you need to protect
-*	a variable from an interrupt resource, use this version to acquire
-*	a lock.
-*
-* SYNOPSIS
-*/
-void cl_spinlock_acquire_irq(IN cl_spinlock_t * const p_spinlock);
-/*
-* PARAMETERS
-*	p_spin_lock
-*		[in] Pointer to a spin lock structure to acquire.
-*
-* RETURN VALUE
-*	This function does not return a value.
-*
-* SEE ALSO
-*	Spinlock, cl_spinlock_release_irq
+*	Spinlock, cl_spinlock_release
 *********/
 
 /****f* Component Library: Spinlock/cl_spinlock_release
@@ -243,30 +213,5 @@ void cl_spinlock_release(IN cl_spinlock_t * const p_spinlock);
 *	Spinlock, cl_spinlock_acquire
 *********/
 
-/****f* Component Library: Spinlock/cl_spinlock_release_irq
-* NAME
-*	cl_spinlock_release_irq
-*
-* DESCRIPTION
-*	The cl_spinlock_release_irq function releases a spin lock object.
-*
-* SYNOPSIS
-*/
-void cl_spinlock_release_irq(IN cl_spinlock_t * const p_spinlock);
-/*
-* PARAMETERS
-*	p_spin_lock
-*		[in] Pointer to a spin lock structure to release.
-*
-* RETURN VALUE
-*	This function does not return a value.
-*
-* NOTES
-*	Releases a spin lock after a call to cl_spinlock_acquire.
-*
-* SEE ALSO
-*	Spinlock, cl_spinlock_acquire_irq
-*********/
-
 END_C_DECLS
 #endif				/* _CL_SPINLOCK_H_ */
-- 
1.7.8.2

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2012-09-18 18:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-18 18:53 Hal Rosenstock [this message]
     [not found] ` <5058C321.3000003-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2012-10-25 15:44   ` [PATCH][TRIVIAL] opensm/complib/cl_spinlock.h: Remove some unimplemented routines Alex Netes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5058C321.3000003@dev.mellanox.co.il \
    --to=hal-ldsdmyg8hgv8yrgs2mwiifqbs+8scbdb@public.gmane.org \
    --cc=alexne-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).