android_kernel_xiaomi_sm8350/arch/ia64/sn/kernel/sn2
Jack Steiner 24ee0a6d7b [IA64] Cleanup use of various #defines related to nodes
Some of the SN code & #defines related to compact nodes & IO discovery
have gotten stale over the years. This patch attempts to clean them up.
Some of the various SN MAX_xxx #defines were also unclear & misused.

The primary changes are:

	- use MAX_NUMNODES. This is the generic linux #define for the number
	  of nodes that are known to the generic kernel. Arrays & loops
	  for constructs that are 1:1 with linux-defined nodes should
	  use the linux #define - not an SN equivalent.

	- use MAX_COMPACT_NODES for MAX_NUMNODES + NUM_TIOS. This is the
	  number of nodes in the SSI system. Compact nodes are a hack to
	  get around the IA64 architectural limit of 256 nodes. Large SGI
	  systems have more than 256 nodes. When we upgrade to ACPI3.0,
	  I _hope_ that all nodes will be real nodes that are known to
	  the generic kernel. That will allow us to delete the notion
	  of "compact nodes".

	- add MAX_NUMALINK_NODES for the total number of nodes that
	  are in the numalink domain - all partitions.

	- simplified (understandable) scan_for_ionodes()

	- small amount of cleanup related to cnodes

Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2005-09-15 16:31:12 -07:00
..
cache.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prominfo_proc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ptc_deadlock.S [IA64-SGI] - New SN hardware support - ptc_fixes 2005-08-17 15:32:24 -07:00
sn2_smp.c [IA64-SGI] - New SN hardware support - ptc_fixes 2005-08-17 15:32:24 -07:00
sn_hwperf.c [IA64] Cleanup use of various #defines related to nodes 2005-09-15 16:31:12 -07:00
sn_proc_fs.c Merge linux-2.6 into linux-acpi-2.6 test 2005-09-03 02:44:09 -04:00
timer_interrupt.c [IA64-SGI] - New SN hardware support - no_wars 2005-08-17 15:30:44 -07:00
timer.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00