diff options
author | David S. Miller <davem@davemloft.net> | 2010-05-07 01:01:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-07 01:01:53 -0400 |
commit | 39e0786d3cf39c6d2f47b4818ae2da8b8ebc9ce2 (patch) | |
tree | 8e3387764575cc02bc832f33c7163d2bbfeac751 /arch | |
parent | 18e8c134f4e984e6639e62846345192816f06d5c (diff) |
microblaze: Kill NET_SKB_PAD and NET_IP_ALIGN overrides.
NET_IP_ALIGN defaults to 2, no need to override.
NET_SKB_PAD is now 64, which is much larger than microblaze's
L1_CACHE_SIZE so no need to override that either.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/microblaze/include/asm/system.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/microblaze/include/asm/system.h b/arch/microblaze/include/asm/system.h index 48c4f0335e3f..b1e2f0710098 100644 --- a/arch/microblaze/include/asm/system.h +++ b/arch/microblaze/include/asm/system.h | |||
@@ -97,14 +97,4 @@ extern struct dentry *of_debugfs_root; | |||
97 | 97 | ||
98 | #define arch_align_stack(x) (x) | 98 | #define arch_align_stack(x) (x) |
99 | 99 | ||
100 | /* | ||
101 | * MicroBlaze doesn't handle unaligned accesses in hardware. | ||
102 | * | ||
103 | * Based on this we force the IP header alignment in network drivers. | ||
104 | * We also modify NET_SKB_PAD to be a cacheline in size, thus maintaining | ||
105 | * cacheline alignment of buffers. | ||
106 | */ | ||
107 | #define NET_IP_ALIGN 2 | ||
108 | #define NET_SKB_PAD L1_CACHE_BYTES | ||
109 | |||
110 | #endif /* _ASM_MICROBLAZE_SYSTEM_H */ | 100 | #endif /* _ASM_MICROBLAZE_SYSTEM_H */ |