[SPARC64]: Do not assume sun4v chips have load-twin/store-init support.
Check the cpu type in the OBP device tree before committing to using the optimized Niagara memcpy and memset implementation. If we don't recognize the cpu type, use a completely generic version. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
68c9f9fd33
commit
6c70b6fc7b
13 changed files with 603 additions and 36 deletions
|
@ -168,6 +168,7 @@ EXPORT_SYMBOL(change_bit);
|
|||
EXPORT_SYMBOL(__flushw_user);
|
||||
|
||||
EXPORT_SYMBOL(tlb_type);
|
||||
EXPORT_SYMBOL(sun4v_chip_type);
|
||||
EXPORT_SYMBOL(get_fb_unmapped_area);
|
||||
EXPORT_SYMBOL(flush_icache_range);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue