diff options
| author | Greg Kroah-Hartman <[email protected]> | 2025-06-23 05:53:36 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-06-23 05:53:36 +0000 |
| commit | 63dafeb392139b893a73b6331f347613f0929702 (patch) | |
| tree | 44f928364b4e48c44b1ffe61d1578535de2a657a /rust/helpers/cpu.c | |
| parent | driver core: Add device_link_test() for testing device link flags (diff) | |
| parent | Linux 6.16-rc3 (diff) | |
| download | kernel-63dafeb392139b893a73b6331f347613f0929702.tar.gz kernel-63dafeb392139b893a73b6331f347613f0929702.zip | |
Merge 6.16-rc3 into driver-core-next
We need the driver-core fixes that are in 6.16-rc3 into here as well
to build on top of.
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'rust/helpers/cpu.c')
| -rw-r--r-- | rust/helpers/cpu.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rust/helpers/cpu.c b/rust/helpers/cpu.c new file mode 100644 index 000000000000..824e0adb19d4 --- /dev/null +++ b/rust/helpers/cpu.c @@ -0,0 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include <linux/smp.h> + +unsigned int rust_helper_raw_smp_processor_id(void) +{ + return raw_smp_processor_id(); +} |
