Commit a07c03e8 authored by Helge Deller's avatar Helge Deller
Browse files

parisc: firmware: Fix sparse context imbalance warnings



Tell sparse about correct context for pdc_cpu_rendezvous_*lock()
functions.

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent dc54a52a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -334,7 +334,7 @@ int __pdc_cpu_rendezvous(void)
/**
 * pdc_cpu_rendezvous_lock - Lock PDC while transitioning to rendezvous state
 */
void pdc_cpu_rendezvous_lock(void)
void pdc_cpu_rendezvous_lock(void) __acquires(&pdc_lock)
{
	spin_lock(&pdc_lock);
}
@@ -342,7 +342,7 @@ void pdc_cpu_rendezvous_lock(void)
/**
 * pdc_cpu_rendezvous_unlock - Unlock PDC after reaching rendezvous state
 */
void pdc_cpu_rendezvous_unlock(void)
void pdc_cpu_rendezvous_unlock(void) __releases(&pdc_lock)
{
	spin_unlock(&pdc_lock);
}