# Re: \[PATCH v2 04/12\] powerpc/pseries/svm: Add a powerpc version of prot\_guest\_has()

- From: Tom Lendacky \<thomas.lendacky@amd.com\>
- Date: 2021-08-19 18:34:52 
- List: linux-efi
- Page: https://ratatoskr.run/linux-efi/2021/08/212799
- Thread: https://ratatoskr.run/linuxppc-dev/2021/08/212359/t.md

```text
On 8/19/21 4:55 AM, Christoph Hellwig wrote:
> On Fri, Aug 13, 2021 at 11:59:23AM -0500, Tom Lendacky wrote:
>> +static inline bool prot_guest_has(unsigned int attr)
> 
> No reall need to have this inline.  In fact I'd suggest we havea the
> prototype in a common header so that everyone must implement it out
> of line.

I'll do the same thing I end up doing for x86.

Thanks,
Tom

> 
```
