Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37512
b: refs/heads/master
c: fb41e54
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Dave Airlie committed Sep 21, 2006
1 parent 6b35b36 commit 2869f5e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 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: c7aed1790254aed286b7bfb51167c2676df86f4b
refs/heads/master: fb41e54be4bad6f64d343d051d699efde3c92e2c
4 changes: 2 additions & 2 deletions trunk/drivers/char/drm/drm_bufs.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ static drm_map_list_t *drm_find_matching_map(drm_device_t *dev,
return NULL;
}

int drm_map_handle(drm_device_t *dev, drm_hash_item_t *hash,
unsigned long user_token, int hashed_handle)
static int drm_map_handle(drm_device_t *dev, drm_hash_item_t *hash,
unsigned long user_token, int hashed_handle)
{
int use_hashed_handle;
#if (BITS_PER_LONG == 64)
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/char/drm/drm_sman.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ static void drm_sman_mm_destroy(void *private)
drm_free(mm, sizeof(*mm), DRM_MEM_MM);
}

unsigned long drm_sman_mm_offset(void *private, void *ref)
static unsigned long drm_sman_mm_offset(void *private, void *ref)
{
drm_mm_node_t *node = (drm_mm_node_t *) ref;
return node->start;
Expand Down
11 changes: 7 additions & 4 deletions trunk/drivers/char/drm/sis_mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
#define VIDEO_TYPE 0
#define AGP_TYPE 1

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

#if defined(CONFIG_FB_SIS)
/* fb management via fb device */
Expand Down Expand Up @@ -72,12 +70,17 @@ static void sis_sman_mm_destroy(void *private)
;
}

unsigned long sis_sman_mm_offset(void *private, void *ref)
static unsigned long sis_sman_mm_offset(void *private, void *ref)
{
return ~((unsigned long)ref);
}

#endif
#else /* CONFIG_FB_SIS */

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

#endif /* CONFIG_FB_SIS */

static int sis_fb_init(DRM_IOCTL_ARGS)
{
Expand Down

0 comments on commit 2869f5e

Please sign in to comment.