summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/xmltohb/xmltohb.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/targeting/xmltohb/xmltohb.pl')
-rwxr-xr-xsrc/usr/targeting/xmltohb/xmltohb.pl14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/usr/targeting/xmltohb/xmltohb.pl b/src/usr/targeting/xmltohb/xmltohb.pl
index e9fcaa4b1..c0eb36949 100755
--- a/src/usr/targeting/xmltohb/xmltohb.pl
+++ b/src/usr/targeting/xmltohb/xmltohb.pl
@@ -408,15 +408,15 @@ sub writeFapiPlatAttrMacrosHeaderFileContent {
{
if ($hwpfToHbAttrMap->{macro} ne "DIRECT")
{
- fatal("FAPI platInit attr '$hwpfToHbAttrMap->{id}' is '$hwpfToHbAttrMap->{macro}', it must be DIRECT");
+ fatal("FAPI non-platInit attr '$hwpfToHbAttrMap->{id}' is '$hwpfToHbAttrMap->{macro}', it must be DIRECT");
}
- # TODO Until kernel patch, they are in the volatile section
- if ($attribute->{persistency} ne "volatile")
- {
- fatal("FAPI platInit attr '$hwpfToHbAttrMap->{id}' is '$attribute->{persistency}', it must be volatile-zeroed");
- }
- }
+ if ($attribute->{persistency} ne "volatile-zeroed")
+ {
+ fatal("FAPI non-platInit attr '$hwpfToHbAttrMap->{id}' is '$attribute->{persistency}', it must be volatile-zeroed");
+ }
+
+ }
# All FAPI attributes are readable
$fapiReadable = 1;
OpenPOWER on IntegriCloud