Changeset c28413a9 in mainline for kernel/test/cht/cht1.c


Ignore:
Timestamp:
2012-11-20T18:50:04Z (12 years ago)
Author:
Adam Hraska <adam.hraska+hos@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ba368a6
Parents:
669f3d32
Message:

cht: Added cht_create_simple(). cht_create() can now block until memory is available.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/cht/cht1.c

    r669f3d32 rc28413a9  
    237237{
    238238        cht_t h;
    239         if (!cht_create(&h, 5, 0, 0, &val_ops))
     239        if (!cht_create_simple(&h, &val_ops))
    240240                return "Could not create the table.";
    241241       
     
    453453        cht_t h;
    454454       
    455         if (!cht_create(&h, 0, 0, 0, &stress_ops)) {
     455        if (!cht_create_simple(&h, &stress_ops)) {
    456456                TPRINTF("Failed to create the table\n");
    457457                return false;
Note: See TracChangeset for help on using the changeset viewer.