1. A method of handling an interrupt in a computer system, the method comprising: if the computer system is in a non-partitioned mode of operation, executing a first code portion and then executing a common mode-independent interrupt handler; and if the computer system is in a partitioned mode of operation, executing a second code portion and then executing the common mode-independent interrupt handler.