From 571026d3944db220e02edce6628e9d854758b81d Mon Sep 17 00:00:00 2001 From: Teufelchen1 Date: Mon, 16 Jan 2023 11:28:30 +0100 Subject: [PATCH] Revert "sys/pm_layered: pm_(un)block add attribute optimize(3) -shortens hotpath" This reverts commit 5447203921ab39962d7d378a631a6bc048e7f30b. --- sys/pm_layered/pm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/pm_layered/pm.c b/sys/pm_layered/pm.c index b7c61b0759..efff800cdf 100644 --- a/sys/pm_layered/pm.c +++ b/sys/pm_layered/pm.c @@ -74,7 +74,6 @@ void pm_set_lowest(void) irq_restore(state); } -__attribute__((optimize(3))) void pm_block(unsigned mode) { DEBUG("[pm_layered] pm_block(%d)\n", mode); @@ -85,7 +84,6 @@ void pm_block(unsigned mode) irq_restore(state); } -__attribute__((optimize(3))) void pm_unblock(unsigned mode) { DEBUG("[pm_layered] pm_unblock(%d)\n", mode);