Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44699
b: refs/heads/master
c: c041ffb
h: refs/heads/master
i:
  44697: e7259c1
  44695: 8884341
v: v3
  • Loading branch information
Lennert Buytenhek authored and Russell King committed Dec 18, 2006
1 parent 593dfcd commit f6ba1b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 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: ab9d90db956dec1a83f4c4ef443df6bdbfc3f25d
refs/heads/master: c041ffb36407897bbc3b7bf87d1fa856ce085cdf
16 changes: 1 addition & 15 deletions trunk/include/asm-arm/arch-ixp23xx/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,7 @@
data = *((volatile int *)IXP23XX_PCI_SDRAM_BAR); \
__phys_to_virt((((b - (data & 0xfffffff0)) + 0x00000000))); })

/*
* Coherency support. Only supported on A2 CPUs or on A1
* systems that have the cache coherency workaround.
*/
static inline int __ixp23xx_arch_is_coherent(void)
{
extern unsigned int processor_id;

if (((processor_id & 15) >= 4) || machine_is_roadrunner())
return 1;

return 0;
}

#define arch_is_coherent() __ixp23xx_arch_is_coherent()
#define arch_is_coherent() 1

#endif

Expand Down

0 comments on commit f6ba1b5

Please sign in to comment.