sconfig: rename lapic_cluster -> cpu_cluster
The name lapic_cluster is a bit misleading, since the construct is not local APIC specific by concept. As implementations and hardware change, be more generic about our naming. This will allow us to support non-x86 systems without adding new keywords. Change-Id: Icd7f5fcf6f54d242eabb5e14ee151eec8d6cceb1 Signed-off-by: Stefan Reinauer <reinauer@google.com> Signed-off-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: http://review.coreboot.org/2377 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
		
				
					committed by
					
						 Ronald G. Minnich
						Ronald G. Minnich
					
				
			
			
				
	
			
			
			
						parent
						
							398e84c71a
						
					
				
				
					commit
					0aa37c488b
				
			| @@ -194,7 +194,7 @@ static void enable_dev(struct device *dev) | ||||
| 	/* This is never hit as none of the sc520 boards have | ||||
| 	 * an APIC cluster defined | ||||
| 	 */ | ||||
|         else if (dev->path.type == DEVICE_PATH_APIC_CLUSTER) { | ||||
|         else if (dev->path.type == DEVICE_PATH_CPU_CLUSTER) { | ||||
|                 dev->ops = &cpu_bus_ops; | ||||
|         } | ||||
| #endif | ||||
|   | ||||
| @@ -48,7 +48,7 @@ static int determine_total_number_of_cores(void) | ||||
| 	int count = 0; | ||||
| 	for(cpu = all_devices; cpu; cpu = cpu->next) { | ||||
| 		if ((cpu->path.type != DEVICE_PATH_APIC) || | ||||
| 			(cpu->bus->dev->path.type != DEVICE_PATH_APIC_CLUSTER)) { | ||||
| 			(cpu->bus->dev->path.type != DEVICE_PATH_CPU_CLUSTER)) { | ||||
| 			continue; | ||||
| 		} | ||||
| 		if (!cpu->enabled) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user