Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115690
b: refs/heads/master
c: 6bb9e4b
h: refs/heads/master
v: v3
  • Loading branch information
David Howells authored and Dave Airlie committed Oct 17, 2008
1 parent 4b11215 commit b5f8221
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: ddb7f4cb819fb6b9df261ce4c80b3c6f4852620d
refs/heads/master: 6bb9e4bff5c6fd908d907222108ef5650d77972f
8 changes: 4 additions & 4 deletions trunk/drivers/gpu/drm/sis/sis_mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#define AGP_TYPE 1


#if defined(CONFIG_FB_SIS)
#if defined(CONFIG_FB_SIS) || defined(CONFIG_FB_SIS_MODULE)
/* fb management via fb device */

#define SIS_MM_ALIGN_SHIFT 0
Expand Down Expand Up @@ -75,12 +75,12 @@ static unsigned long sis_sman_mm_offset(void *private, void *ref)
return ~((unsigned long)ref);
}

#else /* CONFIG_FB_SIS */
#else /* CONFIG_FB_SIS[_MODULE] */

#define SIS_MM_ALIGN_SHIFT 4
#define SIS_MM_ALIGN_MASK ( (1 << SIS_MM_ALIGN_SHIFT) - 1)

#endif /* CONFIG_FB_SIS */
#endif /* CONFIG_FB_SIS[_MODULE] */

static int sis_fb_init(struct drm_device *dev, void *data, struct drm_file *file_priv)
{
Expand All @@ -89,7 +89,7 @@ static int sis_fb_init(struct drm_device *dev, void *data, struct drm_file *file
int ret;

mutex_lock(&dev->struct_mutex);
#if defined(CONFIG_FB_SIS)
#if defined(CONFIG_FB_SIS) || defined(CONFIG_FB_SIS_MODULE)
{
struct drm_sman_mm sman_mm;
sman_mm.private = (void *)0xFFFFFFFF;
Expand Down

0 comments on commit b5f8221

Please sign in to comment.