Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219771
b: refs/heads/master
c: 1572f91
h: refs/heads/master
i:
  219769: 606d4e2
  219767: e308c8c
v: v3
  • Loading branch information
Bernie Thompson authored and Greg Kroah-Hartman committed Sep 5, 2010
1 parent ee63173 commit 6987709
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 18dffdf8913ab9e4ac7403a624879a15afa5262e
refs/heads/master: 1572f91cffd7c0d64ab4e0cec71e1d2d1a3349e1
7 changes: 3 additions & 4 deletions trunk/drivers/staging/udlfb/udlfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -414,15 +414,14 @@ static void dlfb_compress_hline(
uint8_t *cmd_pixels_count_byte = 0;
const uint16_t *raw_pixel_start = 0;
const uint16_t *cmd_pixel_start, *cmd_pixel_end = 0;
const uint32_t be_dev_addr = cpu_to_be32(dev_addr);

prefetchw((void *) cmd); /* pull in one cache line at least */

*cmd++ = 0xAF;
*cmd++ = 0x6B;
*cmd++ = (uint8_t) ((be_dev_addr >> 8) & 0xFF);
*cmd++ = (uint8_t) ((be_dev_addr >> 16) & 0xFF);
*cmd++ = (uint8_t) ((be_dev_addr >> 24) & 0xFF);
*cmd++ = (uint8_t) ((dev_addr >> 16) & 0xFF);
*cmd++ = (uint8_t) ((dev_addr >> 8) & 0xFF);
*cmd++ = (uint8_t) ((dev_addr) & 0xFF);

cmd_pixels_count_byte = cmd++; /* we'll know this later */
cmd_pixel_start = pixel;
Expand Down

0 comments on commit 6987709

Please sign in to comment.