Changeset b4cad8b2 in mainline


Ignore:
Timestamp:
2005-12-15T16:25:05Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
10c071e
Parents:
80d2bdb
Message:

Less checking in kernel config,
allow DEADLOCK_DEBUG only for SMP.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel.config

    r80d2bdb rb4cad8b2  
    6060
    6161# Deadlock detection support for spinlocks
    62 ! [CONFIG_DEBUG=y] CONFIG_DEBUG_SPINLOCK (y/n)
     62! [CONFIG_DEBUG=y&CONFIG_SMP=y] CONFIG_DEBUG_SPINLOCK (y/n)
    6363
    6464## Run-time configuration directives
  • tools/config.py

    r80d2bdb rb4cad8b2  
    277277        condval = res.group(3)
    278278        if condname not in seen_vars:
    279             raise RuntimeError("Variable %s not defined before being asked." %\
    280                                condname)
    281         if not defaults.has_key(condname):
     279            varval = ''
     280##             raise RuntimeError("Variable %s not defined before being asked." %\
     281##                                condname)
     282        elif not defaults.has_key(condname):
    282283            raise RuntimeError("Condition var %s does not exist: %s" % \
    283284                               (condname,text))
    284 
     285        else:
     286            varval = defaults[condname]
    285287        if ctype == 'cnf':
    286             if oper == '=' and  condval == defaults[condname]:
     288            if oper == '=' and  condval == varval:
    287289                return True
    288             if oper == '!=' and condval != defaults[condname]:
     290            if oper == '!=' and condval != varval:
    289291                return True
    290292        else:
    291             if oper== '=' and condval != defaults[condname]:
     293            if oper== '=' and condval != varval:
    292294                return False
    293             if oper== '!=' and condval == defaults[condname]:
     295            if oper== '!=' and condval == varval:
    294296                return False
    295297    if ctype=='cnf':
Note: See TracChangeset for help on using the changeset viewer.