zephyr/drivers
Kumar Gala a1195ae39b smp: Move for loops to use arch_num_cpus instead of CONFIG_MP_NUM_CPUS
Change for loops of the form:

for (i = 0; i < CONFIG_MP_NUM_CPUS; i++)
   ...

to

unsigned int num_cpus = arch_num_cpus();
for (i = 0; i < num_cpus; i++)
   ...

We do the call outside of the for loop so that it only happens once,
rather than on every iteration.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2022-10-21 13:14:58 +02:00
..
adc include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
audio include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
bbram include: fix includes for IT8xxx2 SoC 2022-10-12 16:10:05 -04:00
bluetooth include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
cache cache: Fix build warning 'No SOURCES given to Zephyr library' 2022-08-24 10:36:40 +00:00
can drivers: can: npl: ensure CANFD_FDF flag is defined 2022-10-17 17:04:16 +02:00
clock_control drivers: clock_control: stm32: add missing headers 2022-10-19 16:01:28 +02:00
console init: s/ARCH/EARLY, call it just before arch kernel init 2022-10-12 17:16:27 +09:00
coredump everywhere: Fix legacy include paths 2022-07-18 16:16:47 +00:00
counter include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
crypto drivers: crypto: Update Kconfig 2022-08-30 10:43:12 +00:00
dac include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
dai include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
debug kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
disk include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
display include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
dma drivers: dma: Fix for DW DMA link list alignment 2022-10-18 14:13:01 +02:00
ec_host_cmd_periph include: add missing kernel.h include 2022-10-11 18:05:17 +02:00
edac includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
eeprom drivers: eeprom: add missing include to nxp eeprom driver 2022-10-14 14:24:44 +02:00
entropy include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
espi driver: eSPI: npcx: support multiple bytes mode for Port80 2022-10-20 15:41:22 +02:00
ethernet net: ethernet: Align Ethernet drivers/L2 with iface state upgrade 2022-10-20 10:00:31 +02:00
flash include: add missing zephyr/irq.h include 2022-10-20 22:52:09 +09:00
fpga samples: boards: Add Qomu board sample 2022-10-20 15:41:09 +02:00
gpio drivers: gpio: Add Open-Drain Support 2022-10-19 16:06:40 +02:00
hwinfo drivers: hwinfo: add Andes hwinfo driver 2022-08-26 11:55:55 +02:00
i2c i2c_shell: add command to configure bus speed 2022-10-20 16:02:32 +02:00
i2s include: add missing zephyr/kernel.h 2022-10-20 22:52:09 +09:00
i3c i3c: fix ccc setmrl/setmwl helper addr 2022-10-14 12:27:39 -04:00
ieee802154 net: pkt: decouple from ieee802154 internals 2022-10-17 16:54:37 +02:00
interrupt_controller smp: Move for loops to use arch_num_cpus instead of CONFIG_MP_NUM_CPUS 2022-10-21 13:14:58 +02:00
ipm smp: Move for loops to use arch_num_cpus instead of CONFIG_MP_NUM_CPUS 2022-10-21 13:14:58 +02:00
kscan include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
led includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
led_strip includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
lora include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
mbox include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
mdio include: add missing kernel.h include 2022-10-11 18:05:17 +02:00
memc include: add missing zephyr/kernel.h 2022-10-20 22:52:09 +09:00
mipi_dsi include: add missing errno.h 2022-10-20 22:52:09 +09:00
misc includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
mm intel_adsp: ace: rename namespace: MTL -> ACE 2022-10-11 12:50:05 -04:00
modem drivers: modem: wncm14a2a: Align driver with iface status upgrade 2022-10-20 10:00:31 +02:00
net net: ppp: Align PPP driver/L2 with iface state upgrade 2022-10-20 10:00:31 +02:00
neural_net include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
pcie include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
peci include: add missing zephyr/kernel.h 2022-10-20 22:52:09 +09:00
pinctrl drivers: pinctrl: add NXP S32 SIUL2 driver 2022-10-14 09:51:14 +02:00
pinmux include: add missing errno.h include 2022-10-11 18:05:17 +02:00
pm_cpu_ops drivers: pm_cpu_ops: Update Kconfig 2022-08-12 11:34:10 +02:00
power_domain include: fix files using legacy include paths 2022-08-31 06:49:00 -04:00
ps2 include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
ptp_clock drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
pwm include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
regulator drivers: regulator: support regulator-boot-on for PMIC driver 2022-10-18 14:12:52 +02:00
reset include: add missing limits.h include 2022-10-11 18:05:17 +02:00
sdhc include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
sensor ADXL362: Do not clear last bits of 16-bit inactivity time value 2022-10-18 14:11:53 +02:00
serial include: add missing zephyr/kernel.h 2022-10-20 22:52:09 +09:00
spi include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
syscon include: add missing errno.h include 2022-10-11 18:05:17 +02:00
timer smp: Convert #if to use CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
usb include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
usbc include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
video include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
virtualization drivers: virt: ivshmem: Convert to use DEVICE_DT_GET_ONE 2022-07-25 15:16:05 +02:00
w1 drivers/w1: driver for ds2485 1-Wire master 2022-09-09 14:11:30 +00:00
watchdog include: add missing zephyr/sys_clock.h 2022-10-20 22:52:09 +09:00
wifi drivers: wifi: esp_at: Align driver with iface status upgrade 2022-10-20 10:00:31 +02:00
xen include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
CMakeLists.txt drivers: i3c: introduce I3C API for controllers 2022-09-09 17:42:33 -04:00
Kconfig drivers: i3c: introduce I3C API for controllers 2022-09-09 17:42:33 -04:00