Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 194814
b: refs/heads/master
c: e0e3328
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed May 7, 2010
1 parent 1ebd420 commit 27fd11d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a33fa66bcf365ffe5b79d1ae1d3582cc261ae56e
refs/heads/master: e0e33280fedcfa9dd70a54085c4d44d9d53b788f
10 changes: 10 additions & 0 deletions trunk/arch/microblaze/include/asm/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,14 @@ extern struct dentry *of_debugfs_root;

#define arch_align_stack(x) (x)

/*
* MicroBlaze doesn't handle unaligned accesses in hardware.
*
* Based on this we force the IP header alignment in network drivers.
* We also modify NET_SKB_PAD to be a cacheline in size, thus maintaining
* cacheline alignment of buffers.
*/
#define NET_IP_ALIGN 2
#define NET_SKB_PAD L1_CACHE_BYTES

#endif /* _ASM_MICROBLAZE_SYSTEM_H */

0 comments on commit 27fd11d

Please sign in to comment.