nouveau: fix notifiers on PPC.

main
Stephane Marchesin 2007-09-21 22:27:53 +02:00
parent 74c6f2f47a
commit dc60c452e6
1 changed files with 4 additions and 1 deletions

View File

@ -37,9 +37,12 @@ nouveau_notifier_init_channel(struct nouveau_channel *chan)
int flags, ret;
/*TODO: PCI notifier blocks */
#if defined(__powerpc__)
if (dev_priv->agp_heap)
flags = NOUVEAU_MEM_AGP;
else if (dev_priv->pci_heap)
else
#endif
if (dev_priv->pci_heap)
flags = NOUVEAU_MEM_PCI;
else
flags = NOUVEAU_MEM_FB;