| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright 2010 IBM Corp, Benjamin Herrenschmidt <benh@kernel.crashing.org> |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Generic idle routine for Book3E processors |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or |
|---|
| 7 | | - * modify it under the terms of the GNU General Public License |
|---|
| 8 | | - * as published by the Free Software Foundation; either version |
|---|
| 9 | | - * 2 of the License, or (at your option) any later version. |
|---|
| 10 | 6 | */ |
|---|
| 11 | 7 | |
|---|
| 12 | 8 | #include <linux/threads.h> |
|---|
| .. | .. |
|---|
| 63 | 59 | 1: /* Let's set the _TLF_NAPPING flag so interrupts make us return |
|---|
| 64 | 60 | * to the right spot |
|---|
| 65 | 61 | */ |
|---|
| 66 | | - CURRENT_THREAD_INFO(r11, r1) |
|---|
| 62 | + ld r11, PACACURRENT(r13) |
|---|
| 67 | 63 | ld r10,TI_LOCAL_FLAGS(r11) |
|---|
| 68 | 64 | ori r10,r10,_TLF_NAPPING |
|---|
| 69 | 65 | std r10,TI_LOCAL_FLAGS(r11) |
|---|