Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174481
b: refs/heads/master
c: 420a457
h: refs/heads/master
i:
  174479: b6ff25b
v: v3
  • Loading branch information
Andres Salomon authored and Dave Airlie committed Nov 18, 2009
1 parent b89c302 commit 0f53900
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 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: 4a9216453c8537a7f43a3b1708509b9dd271dc9f
refs/heads/master: 420a457088669e055e767dfb8468909cd1799cf9
10 changes: 0 additions & 10 deletions trunk/include/drm/drmP.h
Original file line number Diff line number Diff line change
Expand Up @@ -245,16 +245,6 @@ extern void drm_ut_debug_printk(unsigned int request_level,

#endif

#define DRM_PROC_LIMIT (PAGE_SIZE-80)

#define DRM_PROC_PRINT(fmt, arg...) \
len += sprintf(&buf[len], fmt , ##arg); \
if (len > DRM_PROC_LIMIT) { *eof = 1; return len - offset; }

#define DRM_PROC_PRINT_RET(ret, fmt, arg...) \
len += sprintf(&buf[len], fmt , ##arg); \
if (len > DRM_PROC_LIMIT) { ret; *eof = 1; return len - offset; }

/*@}*/

/***********************************************************************/
Expand Down

0 comments on commit 0f53900

Please sign in to comment.