Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236113
b: refs/heads/master
c: c73d0d5
h: refs/heads/master
i:
  236111: 5910231
v: v3
  • Loading branch information
Javier Martinez Canillas authored and Greg Kroah-Hartman committed Feb 23, 2011
1 parent e69860d commit 6342101
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 898fcb98066cfcd6051d61638e7e3a305de34c85
refs/heads/master: c73d0d55069b94630338bfeeae6d8149770e0451
3 changes: 0 additions & 3 deletions trunk/drivers/staging/xgifb/XGI_accel.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@ XGI310Sync(void)

int XGIfb_initaccel(void)
{
#ifdef XGIFB_USE_SPINLOCKS
spin_lock_init(&xgi_video_info.lockaccel);
#endif
return(0);
}

Expand Down
14 changes: 0 additions & 14 deletions trunk/drivers/staging/xgifb/XGI_accel.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,6 @@
#ifndef _XGIFB_ACCEL_H
#define _XGIFB_ACCEL_H

/* Guard accelerator accesses with spin_lock_irqsave? Works well without. */
#undef XGIFB_USE_SPINLOCKS

#ifdef XGIFB_USE_SPINLOCKS
#include <linux/spinlock.h>
#define CRITBEGIN spin_lock_irqsave(&xgi_video_info.lockaccel), critflags);
#define CRITEND spin_unlock_irqrestore(&xgi_video_info.lockaccel), critflags);
#define CRITFLAGS unsigned long critflags;
#else
#define CRITBEGIN
#define CRITEND
#define CRITFLAGS
#endif

/* Definitions for the XGI engine communication. */

#define PATREGSIZE 384 /* Pattern register size. 384 bytes @ 0x8300 */
Expand Down

0 comments on commit 6342101

Please sign in to comment.