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

- From: Christoph Hellwig \<hch@infradead.org\>
- Date: 2021-08-19 09:56:20 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2021/08/212780
- Thread: https://ratatoskr.run/linuxppc-dev/2021/08/212359/t.md

```text
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.
```
