.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * POWER Data Stream Control Register (DSCR) SPR test |
---|
3 | 4 | * |
---|
.. | .. |
---|
14 | 15 | * |
---|
15 | 16 | * Copyright 2013, Anton Blanchard, IBM Corporation. |
---|
16 | 17 | * Copyright 2015, Anshuman Khandual, IBM Corporation. |
---|
17 | | - * |
---|
18 | | - * This program is free software; you can redistribute it and/or modify it |
---|
19 | | - * under the terms of the GNU General Public License version 2 as published |
---|
20 | | - * by the Free Software Foundation. |
---|
21 | 18 | */ |
---|
22 | 19 | #include "dscr.h" |
---|
23 | 20 | |
---|
.. | .. |
---|
39 | 36 | { |
---|
40 | 37 | int i; |
---|
41 | 38 | |
---|
| 39 | + SKIP_IF(!have_hwcap2(PPC_FEATURE2_DSCR)); |
---|
| 40 | + |
---|
42 | 41 | check_dscr(""); |
---|
43 | 42 | |
---|
44 | 43 | for (i = 0; i < COUNT; i++) { |
---|