mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 13:03:48 +00:00
Merge tag 'xtensa-20261027' of https://github.com/jcmvbkbc/linux-xtensa
Pull xtensa updates from Max Filippov: - fix clk reference leak in calibrate_ccount - small fixes in comments * tag 'xtensa-20261027' of https://github.com/jcmvbkbc/linux-xtensa: xtensa: time: Fix clk reference leak in calibrate_ccount() xtensa: fix typos in comments xtensa: atomics: drop kernel-doc comments
This commit is contained in:
@@ -37,21 +37,8 @@
|
||||
* where no register reference will cause an overflow.
|
||||
*/
|
||||
|
||||
/**
|
||||
* atomic_read - read atomic variable
|
||||
* @v: pointer of type atomic_t
|
||||
*
|
||||
* Atomically reads the value of @v.
|
||||
*/
|
||||
#define arch_atomic_read(v) READ_ONCE((v)->counter)
|
||||
|
||||
/**
|
||||
* atomic_set - set atomic variable
|
||||
* @v: pointer of type atomic_t
|
||||
* @i: required value
|
||||
*
|
||||
* Atomically sets the value of @v to @i.
|
||||
*/
|
||||
#define arch_atomic_set(v,i) WRITE_ONCE((v)->counter, (i))
|
||||
|
||||
#if XCHAL_HAVE_EXCLUSIVE
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
#define MADV_HUGEPAGE 14 /* Worth backing with hugepages */
|
||||
#define MADV_NOHUGEPAGE 15 /* Not worth backing with hugepages */
|
||||
|
||||
#define MADV_DONTDUMP 16 /* Explicity exclude from the core dump,
|
||||
#define MADV_DONTDUMP 16 /* Explicitly exclude from the core dump,
|
||||
overrides the coredump filter bits */
|
||||
#define MADV_DODUMP 17 /* Clear the MADV_NODUMP flag */
|
||||
|
||||
|
||||
@@ -1671,7 +1671,7 @@ ENTRY(fast_second_level_miss)
|
||||
* This allows to map the three most common regions to three different
|
||||
* DTLBs:
|
||||
* 0,1 -> way 7 program (0040.0000) and virtual (c000.0000)
|
||||
* 2 -> way 8 shared libaries (2000.0000)
|
||||
* 2 -> way 8 shared libraries (2000.0000)
|
||||
* 3 -> way 0 stack (3000.0000)
|
||||
*/
|
||||
|
||||
|
||||
@@ -152,6 +152,7 @@ static void __init calibrate_ccount(void)
|
||||
of_node_put(cpu);
|
||||
if (!IS_ERR(clk)) {
|
||||
ccount_freq = clk_get_rate(clk);
|
||||
clk_put(clk);
|
||||
return;
|
||||
} else {
|
||||
pr_warn("%s: CPU input clock not found\n",
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* use a first-level dispatch table to dispatch the exception to a registered
|
||||
* fast handler or the default handler, if no fast handler was registered.
|
||||
* The default handler sets up a C-stack and dispatches the exception to a
|
||||
* registerd C handler in the second-level dispatch table.
|
||||
* registered C handler in the second-level dispatch table.
|
||||
*
|
||||
* Fast handler entry condition:
|
||||
*
|
||||
|
||||
@@ -43,7 +43,7 @@ void __init bootmem_init(void)
|
||||
* accounting doesn't work for pages below that address.
|
||||
*
|
||||
* If PHYS_OFFSET is zero reserve page at address 0:
|
||||
* successfull allocations should never return NULL.
|
||||
* successful allocations should never return NULL.
|
||||
*/
|
||||
memblock_reserve(0, PHYS_OFFSET ? PHYS_OFFSET : 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user