MIPS: SGI-IP27: get rid of volatile and hubreg_t
Replace hub register access with __raw_readq/__raw_writeq and get rid of hubreg_t completely. Also remove no longer (probably never used) used defines Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org
This commit is contained in:

committed by
Paul Burton

parent
72faa7a773
commit
db0e7d4e42
@@ -17,8 +17,6 @@
|
||||
#include <asm/sn/sn0/arch.h>
|
||||
#endif
|
||||
|
||||
typedef u64 hubreg_t;
|
||||
|
||||
#define cputonasid(cpu) (sn_cpu_info[(cpu)].p_nasid)
|
||||
#define cputoslice(cpu) (sn_cpu_info[(cpu)].p_slice)
|
||||
#define makespnum(_nasid, _slice) \
|
||||
|
Reference in New Issue
Block a user