processor.h (0898782247ae533d1f4e47a06bc5d4870931b284) processor.h (ed0bc98f8cbe4f8254759d333a47aedc816ff8c5)
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2#ifndef _ASM_POWERPC_PROCESSOR_H
3#define _ASM_POWERPC_PROCESSOR_H
4
5/*
6 * Copyright (C) 2001 PPC 64 Team, IBM Corp
7 */
8

--- 398 unchanged lines hidden (view full) ---

407 return sp;
408}
409#endif
410
411/* asm stubs */
412extern unsigned long isa300_idle_stop_noloss(unsigned long psscr_val);
413extern unsigned long isa300_idle_stop_mayloss(unsigned long psscr_val);
414extern unsigned long isa206_idle_insn_mayloss(unsigned long type);
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2#ifndef _ASM_POWERPC_PROCESSOR_H
3#define _ASM_POWERPC_PROCESSOR_H
4
5/*
6 * Copyright (C) 2001 PPC 64 Team, IBM Corp
7 */
8

--- 398 unchanged lines hidden (view full) ---

407 return sp;
408}
409#endif
410
411/* asm stubs */
412extern unsigned long isa300_idle_stop_noloss(unsigned long psscr_val);
413extern unsigned long isa300_idle_stop_mayloss(unsigned long psscr_val);
414extern unsigned long isa206_idle_insn_mayloss(unsigned long type);
415#ifdef CONFIG_PPC_970_NAP
416extern void power4_idle_nap(void);
417#endif
415
416extern unsigned long cpuidle_disable;
417enum idle_boot_override {IDLE_NO_OVERRIDE = 0, IDLE_POWERSAVE_OFF};
418
419extern int powersave_nap; /* set if nap mode can be used in idle loop */
420
421extern void power7_idle_type(unsigned long type);
422extern void power9_idle_type(unsigned long stop_psscr_val,

--- 24 unchanged lines hidden ---
418
419extern unsigned long cpuidle_disable;
420enum idle_boot_override {IDLE_NO_OVERRIDE = 0, IDLE_POWERSAVE_OFF};
421
422extern int powersave_nap; /* set if nap mode can be used in idle loop */
423
424extern void power7_idle_type(unsigned long type);
425extern void power9_idle_type(unsigned long stop_psscr_val,

--- 24 unchanged lines hidden ---