]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IA64] fix call of smp_processor_id() by XPC while
authorDean Nelson <dcn@sgi.com>
Wed, 13 Jul 2005 12:45:00 +0000 (05:45 -0700)
committerTony Luck <tony.luck@intel.com>
Wed, 13 Jul 2005 18:52:45 +0000 (11:52 -0700)
commit59a0a8aa6ab6e46926e8d12694593267c0869440
treee0ceb39701ee5018f95a44904dde6c7b7aa82068
parent7c2a6c62c013a4ea57243536fc7f3987e4ba04bc
[IA64] fix call of smp_processor_id() by XPC while

XPC calls smp_processor_id() twice from xpc_setup_infrastructure() with
preemption enabled, which gets flagged if 'DEBUG_PREEMPT=y'. This patch
replaces the two calls to smp_processor_id() by a single call to
raw_smp_processor_id() since any CPU within the partition will do.

Signed-off-by: Dean Nelson <dcn@sgi.com>
Acked-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/sn/kernel/xpc_channel.c