« Previous | Next » 

Revision bf3bc4c4

IDbf3bc4c4e992fb9914e2f1f7e8a569394d298b57

Added by Ben Herrenschmidt over 11 years ago

pseries: Use #define for XICS base irq number

Currently the lowest "real" irq number for the XICS irq controller (as
opposed to numbers reserved for IPIs and other special purposes) is
hard coded as 16 in two places - in xics_system_init() and in spapr.c.

As well as being generally bad practice, we're going to need to change this
number soon to fit in with the in-kernel XICS implementation. This patch
adds a #define for this number to avoid future breakage.

Signed-off-by: Michael Ellerman <>
Signed-off-by: Ben Herrenschmidt <>
Signed-off-by: David Gibson <>
Signed-off-by: Alexander Graf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences